Class DialectInfo

java.lang.Object
com.broadleafcommerce.data.tracking.jpa.DialectInfo

public class DialectInfo extends Object
Given a class representing a notion of database "dialect", return whether or not a entity manager instances matches usage of that dialect.
Author:
Jeff Fischer
  • Field Details

    • HSQL

      public static final Class<?> HSQL
    • POSTGRES

      public static final Class<?> POSTGRES
    • MYSQL

      public static final Class<?> MYSQL
    • ORACLE

      public static final Class<?> ORACLE
  • Constructor Details

    • DialectInfo

      public DialectInfo()
  • Method Details

    • getDialectInfo

      public static Class<?> getDialectInfo(javax.persistence.EntityManager em)
    • isValid

      public static boolean isValid(Class<?> dialect, javax.persistence.EntityManager em)