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