org.meta2project.storage.init
Class InitTables

java.lang.Object
  extended by org.meta2project.storage.init.InitTables

public class InitTables
extends java.lang.Object

Author:
Anton Malykh

Field Summary
protected static java.util.logging.Logger logger
           
 
Constructor Summary
InitTables()
           
 
Method Summary
protected static long getIdentity(java.sql.Connection con, Dialect dialect, java.lang.String table)
           
static java.util.List<Table> getInitTables()
           
static void initTables(javax.sql.DataSource ds, Dialect dialect)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final java.util.logging.Logger logger
Constructor Detail

InitTables

public InitTables()
Method Detail

getInitTables

public static java.util.List<Table> getInitTables()

initTables

public static void initTables(javax.sql.DataSource ds,
                              Dialect dialect)
                       throws java.lang.Exception
Throws:
java.lang.Exception

getIdentity

protected static long getIdentity(java.sql.Connection con,
                                  Dialect dialect,
                                  java.lang.String table)
                           throws java.sql.SQLException
Throws:
java.sql.SQLException