Class DBResourceUtil

Object
com.liferay.portal.db.DBResourceUtil

public class DBResourceUtil extends Object
Author:
Mariano Álvaro Sáiz
  • Constructor Details

    • DBResourceUtil

      public DBResourceUtil()
  • Method Details

    • getModuleIndexesSQL

      public static String getModuleIndexesSQL(org.osgi.framework.Bundle bundle)
    • getModuleSequencesSQL

      public static String getModuleSequencesSQL(org.osgi.framework.Bundle bundle)
    • getModuleTableNames

      public static Set<String> getModuleTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • getModuleTablesPrimaryKeyColumnNames

      public static Map<String,String[]> getModuleTablesPrimaryKeyColumnNames(org.osgi.framework.Bundle bundle)
    • getModuleTablesSQL

      public static String getModuleTablesSQL(org.osgi.framework.Bundle bundle)
    • getPortalIndexesSQL

      public static String getPortalIndexesSQL()
    • getPortalTableNames

      public static Set<String> getPortalTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • getPortalTablesPrimaryKeyColumnNames

      public static Map<String,String[]> getPortalTablesPrimaryKeyColumnNames()
    • getPortalTablesSQL

      public static String getPortalTablesSQL()
    • getServiceComponentModuleTableNames

      public static Set<String> getServiceComponentModuleTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • getServiceComponentPortalTableNames

      public static Set<String> getServiceComponentPortalTableNames(Connection connection) throws Exception
      Throws:
      Exception
    • parseCreateTableSQL

      public static Set<String> parseCreateTableSQL(com.liferay.portal.kernel.dao.db.DBInspector dbInspector, String createTableSQL) throws SQLException
      Throws:
      SQLException