public class H2BeanSession extends AnsiSQLBeanSession
AnsiSQLBeanSession.QueryAndValues, AnsiSQLBeanSession.ValuebeanManager, conn, DEBUG, DEBUG_NATIVE, dispatcher, loadedINSERT, UPDATE| Constructor and Description |
|---|
H2BeanSession(BeanManager beanManager,
Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCurrentTimestampCommand()
Get the command representing 'now' in this database.
|
protected String |
getDatabaseType(DBType<?> dbType)
Each dialect can override this to return the database column type it supports other than the ANSI standard.
|
protected StringBuilder |
handleLimit(StringBuilder sb,
OrderBy orderBy,
Limit limit)
Some databases will sort before applying the limit (MySql), others will not (Oracle).
|
void |
insert(Object bean)
Insert the bean in the database.
|
protected boolean |
isVarcharUnlimitedSupported()
Each dialect can override this to return true if the VARCHAR type supports unlimited size
|
addTrigger, bindToInsertStatement, buildQuery, buildSelect, buildSelect, buildSelect, buildSelect, buildSelectImpl, buildSelectMinus, buildSelectMinus, buildTableName, compareDifferences, countList, createBasicInstance, createPKConstraintQuery, createTable, createTableAlias, createTableAlias, createTables, debugNativeSql, debugSql, delete, deleteAll, dispatchAfterDelete, dispatchAfterInsert, dispatchAfterUpdate, dispatchBeforeDelete, dispatchBeforeInsert, dispatchBeforeUpdate, dispatchTrigger, dropTable, getConfigFor, getConnection, getProperties, getPropertyBean, getValueFromBean, getValueFromBean, injectValue, isSet, load, load, loadImpl, loadList, loadList, loadList, loadList, loadList, loadList, loadList, loadList, loadListMinus, loadListMinus, loadListMinus, loadListMinus, loadMinus, loadUnique, loadUnique, loadUniqueImpl, loadUniqueMinus, populateBean, populateBean, populateBean, populateBean, populateBeanImpl, populateBeanMinus, populateBeanMinus, prepareInsertQuery, propertyToColumn, propertyToColumn, propertyToColumn, removeTrigger, save, save, saveAll, secureLoadUnique, update, updateAll, updateDiffpublic H2BeanSession(BeanManager beanManager, Connection conn)
protected String getCurrentTimestampCommand()
AnsiSQLBeanSessiongetCurrentTimestampCommand in class AnsiSQLBeanSessionprotected StringBuilder handleLimit(StringBuilder sb, OrderBy orderBy, Limit limit)
AnsiSQLBeanSessionhandleLimit in class AnsiSQLBeanSessionprotected String getDatabaseType(DBType<?> dbType)
AnsiSQLBeanSessiongetDatabaseType in class AnsiSQLBeanSessionpublic void insert(Object bean)
BeanSessioninsert in interface BeanSessioninsert in class AnsiSQLBeanSessionbean - The bean to insertprotected boolean isVarcharUnlimitedSupported()
AnsiSQLBeanSessionisVarcharUnlimitedSupported in class AnsiSQLBeanSessionCopyright © 2016. All Rights Reserved.