|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.makumba.db.makumba.Table org.makumba.db.makumba.sql.TableManager org.makumba.db.makumba.sql.OdbcjetTableManager
public class OdbcjetTableManager
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.makumba.db.makumba.sql.TableManager |
---|
TableManager.CatalogChecker, TableManager.CheckingStrategy |
Field Summary |
---|
Fields inherited from class org.makumba.db.makumba.sql.TableManager |
---|
admin, alter, checkDuplicate, checkNullDuplicate, dbsv, exists_, extraIndexes, foreignKeys, handlerExist, handlerList, handlerListAutoIncrement, indexDBField, indexes, indexField, keyIndex, modTable, parsedForeignKeys, preparedDeleteFromIgnoreDbsvString, preparedDeleteFromString, preparedDeleteString, preparedInsertAutoIncrementString, preparedInsertString, primaryKeyCurrentIndex, sqlDateFormat, tbname |
Fields inherited from class org.makumba.db.makumba.Table |
---|
dd |
Constructor Summary | |
---|---|
OdbcjetTableManager()
|
Method Summary | |
---|---|
protected void |
create(SQLDBConnection dbc,
String tblname,
boolean really)
a table creation, from this table's RecordInfo |
Object |
get_text_Value(String fieldName,
ResultSet rs,
int i)
get the java value of the recordSet column corresponding to this field. |
protected String |
getFieldDBType(String fieldName)
what is the database level type of this field? |
protected void |
indexCreated(SQLDBConnection dbc)
for odbc |
void |
setArgument(String fieldName,
PreparedStatement ps,
int n,
Object o)
set a non-null argument of this type in a prepared SQL statement |
void |
setNullArgument(String fieldName,
PreparedStatement ps,
int n)
set a null argument of this type in a prepared SQL statement |
protected boolean |
unmodified(String fieldName,
int type,
int size,
Vector<Hashtable<String,Object>> columns,
int index)
check if the column from the SQL database (read from the catalog) still corresponds with the abstract definition of this field |
String |
writeConstant(String fieldName,
Object o)
stupdid odbc needs a {ts 'date'} format when writing date constants |
Methods inherited from class org.makumba.db.makumba.Table |
---|
getDatabase, getDataDefinition, getFieldDefinition, getRelatedTable, insertRecord, setDataDefinition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OdbcjetTableManager()
Method Detail |
---|
protected void create(SQLDBConnection dbc, String tblname, boolean really) throws SQLException
TableManager
create
in class TableManager
SQLException
protected void indexCreated(SQLDBConnection dbc)
TableManager
indexCreated
in class TableManager
protected boolean unmodified(String fieldName, int type, int size, Vector<Hashtable<String,Object>> columns, int index) throws SQLException
TableManager
unmodified
in class TableManager
SQLException
public String writeConstant(String fieldName, Object o)
writeConstant
in class TableManager
public void setNullArgument(String fieldName, PreparedStatement ps, int n) throws SQLException
TableManager
setNullArgument
in class TableManager
SQLException
public void setArgument(String fieldName, PreparedStatement ps, int n, Object o) throws SQLException
TableManager
setArgument
in class TableManager
SQLException
protected String getFieldDBType(String fieldName)
TableManager
getFieldDBType
in class TableManager
public Object get_text_Value(String fieldName, ResultSet rs, int i) throws SQLException
get_text_Value
in class TableManager
SQLException
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |