Skip to content

Commit

Permalink
define hibernate.dialect
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgeLeonelMatos committed Oct 31, 2018
1 parent 8d65e3c commit e1c38d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<persistence-unit name="OrderServicePersistenceUnit" transaction-type="JTA">
<jta-data-source>java:jboss/datasources/OrderDS</jta-data-source>
<properties>
<property name="hibernate.dialect" value="mysql"/>
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
<property name="javax.persistence.schema-generation.database.action" value="drop-and-create"/>
<property name="javax.persistence.schema-generation.create-source" value="metadata"/>
<property name="javax.persistence.schema-generation.drop-source" value="metadata"/>
Expand Down
3 changes: 0 additions & 3 deletions ticket-msa/order/src/main/resources/project-defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ swarm:
connection-url: jdbc:mysql://${env.MYSQL_HOST:mysql}:3306/inventory?useSSL=false
user-name: mysqluser
password: mysqlpw


hibernate.dialect: mysql

0 comments on commit e1c38d6

Please sign in to comment.