|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GenOrmConnection
| Method Summary | |
|---|---|
boolean |
addToTransaction(GenOrmRecord goi)
Returns true if the record was added to a transaction returns false if there is no transaction |
void |
close()
|
void |
commit()
|
java.sql.Statement |
createStatement()
|
void |
flush()
Flush all modified records that are part of the current transaction |
GenOrmRecord |
getCachedRecord(GenOrmRecordKey key)
Returns the cached record if it exists, null otherwise |
java.sql.Connection |
getConnection()
|
GenOrmKeyGenerator |
getKeyGenerator(java.lang.String table)
|
java.lang.Object |
getProperty(java.lang.String name)
Gets a property set on this connection |
GenOrmRecord |
getUniqueRecord(GenOrmRecord rec)
Returns a unique record instance for this transaction. |
boolean |
isCommitted()
|
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
|
void |
rollback()
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Sets a property to be associated with this connection |
| Method Detail |
|---|
void setProperty(java.lang.String name,
java.lang.Object value)
java.lang.Object getProperty(java.lang.String name)
GenOrmRecord getUniqueRecord(GenOrmRecord rec)
GenOrmRecord getCachedRecord(GenOrmRecordKey key)
void flush()
void commit()
boolean isCommitted()
void close()
void rollback()
java.sql.Connection getConnection()
GenOrmKeyGenerator getKeyGenerator(java.lang.String table)
boolean addToTransaction(GenOrmRecord goi)
java.sql.Statement createStatement()
throws java.sql.SQLException
java.sql.SQLException
java.sql.PreparedStatement prepareStatement(java.lang.String sql)
throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||