A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addFieldDef(String, FieldDef) - Method in class net.jextra.fauxjo.beandef.BeanDef
- addHome(Class<?>, Home<?>) - Method in class net.jextra.fauxjo.HomeGroup
- addListener(StatementCacheListener) - Method in class net.jextra.fauxjo.StatementCache
- addTypeCoercer(Class<T>, TypeCoercer<T>) - Method in class net.jextra.fauxjo.coercer.Coercer
B
- BeanBuilder<T> - Class in net.jextra.fauxjo
-
Converts a ResultSet into
Fauxjobeans. - BeanBuilder(Class<T>) - Constructor for class net.jextra.fauxjo.BeanBuilder
- BeanBuilder(Class<T>, boolean) - Constructor for class net.jextra.fauxjo.BeanBuilder
- BeanDef - Class in net.jextra.fauxjo.beandef
-
Represents the result of processing the annotations on the Fauxjo bean class.
- BeanDef() - Constructor for class net.jextra.fauxjo.beandef.BeanDef
- BeanDefCache - Class in net.jextra.fauxjo.beandef
- BeanDefCache() - Constructor for class net.jextra.fauxjo.beandef.BeanDefCache
- BigDecimalCoercer - Class in net.jextra.fauxjo.coercer
- BigDecimalCoercer() - Constructor for class net.jextra.fauxjo.coercer.BigDecimalCoercer
- BigIntegerCoercer - Class in net.jextra.fauxjo.coercer
- BigIntegerCoercer() - Constructor for class net.jextra.fauxjo.coercer.BigIntegerCoercer
- buildBasicSelect(String) - Method in class net.jextra.fauxjo.Home
- buildBasicSelectStatement(String) - Method in class net.jextra.fauxjo.Table
- buildBean(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
- buildBean(ResultSet) - Method in interface net.jextra.fauxjo.ResultSetIterator.Builder
- buildBean(Map<String, Object>) - Method in class net.jextra.fauxjo.BeanBuilder
- buildBeans(Collection<T>, ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
- buildBeans(Collection<T>, ResultSet, int) - Method in class net.jextra.fauxjo.BeanBuilder
- buildKeyValueString() - Method in class net.jextra.fauxjo.bean.Fauxjo
- ByteCoercer - Class in net.jextra.fauxjo.coercer
- ByteCoercer() - Constructor for class net.jextra.fauxjo.coercer.ByteCoercer
C
- Callable - net.jextra.fauxjo.StatementCacheListener.StmtType
- clear() - Method in class net.jextra.fauxjo.StatementCache
-
Closes and removes all Listeners, PreparedStatements and PreparedCalls for the active Thread.
- clear(Connection) - Method in class net.jextra.fauxjo.StatementCache
- clearedStmtCacheForConn(StatementCache.Config, Thread, Long) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
StatementCache.clear(Connection) was called so its StmtCache was released.
- clearedStmtCacheMapForThread(StatementCache.Config, Thread) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
StatementCache.clear was called so its listeners, StmtCacheMap and StmtCaches have been released.
- close() - Method in class net.jextra.fauxjo.ResultSetIterator
- close() - Method in class net.jextra.fauxjo.transaction.DummyTransaction
- close() - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- close() - Method in class net.jextra.fauxjo.transaction.Transaction
-
This should usually be called in a finally block, or anywhere it is unknown if a
Transaction.commit()orTransaction.rollback()has been called. - close() - Method in interface net.jextra.fauxjo.transaction.TransactionInterface
- closeWrapped() - Method in interface net.jextra.fauxjo.StatementCache.ProxyCloser
- Coercer - Class in net.jextra.fauxjo.coercer
-
General use tool that coerces one value type to another value type.
- Coercer() - Constructor for class net.jextra.fauxjo.coercer.Coercer
- ColumnInfo(String, int) - Constructor for class net.jextra.fauxjo.Table.ColumnInfo
- commit() - Method in class net.jextra.fauxjo.transaction.DummyTransaction
- commit() - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- commit() - Method in class net.jextra.fauxjo.transaction.Transaction
- commit() - Method in interface net.jextra.fauxjo.transaction.TransactionInterface
- Config() - Constructor for class net.jextra.fauxjo.StatementCache.Config
- Config(StatementCache.Config) - Constructor for class net.jextra.fauxjo.StatementCache.Config
- convertTo(Byte, Class<?>) - Method in class net.jextra.fauxjo.coercer.ByteCoercer
- convertTo(Double, Class<?>) - Method in class net.jextra.fauxjo.coercer.DoubleCoercer
- convertTo(Float, Class<?>) - Method in class net.jextra.fauxjo.coercer.FloatCoercer
- convertTo(Integer, Class<?>) - Method in class net.jextra.fauxjo.coercer.IntegerCoercer
- convertTo(Long, Class<?>) - Method in class net.jextra.fauxjo.coercer.LongCoercer
- convertTo(Object, Class<?>) - Method in class net.jextra.fauxjo.coercer.ObjectCoercer
- convertTo(Short, Class<?>) - Method in class net.jextra.fauxjo.coercer.ShortCoercer
- convertTo(String, Class<?>) - Method in class net.jextra.fauxjo.coercer.StringCoercer
- convertTo(BigDecimal, Class<?>) - Method in class net.jextra.fauxjo.coercer.BigDecimalCoercer
- convertTo(BigInteger, Class<?>) - Method in class net.jextra.fauxjo.coercer.BigIntegerCoercer
- convertTo(Date, Class<?>) - Method in class net.jextra.fauxjo.coercer.DateCoercer
- convertTo(Time, Class<?>) - Method in class net.jextra.fauxjo.coercer.TimeCoercer
- convertTo(Timestamp, Class<?>) - Method in class net.jextra.fauxjo.coercer.TimestampCoercer
- convertTo(Instant, Class<?>) - Method in class net.jextra.fauxjo.coercer.InstantCoercer
- convertTo(Date, Class<?>) - Method in class net.jextra.fauxjo.coercer.UtilDateCoercer
- convertTo(UUID, Class<?>) - Method in class net.jextra.fauxjo.coercer.UuidCoercer
- convertTo(T, Class<?>) - Method in class net.jextra.fauxjo.coercer.Coercer
- convertTo(T, Class<?>) - Method in interface net.jextra.fauxjo.coercer.TypeCoercer
- copy() - Method in class net.jextra.fauxjo.StatementCache.Config
D
- DateCoercer - Class in net.jextra.fauxjo.coercer
- DateCoercer() - Constructor for class net.jextra.fauxjo.coercer.DateCoercer
- DEFAULT_INSTANCE - Static variable in class net.jextra.fauxjo.HomeGroupCache
- defaultable() - Method in annotation type net.jextra.fauxjo.bean.FauxjoField
- delete(T) - Method in class net.jextra.fauxjo.Home
- delete(T) - Method in class net.jextra.fauxjo.Table
-
Convert the bean into an delete statement and execute it.
- DoubleCoercer - Class in net.jextra.fauxjo.coercer
- DoubleCoercer() - Constructor for class net.jextra.fauxjo.coercer.DoubleCoercer
- DummyTransaction - Class in net.jextra.fauxjo.transaction
-
A "transaction" to literally do nothing.
- DummyTransaction() - Constructor for class net.jextra.fauxjo.transaction.DummyTransaction
E
- equals(Object) - Method in class net.jextra.fauxjo.bean.Fauxjo
- ERROR_MSG - Static variable in interface net.jextra.fauxjo.coercer.TypeCoercer
- evictedLruStmt_MaxEntries(StatementCache.Config, StatementCacheListener.StmtType, String, long, long, long) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
The least recently used statement was evicted, StmtCache would have exceeded maxEntries.
- evictedLruStmt_MaxTtl(StatementCache.Config, StatementCacheListener.StmtType, String, long, long, long) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
The least recently used statement was evicted, it exceeded its maxTtl.
- evictLruStmtException(StatementCache.Config, StatementCacheListener.StmtType, Throwable) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
An exception was thrown while trying to close an evicted Statement.
F
- Fauxjo - Class in net.jextra.fauxjo.bean
-
Base class for a fauxjo (database bean).
- Fauxjo() - Constructor for class net.jextra.fauxjo.bean.Fauxjo
- FauxjoException - Exception in net.jextra.fauxjo
-
An Exception that is specific to the Fauxjo library.
- FauxjoException(String) - Constructor for exception net.jextra.fauxjo.FauxjoException
- FauxjoException(String, Throwable) - Constructor for exception net.jextra.fauxjo.FauxjoException
- FauxjoException(Throwable) - Constructor for exception net.jextra.fauxjo.FauxjoException
- FauxjoField - Annotation Type in net.jextra.fauxjo.bean
-
Annotation placed on a field of a Fauxjo beans that represents column in the database when creating an INSERT, UPDATE, and DELETE statement.
- FauxjoGetter - Annotation Type in net.jextra.fauxjo.bean
-
Optional annotation placed on a method of a Fauxjo bean.
- FauxjoPrimaryKey - Annotation Type in net.jextra.fauxjo.bean
-
This annotation should be added to all getter methods of the Fauxjo bean in order to specify the values that uniquely identify a row in the database.
- FauxjoSetter - Annotation Type in net.jextra.fauxjo.bean
-
Optional annotation placed on a method of a Fauxjo beans that represents the setter for a column in the database when creating a SELECT statement.
- FieldDef - Class in net.jextra.fauxjo.beandef
- FieldDef() - Constructor for class net.jextra.fauxjo.beandef.FieldDef
- finish(boolean) - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- finish(boolean) - Method in interface net.jextra.fauxjo.transaction.TransactionInterface
- FloatCoercer - Class in net.jextra.fauxjo.coercer
- FloatCoercer() - Constructor for class net.jextra.fauxjo.coercer.FloatCoercer
G
- getAllowMissingFields() - Method in class net.jextra.fauxjo.BeanBuilder
- getAutoCloseResultSet() - Method in class net.jextra.fauxjo.BeanBuilder
- getBeanBuilder() - Method in class net.jextra.fauxjo.Home
- getBeanDef(Class<?>) - Static method in class net.jextra.fauxjo.beandef.BeanDefCache
- getCoercer() - Method in class net.jextra.fauxjo.Table
- getConfig() - Method in class net.jextra.fauxjo.StatementCache
- getConnection() - Method in class net.jextra.fauxjo.Home
- getConnection() - Method in class net.jextra.fauxjo.HomeGroup
- getConnection() - Method in class net.jextra.fauxjo.Table
- getConnection() - Method in class net.jextra.fauxjo.transaction.DummyTransaction
- getConnection() - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- getConnection() - Method in class net.jextra.fauxjo.transaction.Transaction
- getConnection() - Method in interface net.jextra.fauxjo.transaction.TransactionInterface
- getConnection(int) - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- getConnKey(Connection) - Static method in class net.jextra.fauxjo.StatementCache
-
Return the Long key to be used for caching the Stmt.
- getDeleteSql() - Method in class net.jextra.fauxjo.Table
- getDiagnosticCsv(Connection, StringBuilder) - Method in class net.jextra.fauxjo.StatementCache
-
If connection is cached, append its contents to the string builder as csv rows.
- getField() - Method in class net.jextra.fauxjo.beandef.FieldDef
- getFieldDef(String) - Method in class net.jextra.fauxjo.beandef.BeanDef
- getFieldDefs() - Method in class net.jextra.fauxjo.beandef.BeanDef
- getFieldDefs(Class<?>) - Static method in class net.jextra.fauxjo.beandef.BeanDefCache
- getFirst(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
- getFirst(ResultSet) - Method in class net.jextra.fauxjo.Home
- getFirst(ResultSet, boolean) - Method in class net.jextra.fauxjo.BeanBuilder
- getFirst(ResultSet, boolean) - Method in class net.jextra.fauxjo.Home
- getFirst(ResultSet, boolean, boolean) - Method in class net.jextra.fauxjo.BeanBuilder
-
Reads the first item in the given ResultSet and converts it into a fauxjo bean.
- getFullTableName() - Method in class net.jextra.fauxjo.Home
- getFullTableName() - Method in class net.jextra.fauxjo.Table
- getHome(Class<T>) - Method in class net.jextra.fauxjo.HomeGroup
- getHomes() - Method in class net.jextra.fauxjo.HomeGroup
- getInsertDef(T) - Method in class net.jextra.fauxjo.Table
-
Optionally passing in a actual bean instant allows the insert statement to be exclude columns that can have defaulted values and are also null in the bean.
- getInstance() - Static method in class net.jextra.fauxjo.SqlTypeMapping
- getIterator(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
- getIterator(ResultSet) - Method in class net.jextra.fauxjo.Home
- getJavaClass(int) - Static method in class net.jextra.fauxjo.SqlTypeMapping
- getList(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
-
WARNING: This consumes the passed in ResultSet.
- getList(ResultSet) - Method in class net.jextra.fauxjo.Home
- getList(ResultSet, int) - Method in class net.jextra.fauxjo.BeanBuilder
-
Reads the first maxNumItems (-1 = all) ResultSet rows and converts them into a list of fauxjo beans.
- getList(ResultSet, int) - Method in class net.jextra.fauxjo.Home
- getListeners() - Method in class net.jextra.fauxjo.StatementCache
- getMaxEntries() - Method in class net.jextra.fauxjo.StatementCache.Config
-
Return the max number of Statements before evicting the LRU when a new one is added.
- getPerConCache_MaxEntries() - Method in class net.jextra.fauxjo.StatementCache
-
Return max Statements (unique sql) allowed in the cache (default is 1000) before evicting the LRU.
- getPerConCacheMaxTtl() - Method in class net.jextra.fauxjo.StatementCache
-
Return maximum time for a Statement to live in the Connection cache (default is 30 minutes).
- getPrimaryKeyValues() - Method in class net.jextra.fauxjo.bean.Fauxjo
- getQualifiedName(String) - Method in class net.jextra.fauxjo.Home
-
This method attaches the schema name to the front of the name passed in.
- getReadMethod() - Method in class net.jextra.fauxjo.beandef.FieldDef
- getRealName() - Method in class net.jextra.fauxjo.Table.ColumnInfo
- getSavepoint() - Method in class net.jextra.fauxjo.transaction.Transaction
- getSchemaName() - Method in class net.jextra.fauxjo.Home
- getSchemaName() - Method in class net.jextra.fauxjo.Table
- getSet(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
-
WARNING: This consumes the passed in ResultSet.
- getSet(ResultSet) - Method in class net.jextra.fauxjo.Home
- getSet(ResultSet, int) - Method in class net.jextra.fauxjo.BeanBuilder
- getSet(ResultSet, int) - Method in class net.jextra.fauxjo.Home
- getSqlType() - Method in class net.jextra.fauxjo.Table.ColumnInfo
- getStatementCache() - Method in class net.jextra.fauxjo.Table
- getStatementCacheCsvForPrepStmts(StringBuilder) - Method in class net.jextra.fauxjo.Home
- getStatementCacheCsvForPrepStmts(StringBuilder) - Method in class net.jextra.fauxjo.Table
-
Append csv contents of the statement cache if enabled else throws an exception.
- getStatementCacheEnabled() - Method in class net.jextra.fauxjo.Home
- getStatementCacheEnabled() - Method in class net.jextra.fauxjo.Table
-
Return true if the StatementCache is enabled (default).
- getStatementCacheStats(StringBuilder, DateTimeFormatter) - Method in class net.jextra.fauxjo.Home
- getStatementCacheStats(StringBuilder, DateTimeFormatter) - Method in class net.jextra.fauxjo.Table
-
Append json statistics about the statement cache if enabled else throws an exception.
- getStats(StringBuilder, DateTimeFormatter) - Method in class net.jextra.fauxjo.StatementCache
-
Append stats as json params to strBldrToAppend.
- getStmtAgeMaxMs() - Method in class net.jextra.fauxjo.StatementCache.Config
-
Return the max age of an LRU Statement to be evicted when a new one is added.
- getSupportsGeneratedKeys() - Method in class net.jextra.fauxjo.Home
- getSupportsGeneratedKeys() - Method in class net.jextra.fauxjo.Table
- getTable() - Method in class net.jextra.fauxjo.Home
- getTableName() - Method in class net.jextra.fauxjo.Home
- getTableName() - Method in class net.jextra.fauxjo.Table
- getTransaction(int) - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- getTypeCoercer(Class<T>) - Method in class net.jextra.fauxjo.coercer.Coercer
- getUnique(ResultSet) - Method in class net.jextra.fauxjo.BeanBuilder
- getUnique(ResultSet) - Method in class net.jextra.fauxjo.Home
- getUnique(ResultSet, boolean) - Method in class net.jextra.fauxjo.BeanBuilder
- getUnique(ResultSet, boolean) - Method in class net.jextra.fauxjo.Home
- getUpdateSql() - Method in class net.jextra.fauxjo.Table
- getValueClass() - Method in class net.jextra.fauxjo.beandef.FieldDef
- getWriteMethod() - Method in class net.jextra.fauxjo.beandef.FieldDef
H
- hashCode() - Method in class net.jextra.fauxjo.bean.Fauxjo
- hasNext() - Method in class net.jextra.fauxjo.ResultSetIterator
- Home<T> - Class in net.jextra.fauxjo
-
Base implementation of a data access object.
- Home(String, Class<T>) - Constructor for class net.jextra.fauxjo.Home
- Home(Connection, String, Class<T>) - Constructor for class net.jextra.fauxjo.Home
- Home(Connection, Table<T>, BeanBuilder<T>) - Constructor for class net.jextra.fauxjo.Home
- Home(Table<T>, BeanBuilder<T>) - Constructor for class net.jextra.fauxjo.Home
- HomeGroup - Class in net.jextra.fauxjo
-
Groups a number of Home objects together into a common ConnectionSupplier.
- HomeGroup() - Constructor for class net.jextra.fauxjo.HomeGroup
- HomeGroupCache<T extends HomeGroup> - Class in net.jextra.fauxjo
-
Delegate class to be used in a
HomeGroupclass to manage its instances. - HomeGroupCache(Class<T>) - Constructor for class net.jextra.fauxjo.HomeGroupCache
I
- insert(Collection<T>) - Method in class net.jextra.fauxjo.Home
- insert(Collection<T>) - Method in class net.jextra.fauxjo.Table
-
Insert multiple beans into the database at the same time using a fast multi-row insert statement.
- insert(T) - Method in class net.jextra.fauxjo.Home
- insert(T) - Method in class net.jextra.fauxjo.Table
-
Convert the bean into an insert statement and execute it.
- insertBatch(Collection<T>) - Method in class net.jextra.fauxjo.Table
-
Return the result of preparedStatement.executeBatch.
- InstantCoercer - Class in net.jextra.fauxjo.coercer
- InstantCoercer() - Constructor for class net.jextra.fauxjo.coercer.InstantCoercer
- IntegerCoercer - Class in net.jextra.fauxjo.coercer
- IntegerCoercer() - Constructor for class net.jextra.fauxjo.coercer.IntegerCoercer
- invoke(Object, Method, Object[]) - Method in class net.jextra.fauxjo.StatementCache.WrappedPreparedStatement
- invoke(Object, Method, Object[]) - Method in class net.jextra.fauxjo.StatementCache.WrappedResultSet
- isDefaultable() - Method in class net.jextra.fauxjo.beandef.FieldDef
- isPrimaryKey() - Method in class net.jextra.fauxjo.beandef.FieldDef
- iterator() - Method in class net.jextra.fauxjo.ResultSetIterator
L
- LongCoercer - Class in net.jextra.fauxjo.coercer
- LongCoercer() - Constructor for class net.jextra.fauxjo.coercer.LongCoercer
M
- MaxEntries - net.jextra.fauxjo.StatementCacheListener.EvictType
- MaxTtl - net.jextra.fauxjo.StatementCacheListener.EvictType
- MultiTransaction - Class in net.jextra.fauxjo.transaction
-
Multiple
TransactionInterfaces tied together. - MultiTransaction(Connection...) - Constructor for class net.jextra.fauxjo.transaction.MultiTransaction
N
- net.jextra.fauxjo - package net.jextra.fauxjo
- net.jextra.fauxjo.bean - package net.jextra.fauxjo.bean
- net.jextra.fauxjo.beandef - package net.jextra.fauxjo.beandef
- net.jextra.fauxjo.coercer - package net.jextra.fauxjo.coercer
- net.jextra.fauxjo.transaction - package net.jextra.fauxjo.transaction
- newStmtCacheForNewConn(StatementCache.Config, Thread, Long, String) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
An uncached Connection from prepare/callStatement request created a new StmtCache in StmtCacheMap.
- newStmtCacheMapForNewThread(StatementCache.Config, Thread) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
A new Thread was encountered resulting in a new ThreadLocal StmtCacheMap.
- next() - Method in class net.jextra.fauxjo.ResultSetIterator
O
- ObjectCoercer - Class in net.jextra.fauxjo.coercer
- ObjectCoercer() - Constructor for class net.jextra.fauxjo.coercer.ObjectCoercer
P
- prepareCall(Connection, String) - Method in class net.jextra.fauxjo.StatementCache
- prepareCall(Connection, String, int, int) - Method in class net.jextra.fauxjo.StatementCache
- prepareCall(Connection, String, int, int, int) - Method in class net.jextra.fauxjo.StatementCache
- Prepared - net.jextra.fauxjo.StatementCacheListener.StmtType
- preparedCall(StatementCache.Config, Thread, Long) - Method in interface net.jextra.fauxjo.StatementCacheListener
- preparedStmt(StatementCache.Config, Thread, Long) - Method in interface net.jextra.fauxjo.StatementCacheListener
- prepareStatement(String) - Method in class net.jextra.fauxjo.Home
- prepareStatement(String) - Method in class net.jextra.fauxjo.Table
-
Return a new PreparedStatement from StatementCache if enabled else from connection.
- prepareStatement(Connection, String, boolean) - Method in class net.jextra.fauxjo.StatementCache
- prepareStatement(Connection, String, int) - Method in class net.jextra.fauxjo.StatementCache
- prepareStatement(Connection, String, int[]) - Method in class net.jextra.fauxjo.StatementCache
- prepareStatement(Connection, String, int, int) - Method in class net.jextra.fauxjo.StatementCache
- prepareStatement(Connection, String, int, int, int) - Method in class net.jextra.fauxjo.StatementCache
- prepareStatement(Connection, String, String[]) - Method in class net.jextra.fauxjo.StatementCache
R
- remove() - Method in class net.jextra.fauxjo.ResultSetIterator
- removeAllListeners() - Method in class net.jextra.fauxjo.StatementCache
- removeListener(StatementCacheListener) - Method in class net.jextra.fauxjo.StatementCache
- ResultSetIterator<T> - Class in net.jextra.fauxjo
-
Iterator of a
ResultSetthat knows how to convert each row in the ResultSet to a Fauxjo bean. - ResultSetIterator(ResultSet, Class<T>) - Constructor for class net.jextra.fauxjo.ResultSetIterator
- ResultSetIterator(ResultSet, ResultSetIterator.Builder<T>) - Constructor for class net.jextra.fauxjo.ResultSetIterator
- ResultSetIterator.Builder<T> - Interface in net.jextra.fauxjo
- retrieveGeneratedKeys(PreparedStatement, Table.InsertDef, T) - Method in class net.jextra.fauxjo.Table
- reusedStmt(StatementCache.Config, Thread, Long) - Method in interface net.jextra.fauxjo.StatementCacheListener
- rollback() - Method in class net.jextra.fauxjo.transaction.DummyTransaction
- rollback() - Method in class net.jextra.fauxjo.transaction.MultiTransaction
- rollback() - Method in class net.jextra.fauxjo.transaction.Transaction
- rollback() - Method in interface net.jextra.fauxjo.transaction.TransactionInterface
S
- setAllowMissingFields(boolean) - Method in class net.jextra.fauxjo.BeanBuilder
- setAutoCloseResultSet(boolean) - Method in class net.jextra.fauxjo.BeanBuilder
- setBeanValue(T, String, Object) - Method in class net.jextra.fauxjo.BeanBuilder
- setConnection(Connection) - Method in class net.jextra.fauxjo.Home
- setConnection(Connection) - Method in class net.jextra.fauxjo.HomeGroup
- setConnection(Connection) - Method in class net.jextra.fauxjo.Table
-
Return true if stmtCache is enabled and the Connection is the same as last.
- setDefaultable(boolean) - Method in class net.jextra.fauxjo.beandef.FieldDef
- setDeleteValues(PreparedStatement, T) - Method in class net.jextra.fauxjo.Table
- setField(Field) - Method in class net.jextra.fauxjo.beandef.FieldDef
- setInsertValues(PreparedStatement, Table.InsertDef, int, T) - Method in class net.jextra.fauxjo.Table
- setInstance(String, T) - Method in class net.jextra.fauxjo.HomeGroupCache
- setInstance(T) - Method in class net.jextra.fauxjo.HomeGroupCache
- setMaxEntries(long) - Method in class net.jextra.fauxjo.StatementCache.Config
- setPerConCache_Maximums(Integer, Long) - Method in class net.jextra.fauxjo.StatementCache
-
Set perConCache maximums.
- setPerConCacheMaxEntries(Long) - Method in class net.jextra.fauxjo.StatementCache
- setPerConCacheMaxTtl(Long) - Method in class net.jextra.fauxjo.StatementCache
- setPrimaryKey(boolean) - Method in class net.jextra.fauxjo.beandef.FieldDef
- setReadMethod(Method) - Method in class net.jextra.fauxjo.beandef.FieldDef
- setRealName(String) - Method in class net.jextra.fauxjo.Table.ColumnInfo
- setSqlType(int) - Method in class net.jextra.fauxjo.Table.ColumnInfo
- setStatementCacheConfig(List<StatementCacheListener>, Integer, Long) - Method in class net.jextra.fauxjo.Home
- setStatementCacheConfig(List<StatementCacheListener>, Integer, Long) - Method in class net.jextra.fauxjo.Table
-
Sets configuration passed to StatementCache if it is or becomes enabled.
- setStatementCacheEnabled(boolean) - Method in class net.jextra.fauxjo.Home
- setStatementCacheEnabled(boolean) - Method in class net.jextra.fauxjo.Table
-
Enable (default to avoid breaking changes) or disable the StatementCache.
- setStmtAgeMaxMs(long) - Method in class net.jextra.fauxjo.StatementCache.Config
- setStmtCacheMaxEntries(StatementCache.Config, Thread, Integer) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
Per prepare/callStatement, the eldest Statement is evicted if cache has this many entries.
- setStmtCacheMaxTtl(StatementCache.Config, Thread, Long) - Method in interface net.jextra.fauxjo.StatementCacheListener
-
Per prepare/callStatement call, the eldest Statement is evicted if older than this value.
- setSupportsGeneratedKeys(boolean) - Method in class net.jextra.fauxjo.Home
- setSupportsGeneratedKeys(boolean) - Method in class net.jextra.fauxjo.Table
- setUpdateValues(PreparedStatement, T) - Method in class net.jextra.fauxjo.Table
- setWriteMethod(Method) - Method in class net.jextra.fauxjo.beandef.FieldDef
- ShortCoercer - Class in net.jextra.fauxjo.coercer
- ShortCoercer() - Constructor for class net.jextra.fauxjo.coercer.ShortCoercer
- SqlTypeMapping - Class in net.jextra.fauxjo
-
Mapping between all SQL types and a Java type.
- StatementCache - Class in net.jextra.fauxjo
-
Caches PreparedStatements and CallableStatements per Connection, local to the Thread.
- StatementCache() - Constructor for class net.jextra.fauxjo.StatementCache
- StatementCache.Config - Class in net.jextra.fauxjo
- StatementCache.ProxyCloser - Interface in net.jextra.fauxjo
- StatementCache.WrappedPreparedStatement - Class in net.jextra.fauxjo
-
Block from actually doing close.
- StatementCache.WrappedResultSet - Class in net.jextra.fauxjo
-
Override getStatement to return proxied Statement vs real Statement.
- StatementCacheListener - Interface in net.jextra.fauxjo
-
Receive events related to caching PreparedStatements or CallableStatements.
- StatementCacheListener.EvictType - Enum in net.jextra.fauxjo
- StatementCacheListener.StmtType - Enum in net.jextra.fauxjo
- StringCoercer - Class in net.jextra.fauxjo.coercer
- StringCoercer() - Constructor for class net.jextra.fauxjo.coercer.StringCoercer
T
- Table<T> - Class in net.jextra.fauxjo
-
Java representation and helper methods for a database table.
- Table(String, Class<T>) - Constructor for class net.jextra.fauxjo.Table
- Table.ColumnInfo - Class in net.jextra.fauxjo
- TimeCoercer - Class in net.jextra.fauxjo.coercer
- TimeCoercer() - Constructor for class net.jextra.fauxjo.coercer.TimeCoercer
- TimestampCoercer - Class in net.jextra.fauxjo.coercer
- TimestampCoercer() - Constructor for class net.jextra.fauxjo.coercer.TimestampCoercer
- toString() - Method in class net.jextra.fauxjo.bean.Fauxjo
- toString() - Method in class net.jextra.fauxjo.StatementCache.Config
- trace(Transaction, String) - Method in interface net.jextra.fauxjo.transaction.Transaction.TransactionListener
- Transaction - Class in net.jextra.fauxjo.transaction
-
A clean convience class to manage a typical single database "transaction".
- Transaction(Connection) - Constructor for class net.jextra.fauxjo.transaction.Transaction
- Transaction(Connection, String) - Constructor for class net.jextra.fauxjo.transaction.Transaction
- Transaction(Connection, Transaction.TransactionListener) - Constructor for class net.jextra.fauxjo.transaction.Transaction
- Transaction.TransactionListener - Interface in net.jextra.fauxjo.transaction
- TransactionInterface - Interface in net.jextra.fauxjo.transaction
-
Skeletal definition of a database translation.
- TypeCoercer<T> - Interface in net.jextra.fauxjo.coercer
-
Coerces one value type to another value type.
U
- update(T) - Method in class net.jextra.fauxjo.Home
- update(T) - Method in class net.jextra.fauxjo.Table
-
Convert the bean into an update statement and execute it.
- use() - Method in class net.jextra.fauxjo.HomeGroupCache
- use(String) - Method in class net.jextra.fauxjo.HomeGroupCache
- UtilDateCoercer - Class in net.jextra.fauxjo.coercer
- UtilDateCoercer() - Constructor for class net.jextra.fauxjo.coercer.UtilDateCoercer
- UuidCoercer - Class in net.jextra.fauxjo.coercer
- UuidCoercer() - Constructor for class net.jextra.fauxjo.coercer.UuidCoercer
V
- value() - Method in annotation type net.jextra.fauxjo.bean.FauxjoField
- value() - Method in annotation type net.jextra.fauxjo.bean.FauxjoGetter
- value() - Method in annotation type net.jextra.fauxjo.bean.FauxjoSetter
- valueOf(String) - Static method in enum net.jextra.fauxjo.StatementCacheListener.EvictType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.jextra.fauxjo.StatementCacheListener.StmtType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.jextra.fauxjo.StatementCacheListener.EvictType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.jextra.fauxjo.StatementCacheListener.StmtType
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WrappedPreparedStatement(PreparedStatement) - Constructor for class net.jextra.fauxjo.StatementCache.WrappedPreparedStatement
- WrappedResultSet(PreparedStatement, ResultSet) - Constructor for class net.jextra.fauxjo.StatementCache.WrappedResultSet
All Classes All Packages