hibernate支持的数据库-转载

Supported Databases

版本 1 
创建于: 2009-8-7 上午5:33 作者  Anthony Patricio  - 最后修改:   2010-3-15 上午4:49 作者  Anthony Patricio

This page is maintained by the Hibernate user community! See Hibernate Certified JDBC drivers and Database Management Systems if you are looking for database management systems and drivers that have been certified by JBoss.

Please click "Edit this page" and share your experiences!

 

Hibernate is regularly tested with the following SQL databases, either by Hibernate developers, or in regular QA in the Hibernate product lifecycle:

  • Oracle 8i, 9i, 10g
  • DB2 7.1, 7.2, 8.1, 9.1
  • Microsoft SQL Server 2000
  • Sybase 12.5 (JConnect 5.5)
  • MySQL 3.23, 4.0, 4.1, 5.0
  • PostgreSQL 7.1.2, 7.2, 7.3, 7.4, 8.0, 8.1
  • TimesTen 5.1, 6.0
  • HypersonicSQL 1.61, 1.7.0, 1.7.2, 1.7.3, 1.8
  • SAP DB 7.3
  • InterSystems Cache' 2007.1

 

Hibernate has also been tested with and is believed to be compatible with current versions of:

  • Apache Derby
  • HP NonStop SQL/MX 2.0 (requires Dialect from HP)
  • Firebird (1.5 with JayBird 1.01 tested)
  • FrontBase
  • Informix
  • Ingres
  • Interbase (6.0.1 tested)
  • Mckoi SQL
  • Pointbase Embedded (4.3 tested)
  • Progress 9
  • Microsoft Access version from 95, 97, 2000, XP, 2002, to 2003 (requires Dialect from HXTT)
  • Corel Paradox version from 3.0, 3.5, 4.x, 5.x, 7.x to 11.x (requires Dialect from HXTT)
  • flat text , CSV file, TSV file, fixed-length, and variable-length binary file (requires Dialect from HXTT)
  • Xbase database (dbase, Visual DBASE, SIx Driver, SoftC, Codebase, Clipper, Foxbase, Foxpro, VFP(3.0,5.0,7.0,8.0,9.0, 10), xHarbour, Halcyon, Apollo, Goldmine, and BDE) (requires Dialect from HXTT)
  • Microsoft Excel version from 5.0, 95, 97, 98, 2000, 2001, 2002, 2003, to 2004 (requires Dialect from HXTT)

 

 

It is highly likely that most features of Hibernate (i.e. everything except DDL schema generation) will work perfectly with many other relational databases. You may easily add a new SQL dialect by extending the existing dialects. Keep in mind that some features of the query language are not supported for databases which do not have subqueries.


 

DB2

License: Commercial
URL: http://www.ibm.com/db2
Issues: On iSeries use V5R1 or later, which allows key mappings containing file.name. Remove schema reference from mappings for *LIBL on iSeries.
  When using type 4 driver with binary columns, set deferPrepares = false. see http://www-1.ibm.com/support/docview.wss?rs=457&context=SSBRLP&dc=DB520&uid=swg21216635&loc=en_US&cs=UTF-8&lang=en&rss=ct457websphere

 

Firebird

License: Open Source based on the commercial Interbase
URL: http://www.firebirdsql.org/
Issues: Offers many ANSI SQL-92 features, runs on Linux, Windows, and a variety of Unix platforms. Excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. JDBC type 4 driver with excellent support. DDL statements cannot be executed when there is more than one open JDBC connection. PreparedStatement caching is impossible! Firebird InterClient 2.01 is strongly recommended in preference to other versions of Interbase Interclient. Its also worth trying the latest pure Java "JayBird" driver (http://www.ibphoenix.com).

 

FrontBase

License: n/a
URL: http://www.frontbase.com/cgi-bin/WebObjects/FrontBase
Issues: n/a

 

HP NonStop SQL/MX

License: Commercial
URL: http://h20223.www2.hp.com/nonstopcomputing/cache/81318-0-0-225-121.aspx
Issues: Release 2.0 of SQL/MX runs the ant eg script successfully An extended version of the Hibernate .jar must be created with an extended properties file, available from Sanjib.Guhathakurta@hp.com.

 

HypersonicSQL

License: Open Source
URL: http://hsqldb.sourceforge.net/
Issues: Pure Java, no subselects, has issues with case-sensitivity and missing quotes in generated SQL. Only integers can be used for the "native" generator in current versions (this is fixed in HSQL CVS).

 

Informix

License: Commercial
URL: http://www-306.ibm.com/software/data/informix/
Issues:  

 

Ingres

License: Open Source
URL: http://www.ingres.com
Issues: see http://www.hibernate.org/382.html for list of current issues.

 

Interbase

License: n/a
URL: http://www.borland.com/interbase/
Issues: n/a

 

Microsoft SQL Server

License: Commercial
URL: http://www.microsoft.com/sqlserver/
Issues: jTDS, open source, LGPL: also used with Sybase.  May also work with SQL Server 6.5 and 7.

 

MySQL

License: Open Source
URL: http://www.mysql.com/
Issues: No subselects in "current" versions (subselect support is currently in beta). No transactions with MyISAM tables, only with InnoDB tables (consider changing the default for your databases). The Caucho JDBC driver does not work.

 

Oracle

License: Commercial
URL: http://technet.oracle.com/
URL: http://www.oracle.com/technology/software/products/timesten/index.html
Issues: Do not use JDBC drivers before version 9.2.0.3 for Oracle 9. These drivers have a round-off bug which strips off any number with decimals (e.g. from 666.67 to 666.0). Oracle JDBC drivers have extremely bad support for large text or binary columns. At least some versions of the Oracle 9i driver handle JDBC timestamps extremely badly - do not use timestamps for optimistic locking, use version numbers.

 

Pointbase

License: n/a
URL: http://www.pointbase.com/
Issues: n/a

 

PostgreSQL

License: Open Source
URL: http://www.postgresql.org
Issues: Problems with the use of index for the 'bigint' type, details here. Support for user-defined data types (UDT), see here.

 

SAP DB

License: Open Source
URL: http://www.sapdb.org
Issues: n/a

 

Sybase

License: Open Source
URL: http://www.sybase.com/
Issues: jTDS, open source, LGPL: also used with Microsoft SQL Server.

 

MS Access, Corel Paradox, CSV, plain text, Xbase database, MS Excel

License: Commercial
URL: http://www.hxtt.com/hibernate.html
Issues: n/a

 

InterSystems Cache'

License: Commercial
URL: http://www.intersystems.com
Issues: version 2007.1 is certified; use version 2007.1 or later; please contact InterSystems for dialects for earlier versions of Cache'.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值