Hibernate the connection dialect of each database

Source: Internet
Author: User
Tags db2 microsoft sql server mysql postgresql org sybase
<session-factory> <property name= "Connection.driver_class" >net.sourceforge.jtds.jdbc.driver</ property> <property name= "Connection.url" >jdbc:jtds:sqlserver://ALEX:1134/News</property> <!-- For Oracle 9 <property name= "dialect" >org.hibernate.dialect.Oracle9Dialect</property>--> <!--  For Mysql <property name= "dialect" >org.hibernate.dialect.MySQLDialect</property>--> <!--for Ms SQL server--> <property name= "dialect" >org.hibernate.dialect.SQLServerDialect</property> <proper Ty name= "Connection.username" >sa</property> <property name= "Connection.password" >sa</property > <property name= "show_sql" >true</property> </session-factory> RDBMS dialect DB2 org.hibe Rnate.dialect.DB2Dialect DB2 as/400 org.hibernate.dialect.DB2400Dialect DB2 OS390 Alect PostgreSQL Org.hibernate.dialect.PosTgresqldialect MySQL org.hibernate.dialect.MySQLDialect mysql with InnoDB org.hibernate.dialect.MySQLInnoDBDialect MySQL with MyISAM org.hibernate.dialect.MySQLMyISAMDialect Oracle (any version) Org.hibernate.dialect.OracleDiale CT Oracle 9i/10g org.hibernate.dialect.Oracle9Dialect Sybase org.hibernate.dialect.SybaseDialect Sybase ANYW  Here Org.hibernate.dialect.SybaseAnywhereDialect Microsoft SQL Server org.hibernate.dialect.SQLServerDialect SAP DB org.hibernate.dialect.SAPDBDialect Informix org.hibernate.dialect.InformixDialect hypersonicsql Org.hiberna   
 
Te.dialect.HSQLDialect Ingres org.hibernate.dialect.IngresDialect Progress org.hibernate.dialect.ProgressDialect Mckoi SQL org.hibernate.dialect.MckoiDialect interbase org.hibernate.dialect.InterbaseDialect pointbase or G.hibernate.dialect.pointbasedialect frontbase Org.hibernate.dialect.FrontbaseDialect Firebird Org.hibernate.dia Lect.  Firebirddialect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.