Hibernate dialect property: Specifies the SQL dialect of the database
•
Java
hibernate. Dialect = attribute value
Example 1
<property name="hibernate.dialect"> org.hibernate.dialect.sqlServerDialect </property>
hibernate.dialect=org.hibernate.dialect.sqlServerDialect
Example 2
<property name="hibernate.dialect"> org.hibernate.dialect.MysqLDialect </property>
hibernate.dialect=org.hibernate.dialect.MysqLDialect
Example 3
<property name="hibernate.dialect"> org.hibernate.dialect.Oracle9Dialect </property>
hibernate.dialect=org.hibernate.dialect.Oracle9Dialect
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码