HIBERNATE  |  Register  | 
      SEARCH: 
   
News 
Features 
Documentation 
   Related Projects 
   External Documentation 
Download 
Forum & Mailinglists 
Support 
JIRA Issue Tracking
Wiki Community Area


JBoss.org



middlegen

JIRA Issue Tracking




      
Documentation > Compatibility Guide

Compatibility Guide

Hibernate requires JDK 1.2 or later (some people have run successfully under 1.1.8) and has been tested with the following relational databases

  • DB2 7.1, 7.2, 8.1
  • MySQL 3.23
  • PostgreSQL 7.1.2, 7.2, 7.3
  • Oracle 8i, 9i
  • Sybase 12.5 (JConnect 5.5)
  • Interbase 6.0.1 (Open Source) with Firebird InterClient 2.01
  • HypersonicSQL 1.61, 1.7.0
  • Microsoft SQL Server 2000
  • Mckoi SQL 0.93
  • Progress 9
  • Pointbase Embedded 4.3
  • SAP DB 7.3

and is also thought to be compatible with the latest versions of

  • Informix
  • Ingres
  • FrontBase

It is highly likely that most features of Hibernate (ie. everything except schema generation) will work perfectly with many other relational databases.

Known Issues (JDBC)

1) Some features of the query language are not supported for databases which do not have subqueries.

3) 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.

4) Microsoft SQL Server does not ship with a JDBC driver. Various third party drivers are available, some (but not all) of which do work. The following drivers are known to work:

It is quite likely that you will be able to use either of the following two drivers (which actually appear to be the same driver) successfully:

but there are some weird date-handling issues with these drivers, so they are not officially supported. Don't bother with the DataDirect SequeLink driver; it has very serious problems.

5) MySQL support is via the connector/j (mm-mysql) driver. The Caucho driver does not work.

Known Issues (JNDI)

If you wish to keep the SessionFactory in JNDI, you should make sure that your JNDI implementation supports correct behaviour for instances of Referenceable. This is not a compulsory part of the JNDI spec, so Hibernate will also work with most JNDI servers that only support Serializable objects. However, this is not officially supported.

Hibernate is known to work with the following JNDI implementations

  • Sun's (free) FSContext.jar
  • JBoss
  • WebSphere
  • Orion
  • Resin (?)

WebLogic Server's JNDI implementation is known to be incompatible with Hibernate. Questions regarding this issue should be directed to BEA, since it it due to their lack of support for a fairly non-exotic part of the JNDI spec.

      

coWiki web collaboration