|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lexevs.dao.database.connection.SQLHistoryInterface
public class SQLHistoryInterface
Code to access the specific sql tables for a terminology. Multiple instances of this class may use the same SQLInterfaceBase (in SINGLE_DB_MODE)
Constructor Summary | |
---|---|
SQLHistoryInterface(javax.sql.DataSource dataSource,
DatabaseType databaseType,
java.lang.String tablePrefix)
Instantiates a new sQL history interface. |
Method Summary | |
---|---|
void |
checkInPreparedStatement(java.sql.PreparedStatement statement)
Check in prepared statement. |
java.sql.PreparedStatement |
checkOutPreparedStatement(java.lang.String sql)
Check out prepared statement. |
void |
dropTables()
Drop tables. |
java.lang.String |
getKey()
Gets the key. |
protected LgLoggerIF |
getLogger()
Gets the logger. |
SQLTableConstants |
getSQLTableConstants()
Gets the sQL table constants. |
SQLTableUtilities |
getSQLTableUtilities()
Deprecated. |
java.lang.String |
getTableName(java.lang.String tableKey)
Gets the table name. |
java.lang.String |
getTablePrefix()
Return the table prefix that this SQL Interface is accessing. |
java.sql.PreparedStatement |
modifyAndCheckOutPreparedStatement(java.lang.String sql)
Modify and check out prepared statement. |
void |
setKey(java.lang.String key)
Sets the key. |
boolean |
supports2009Model()
Supports2009 model. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLHistoryInterface(javax.sql.DataSource dataSource, DatabaseType databaseType, java.lang.String tablePrefix)
dataSource
- the data sourcedatabaseType
- the database typetablePrefix
- the table prefixMethod Detail |
---|
protected LgLoggerIF getLogger()
@Deprecated public SQLTableUtilities getSQLTableUtilities()
public boolean supports2009Model()
public SQLTableConstants getSQLTableConstants()
public java.lang.String getTableName(java.lang.String tableKey)
tableKey
- the table key
public java.sql.PreparedStatement modifyAndCheckOutPreparedStatement(java.lang.String sql) throws java.sql.SQLException
sql
- the sql
java.sql.SQLException
- the SQL exceptionpublic java.sql.PreparedStatement checkOutPreparedStatement(java.lang.String sql) throws java.sql.SQLException
sql
- the sql
java.sql.SQLException
- the SQL exceptionpublic void checkInPreparedStatement(java.sql.PreparedStatement statement)
statement
- the statementpublic void dropTables() throws java.sql.SQLException
java.sql.SQLException
- the SQL exceptionpublic java.lang.String getTablePrefix()
public void setKey(java.lang.String key)
key
- the new keypublic java.lang.String getKey()
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |