| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | Returns: DDL for the current stored sequenceFully qualified name of the sequence fullName, String Name of the datatype of the sequence dataTypeName, long First value to use in the range of the sequence startValue, long Smallest value in the range minimumValue, long Largest value in the range maximumValue, long Step size of the sequence increment, String CYCLE or NO CYCLE cycleOption)Generate DDL for a specific sequence. |
| public static void | doSequences(Connection
Connection to the source database. conn)Generate the DDL for all sequences and output it via Logs.java. |
| private static String | stripNotNull(String datatypeName)
Strip the trailing NOT NULL off of the string representation of a datatype |
| DB_Sequence | back to summary |
|---|---|
| public DB_Sequence() | |
| createSequenceString | back to summary |
|---|---|
| private static String createSequenceString(String fullName, String dataTypeName, long startValue, long minimumValue, long maximumValue, long increment, String cycleOption) throws SQLException Generate DDL for a specific sequence.
| |
| doSequences | back to summary |
|---|---|
| public static void doSequences(Connection conn) throws SQLException Generate the DDL for all sequences and output it via Logs.java.
| |
| stripNotNull | back to summary |
|---|---|
| private static String stripNotNull(String datatypeName) Strip the trailing NOT NULL off of the string representation of a datatype | |