Skip to content

Commit

Permalink
update hibernate to 5.1.16.Final;change default dialect setting for m…
Browse files Browse the repository at this point in the history
…s sqlserver
  • Loading branch information
greenlaw110 committed Oct 30, 2018
1 parent 7e96a5f commit 7a8ce69
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 39 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<properties>
<scm.url>git@github.com:actframework/act-hibernate.git</scm.url>
<act-jpa-common.version>1.5.1</act-jpa-common.version>
<hibernate.version>5.1.14.Final</hibernate.version>
<hibernate.version>5.1.16.Final</hibernate.version>
</properties>

<scm>
Expand Down
2 changes: 0 additions & 2 deletions samples/teb-wildfly/.act.class-registry

This file was deleted.

1 change: 0 additions & 1 deletion samples/teb-wildfly/.act.id-app

This file was deleted.

Binary file removed samples/teb-wildfly/.act.metric
Binary file not shown.
33 changes: 0 additions & 33 deletions samples/teb-wildfly/.act.plugins

This file was deleted.

4 changes: 2 additions & 2 deletions src/main/java/act/db/hibernate/HibernatePlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public static String getDefaultDialect(Map<String, String> dbConfig, String driv
return "org.hibernate.dialect.Oracle10gDialect";
} else if ("com.sybase.jdbc2.jdbc.SybDriver".equals(driver)) {
return "org.hibernate.dialect.SybaseAnywhereDialect";
} else if ("com.microsoft.jdbc.sqlserver.SQLServerDriver".equals(driver)) {
return "org.hibernate.dialect.SQLServerDialect";
} else if ("com.microsoft.sqlserver.jdbc.SQLServerDriver".equals(driver)) {
return "org.hibernate.dialect.SQLServer2005Dialect";
} else if ("com.sap.dbtech.jdbc.DriverSapDB".equals(driver)) {
return "org.hibernate.dialect.SAPDBDialect";
} else if ("com.informix.jdbc.IfxDriver".equals(driver)) {
Expand Down

0 comments on commit 7a8ce69

Please sign in to comment.