Package org.apache.openjpa.jdbc.sql

Examples of org.apache.openjpa.jdbc.sql.DB2Dictionary


        dbType = getDBType(em);

        DBDictionary dict = getDBDictionary();
    Class<?>[] expDB2ExClass = ExpectingOptimisticLockExClass;
    if (DB2Dictionary.class.isAssignableFrom(dict.getClass())) {
      DB2Dictionary db2dict = (DB2Dictionary) dict;
      if ((db2dict.getDB2MajorVersion() * 100 + db2dict.getDB2MinorVersion()) > 905)
        expDB2ExClass = null;
    }
        expWriteLockExClasses = new HashMap<DBType,Class<?>[]>();
        expWriteLockExClasses.put(DBType.db2, expDB2ExClass);
        expWriteLockExClasses.put(DBType.derby, ExpectingOptimisticLockExClass);
View Full Code Here

TOP

Related Classes of org.apache.openjpa.jdbc.sql.DB2Dictionary

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.