Class OracleUtilities


  • public class OracleUtilities
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OracleUtilities()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String createName​(java.lang.String name, java.lang.String suffix)  
      static boolean existsTable​(java.sql.Connection connection, java.lang.String schemaName, java.lang.String tableName)  
      static void gatherTableStatistic​(java.sql.Connection connection, java.lang.String schemaName, java.lang.String tableName)  
      static net.anwiba.commons.jdbc.name.IDatabaseTableName getIndexName​(java.sql.Connection connection, java.lang.String schemaName, java.lang.String tableName, java.lang.String columnName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OracleUtilities

        public OracleUtilities()
    • Method Detail

      • gatherTableStatistic

        public static void gatherTableStatistic​(java.sql.Connection connection,
                                                java.lang.String schemaName,
                                                java.lang.String tableName)
                                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • createName

        public static java.lang.String createName​(java.lang.String name,
                                                  java.lang.String suffix)
      • getIndexName

        public static net.anwiba.commons.jdbc.name.IDatabaseTableName getIndexName​(java.sql.Connection connection,
                                                                                   java.lang.String schemaName,
                                                                                   java.lang.String tableName,
                                                                                   java.lang.String columnName)
                                                                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • existsTable

        public static boolean existsTable​(java.sql.Connection connection,
                                          java.lang.String schemaName,
                                          java.lang.String tableName)
                                   throws java.sql.SQLException
        Throws:
        java.sql.SQLException