Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.directory.sql
Class HibernateDialectHelper

java.lang.Object
  extended by org.nuxeo.ecm.directory.sql.HibernateDialectHelper

public class HibernateDialectHelper
extends java.lang.Object

There DialectFactory class has been changed between hibernate 3.3.1 and 3.3.2 Because JBoss AS 5.1 comes with 3.3.1 and JBoss EAP comes with 3.3.2, this helper class is needed to do the indirection.

Author:
tiry

Constructor Summary
HibernateDialectHelper()
           
 
Method Summary
static Dialect buildDialect(java.lang.String dialectName)
           
static Dialect determineDialect(java.sql.DatabaseMetaData metadata)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateDialectHelper

public HibernateDialectHelper()
Method Detail

buildDialect

public static Dialect buildDialect(java.lang.String dialectName)
                            throws DirectoryException
Throws:
DirectoryException

determineDialect

public static Dialect determineDialect(java.sql.DatabaseMetaData metadata)
                                throws DirectoryException
Throws:
DirectoryException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.