|
|
@ -31,7 +31,7 @@ public class DataSourceConfigHom {
|
|
|
|
@ConfigurationProperties("app.datasource.primary.configuration")
|
|
|
|
@ConfigurationProperties("app.datasource.primary.configuration")
|
|
|
|
public DataSource primaryDataSource() {
|
|
|
|
public DataSource primaryDataSource() {
|
|
|
|
var bean = new JndiObjectFactoryBean();
|
|
|
|
var bean = new JndiObjectFactoryBean();
|
|
|
|
bean.setJndiName("jdbc:/postgres-homologacao");
|
|
|
|
bean.setJndiName("jdbc/postgres-homologacao");
|
|
|
|
bean.setProxyInterface(DataSource.class);
|
|
|
|
bean.setProxyInterface(DataSource.class);
|
|
|
|
bean.setLookupOnStartup(false);
|
|
|
|
bean.setLookupOnStartup(false);
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|