Skip to content

Commit

Permalink
#37 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dadrus committed Jun 17, 2018
1 parent b47fef8 commit ed079a4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ public SqlDbConfiguration(final PersistenceUnitDescriptor descriptor) {
public static boolean isSupported(final PersistenceUnitDescriptor descriptor) {
final Map<String, Object> dbConfig = descriptor.getProperties();

return dbConfig.containsKey("javax.persistence.jdbc.driver") && dbConfig.containsKey("javax.persistence.jdbc.url")
&& dbConfig.containsKey("javax.persistence.jdbc.user") && dbConfig.containsKey("javax.persistence.jdbc.password");
return dbConfig.containsKey("javax.persistence.jdbc.driver") && dbConfig.containsKey("javax.persistence.jdbc.url");
}

public DataSource createDataSource() {
Expand Down

0 comments on commit ed079a4

Please sign in to comment.