public class PostgreSQLBeanSession extends AnsiSQLBeanSession
AnsiSQLBeanSession.QueryAndValues, AnsiSQLBeanSession.ValuebeanManager, conn, DEBUG, DEBUG_NATIVE, dispatcher, loadedINSERT, UPDATE| Constructor and Description |
|---|
PostgreSQLBeanSession(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)
PostgreSQL will sort first then apply limit
|
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 PostgreSQLBeanSession(BeanManager beanManager, Connection conn)
protected String getCurrentTimestampCommand()
AnsiSQLBeanSessiongetCurrentTimestampCommand in class AnsiSQLBeanSessionprotected StringBuilder handleLimit(StringBuilder sb, OrderBy orderBy, Limit limit)
handleLimit in class AnsiSQLBeanSessionpublic void insert(Object bean)
BeanSessioninsert in interface BeanSessioninsert in class AnsiSQLBeanSessionbean - The bean to insertprotected boolean isVarcharUnlimitedSupported()
AnsiSQLBeanSessionisVarcharUnlimitedSupported in class AnsiSQLBeanSessionprotected String getDatabaseType(DBType<?> dbType)
AnsiSQLBeanSessiongetDatabaseType in class AnsiSQLBeanSessionCopyright © 2016. All Rights Reserved.