Uses of Class
com.jpattern.orm.exception.OrmException

Packages that use OrmException
com.jpattern.orm   
com.jpattern.orm.exception   
com.jpattern.orm.exception.sql   
com.jpattern.orm.exception.validator   
com.jpattern.orm.mapper   
com.jpattern.orm.query   
com.jpattern.orm.query.clause   
com.jpattern.orm.query.find   
com.jpattern.orm.query.sql   
com.jpattern.orm.script   
com.jpattern.orm.session   
com.jpattern.orm.session.datasource   
com.jpattern.orm.transaction   
com.jpattern.orm.validator   
 

Uses of OrmException in com.jpattern.orm
 

Methods in com.jpattern.orm that throw OrmException
 Session JPO.session()
          Return a session from the current IJPOrm implementation
 

Uses of OrmException in com.jpattern.orm.exception
 

Subclasses of OrmException in com.jpattern.orm.exception
 class OrmConfigurationException
           
 class OrmNotFoundException
           
 class OrmNotUniqueResultException
           
 class OrmNotUniqueResultManyResultsException
          Exception thrown when a unique result is expected but more than one result is found
 class OrmNotUniqueResultNoResultException
          Exception thrown when a unique result is expected but no results are found
 class OrmOptimisticLockException
           
 class OrmQueryFormatException
           
 class OrmReflectionException
           
 class OrmRollbackException
           
 

Uses of OrmException in com.jpattern.orm.exception.sql
 

Subclasses of OrmException in com.jpattern.orm.exception.sql
 class OrmSqlBadGrammarException
          Exception thrown when SQL specified is invalid.
 class OrmSqlConcurrencyFailureException
          Exception thrown on concurrency failure.
 class OrmSqlDataAccessResourceFailureException
          Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.
 class OrmSqlDataIntegrityViolationException
          Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.
 class OrmSqlException
          Generic wrapper for a SQLException
 class OrmSqlTransientDataAccessResourceException
          Data access exception thrown when a resource fails temporarily and the operation can be retried.
 

Uses of OrmException in com.jpattern.orm.exception.validator
 

Subclasses of OrmException in com.jpattern.orm.exception.validator
 class OrmValidatorException
          A validation Exception
 

Uses of OrmException in com.jpattern.orm.mapper
 

Methods in com.jpattern.orm.mapper that throw OrmException
<T> IOrmClassTool<T>
IOrmClassToolMap.getOrmClassTool(Class<T> clazz)
           
<T> IOrmClassTool<T>
OrmClassToolMap.getOrmClassTool(Class<T> clazz)
           
 

Uses of OrmException in com.jpattern.orm.query
 

Methods in com.jpattern.orm.query that throw OrmException
 String NullNameSolver.alias(Integer classId)
           
 String NameSolver.alias(Integer clazzId)
          Return the alias of a registered class
 String OrmClassToolMapNameSolver.alias(Integer classId)
           
<T> T
CustomQuery.find(ResultSetReader<T> rsr)
          Execute the query reading the ResultSet with a ResultSetReader.
<T> List<T>
CustomQuery.find(ResultSetRowReader<T> rsrr)
          Execute the query reading the ResultSet with a ResultSetRowReader.
 BigDecimal CustomQuery.findBigDecimal()
          Execute the query and read the result as a BigDecimal value
 boolean CustomQuery.findBoolean()
          Execute the query and read the result as a boolean value
 double CustomQuery.findDouble()
          Execute the query and read the result as a double value
 float CustomQuery.findFloat()
          Execute the query and read the result as a float value
 int CustomQuery.findInt()
          Execute the query and read the result as an int value
 List<Object[]> CustomQuery.findList()
          Execute the query and read the result creating a List of all the ordered arrays with the extracted column values for every row.
 long CustomQuery.findLong()
          Execute the query and read the result as an long value
 String CustomQuery.findString()
          Execute the query and read the result as a String value
<T> T
CustomQuery.findUnique(ResultSetRowReader<T> rsrr)
          Execute the query reading the ResultSet with a ResultSetRowReader.
<P> Integer
NameSolver.register(Class<P> clazz)
          Register a class and use the name of the class as alias to resolve the property name.
<P> Integer
OrmClassToolMapNameSolver.register(Class<P> clazz)
           
<P> Integer
NameSolver.register(Class<P> clazz, String alias)
          Register a class and use the passed alias parameter as alias to resolve the property name.
<P> Integer
OrmClassToolMapNameSolver.register(Class<P> clazz, String alias)
           
 String NameSolver.solvePropertyName(String property)
          Resolve a property in a query to his name in the database using the table alias as prefix.
 String OrmClassToolMapNameSolver.solvePropertyName(String property)
           
 String NullNameSolver.solvePropertyName(String property, String defaultValue)
           
 String NameSolver.solvePropertyName(String property, String defaultValue)
          Resolve a property in a query to his name in the database using the table alias as prefix.
 String OrmClassToolMapNameSolver.solvePropertyName(String property, String defaultValue)
           
 String NullNameSolver.solvePropertyNameWithoutAlias(String property)
           
 String NameSolver.solvePropertyNameWithoutAlias(String property)
          Resolve a property in a query to his column's related name in the database without using the table alias as prefix.
 String OrmClassToolMapNameSolver.solvePropertyNameWithoutAlias(String property)
           
 

Uses of OrmException in com.jpattern.orm.query.clause
 

Methods in com.jpattern.orm.query.clause that throw OrmException
 boolean OrmCustomSelect.isDistinct()
           
 

Uses of OrmException in com.jpattern.orm.query.find
 

Methods in com.jpattern.orm.query.find that throw OrmException
 BEAN FindWhereImpl.find()
           
 BEAN FindQueryCommon.find()
          Execute the query returning either a single bean, if the ResultSet contains at least one row, or null, if no matching beans are found).
 BEAN FindQueryOrm.find()
           
 BEAN FindOrderByImpl.find()
           
 void FindWhereImpl.find(OrmRowMapper<BEAN> srr)
           
 void FindQueryCommon.find(OrmRowMapper<BEAN> srr)
          Execute the query and for every object created call the IOrmSerialResultReader.
 void FindQueryOrm.find(OrmRowMapper<BEAN> srr)
           
 void FindOrderByImpl.find(OrmRowMapper<BEAN> srr)
           
<T> T
CustomFindWhereImpl.find(ResultSetReader<T> rse)
           
<T> T
CustomFindOrderByImpl.find(ResultSetReader<T> rse)
           
<T> T
CustomFindQueryOrm.find(ResultSetReader<T> rse)
           
<T> List<T>
CustomFindWhereImpl.find(ResultSetRowReader<T> rsrr)
           
<T> List<T>
CustomFindOrderByImpl.find(ResultSetRowReader<T> rsrr)
           
<T> List<T>
CustomFindQueryOrm.find(ResultSetRowReader<T> rsrr)
           
 BigDecimal CustomFindWhereImpl.findBigDecimal()
           
 BigDecimal CustomFindOrderByImpl.findBigDecimal()
           
 BigDecimal CustomFindQueryOrm.findBigDecimal()
           
 boolean CustomFindWhereImpl.findBoolean()
           
 boolean CustomFindOrderByImpl.findBoolean()
           
 boolean CustomFindQueryOrm.findBoolean()
           
 double CustomFindWhereImpl.findDouble()
           
 double CustomFindOrderByImpl.findDouble()
           
 double CustomFindQueryOrm.findDouble()
           
 float CustomFindWhereImpl.findFloat()
           
 float CustomFindOrderByImpl.findFloat()
           
 float CustomFindQueryOrm.findFloat()
           
 int CustomFindWhereImpl.findInt()
           
 int CustomFindOrderByImpl.findInt()
           
 int CustomFindQueryOrm.findInt()
           
 List<Object[]> CustomFindWhereImpl.findList()
           
 List<BEAN> FindWhereImpl.findList()
           
 List<BEAN> FindQueryCommon.findList()
          Execute the query returning the list of objects.
 List<Object[]> CustomFindOrderByImpl.findList()
           
 List<BEAN> FindOrderByImpl.findList()
           
 long CustomFindWhereImpl.findLong()
           
 long CustomFindOrderByImpl.findLong()
           
 long CustomFindQueryOrm.findLong()
           
 int FindWhereImpl.findRowCount()
           
 int FindQueryCommon.findRowCount()
          Return the count of entities this query should return.
 int FindOrderByImpl.findRowCount()
           
 String CustomFindWhereImpl.findString()
           
 String CustomFindOrderByImpl.findString()
           
 String CustomFindQueryOrm.findString()
           
 BEAN FindWhereImpl.findUnique()
           
 BEAN FindQueryCommon.findUnique()
          Execute the query returning either a single bean or an Exception.
 BEAN FindOrderByImpl.findUnique()
           
<T> T
CustomFindWhereImpl.findUnique(ResultSetRowReader<T> rsrr)
           
<T> T
CustomFindOrderByImpl.findUnique(ResultSetRowReader<T> rsrr)
           
<T> T
CustomFindQueryOrm.findUnique(ResultSetRowReader<T> rsrr)
           
protected  CustomFindQuery CustomFindFromImpl.from()
           
protected  FindQuery<BEAN> FindFromImpl.from()
           
 String FindWhereImpl.getGeneratedRowCountSql()
           
 String FindQueryCommon.getGeneratedRowCountSql()
          Return the sql that was generated to return the row count of the execution of this query.
 String FindOrderByImpl.getGeneratedRowCountSql()
           
 int CustomFindQueryCommon.getMaxRows()
          Return the max rows for this query.
 int CustomFindWhereImpl.getMaxRows()
           
 int FindWhereImpl.getMaxRows()
           
 int FindQueryCommon.getMaxRows()
          Return the max rows for this query.
 int FindQueryOrm.getMaxRows()
           
 int CustomFindOrderByImpl.getMaxRows()
           
 int FindOrderByImpl.getMaxRows()
           
 int CustomFindQueryOrm.getMaxRows()
           
 boolean CustomFindQueryCommon.isDistinct()
          return if use Distinct in the select clause
 boolean CustomFindWhereImpl.isDistinct()
           
 boolean FindWhereImpl.isDistinct()
           
 boolean FindQueryCommon.isDistinct()
          return if use Distinct in the select clause
 boolean FindQueryOrm.isDistinct()
           
 boolean CustomFindOrderByImpl.isDistinct()
           
 boolean FindOrderByImpl.isDistinct()
           
 boolean CustomFindQueryOrm.isDistinct()
           
 CustomFindOrderBy CustomFindWhere.orderBy()
          Set the order by clause.
 CustomFindOrderBy CustomFindWhereImpl.orderBy()
           
 FindOrderBy<BEAN> FindWhereImpl.orderBy()
           
 FindOrderBy<BEAN> FindQueryOrm.orderBy()
           
 CustomFindOrderBy CustomFindQuery.orderBy()
          Set the order by clause.
 FindOrderBy<BEAN> FindQuery.orderBy()
          Set the order by clause.
protected  CustomFindOrderBy CustomFindOrderByImpl.orderBy()
           
protected  FindOrderBy<BEAN> FindOrderByImpl.orderBy()
           
 FindOrderBy<BEAN> FindWhere.orderBy()
          Set the order by clause.
 CustomFindOrderBy CustomFindQueryOrm.orderBy()
           
 CustomFindQuery CustomFindQueryCommon.setDistinct(boolean distinct)
          Whether to use Distinct in the select clause
 CustomFindQuery CustomFindWhereImpl.setDistinct(boolean distinct)
           
 FindQuery<BEAN> FindWhereImpl.setDistinct(boolean distinct)
           
 FindQuery<BEAN> FindQueryCommon.setDistinct(boolean distinct)
          Whether to use Distinct in the select clause
 CustomFindQuery CustomFindOrderByImpl.setDistinct(boolean distinct)
           
 FindQuery<BEAN> FindOrderByImpl.setDistinct(boolean distinct)
           
 CustomFindQuery CustomFindQueryCommon.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 CustomFindQuery CustomFindWhereImpl.setMaxRows(int maxRows)
           
 FindQuery<BEAN> FindWhereImpl.setMaxRows(int maxRows)
           
 FindQuery<BEAN> FindQueryCommon.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 FindQuery<BEAN> FindQueryOrm.setMaxRows(int maxRows)
           
 CustomFindQuery CustomFindOrderByImpl.setMaxRows(int maxRows)
           
 FindQuery<BEAN> FindOrderByImpl.setMaxRows(int maxRows)
           
 CustomFindQuery CustomFindQueryOrm.setMaxRows(int maxRows)
           
protected  CustomFindWhere CustomFindWhereImpl.where()
           
 FindWhere<BEAN> FindWhereImpl.where()
           
 FindWhere<BEAN> FindOrderBy.where()
          Set the where clause.
 FindWhere<BEAN> FindQueryOrm.where()
           
 CustomFindWhere CustomFindQuery.where()
          Set the where clause.
 FindWhere<BEAN> FindQuery.where()
          Set the where clause.
 CustomFindWhere CustomFindOrderBy.where()
          Set the where clause.
 CustomFindWhere CustomFindOrderByImpl.where()
           
 FindWhere<BEAN> FindOrderByImpl.where()
           
 CustomFindWhere CustomFindQueryOrm.where()
           
 

Uses of OrmException in com.jpattern.orm.query.sql
 

Methods in com.jpattern.orm.query.sql that throw OrmException
 SqlBatchUpdateQuery PlainSqlExecutor.batchUpdate(List<String> sqls)
           
 SqlBatchUpdateQuery SqlExecutor.batchUpdate(List<String> sqls)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 SqlBatchUpdateQuery PlainSqlExecutor.batchUpdate(String sql, BatchPreparedStatementSetter psc)
           
 SqlBatchUpdateQuery SqlExecutor.batchUpdate(String sql, BatchPreparedStatementSetter psc)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 SqlBatchUpdateQuery PlainSqlExecutor.batchUpdate(String sql, List<Object[]> args)
           
 SqlBatchUpdateQuery SqlExecutor.batchUpdate(String sql, List<Object[]> args)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 SqlExecuteQuery PlainSqlExecutor.executeQuery(String sql)
           
 SqlExecuteQuery SqlExecutor.executeQuery(String sql)
          Issue a single SQL execute, typically a DDL statement.
<T> T
PlainSqlFindQuery.find(ResultSetReader<T> rse)
           
<T> List<T>
PlainSqlFindQuery.find(ResultSetRowReader<T> rsrr)
           
 BigDecimal PlainSqlFindQuery.findBigDecimal()
           
 boolean PlainSqlFindQuery.findBoolean()
           
 double PlainSqlFindQuery.findDouble()
           
 float PlainSqlFindQuery.findFloat()
           
 int PlainSqlFindQuery.findInt()
           
 List<Object[]> PlainSqlFindQuery.findList()
           
 long PlainSqlFindQuery.findLong()
           
 String PlainSqlFindQuery.findString()
           
<T> T
PlainSqlFindQuery.findUnique(ResultSetRowReader<T> rsrr)
           
 int SqlFindQuery.getMaxRows()
          Return the max rows for this query.
 int PlainSqlFindQuery.getMaxRows()
           
 SqlFindQuery SqlFindQuery.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 SqlFindQuery PlainSqlFindQuery.setMaxRows(int maxRows)
           
 SqlUpdateQuery PlainSqlExecutor.updateQuery(String sql, GeneratedKeyReader generatedKeyReader, Object... args)
           
 SqlUpdateQuery SqlExecutor.updateQuery(String sql, GeneratedKeyReader generatedKeyReader, Object... args)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 SqlUpdateQuery PlainSqlExecutor.updateQuery(String sql, Object... args)
           
 SqlUpdateQuery SqlExecutor.updateQuery(String sql, Object... args)
          Perform a single SQL update operation (such as an insert, update or delete statement).
 

Uses of OrmException in com.jpattern.orm.script
 

Methods in com.jpattern.orm.script that throw OrmException
 void ScriptExecutorImpl.execute(InputStream scriptStream)
           
 void ScriptExecutor.execute(InputStream scriptStream)
          Executes the script.
 void NullScriptExecutor.execute(InputStream scriptStream)
           
 void ScriptExecutorImpl.execute(InputStream scriptStream, Charset charset)
           
 void ScriptExecutor.execute(InputStream scriptStream, Charset charset)
          Executes the script.
 void NullScriptExecutor.execute(InputStream scriptStream, Charset charset)
           
 void ScriptExecutorImpl.execute(String script)
           
 void ScriptExecutor.execute(String script)
          Executes the script.
 void NullScriptExecutor.execute(String script)
           
 

Uses of OrmException in com.jpattern.orm.session
 

Methods in com.jpattern.orm.session that throw OrmException
 int[] SqlPerformer.batchUpdate(List<String> sqls)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 int[] NullSqlExecutor.batchUpdate(List<String> sqls)
           
 int[] PlainSqlPerformer.batchUpdate(List<String> sqls)
           
 int[] SqlPerformerStrategy.batchUpdate(List<String> sqls, int timeout)
           
 int[] NullSqlPerformerStrategy.batchUpdate(List<String> sqls, int timeout)
           
 int[] SqlPerformer.batchUpdate(String sql, BatchPreparedStatementSetter psc)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 int[] NullSqlExecutor.batchUpdate(String sql, BatchPreparedStatementSetter psc)
           
 int[] PlainSqlPerformer.batchUpdate(String sql, BatchPreparedStatementSetter psc)
           
 int[] SqlPerformerStrategy.batchUpdate(String sql, BatchPreparedStatementSetter psc, int timeout)
           
 int[] NullSqlPerformerStrategy.batchUpdate(String sql, BatchPreparedStatementSetter psc, int timeout)
           
 int[] SqlPerformer.batchUpdate(String sql, List<Object[]> args)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 int[] NullSqlExecutor.batchUpdate(String sql, List<Object[]> args)
           
 int[] PlainSqlPerformer.batchUpdate(String sql, List<Object[]> args)
           
 int[] SqlPerformerStrategy.batchUpdate(String sql, List<Object[]> args, int timeout)
           
 int[] NullSqlPerformerStrategy.batchUpdate(String sql, List<Object[]> args, int timeout)
           
<T> int
Session.delete(List<T> object)
          Delete the objects from the database
<T> int
OrmSession.delete(List<T> objects)
           
<T> int
Session.delete(T object)
          Delete one object from the database
<T> int
OrmSession.delete(T object)
           
 DeleteQuery Session.deleteQuery(Class<?> clazz)
          Delete the objects of a specific table
 DeleteQuery OrmSession.deleteQuery(Class<?> clazz)
           
 DeleteQuery Session.deleteQuery(Class<?> clazz, String alias)
          Delete the objects of a specific table
 DeleteQuery OrmSession.deleteQuery(Class<?> clazz, String alias)
           
<T> T
OrmSession.doInTransaction(TransactionCallback<T> transactionCallback)
           
<T> T
OrmSession.doInTransaction(TransactionDefinition transactionDefinition, TransactionCallback<T> transactionCallback)
           
 void SqlPerformer.execute(String sql)
          Issue a single SQL execute, typically a DDL statement.
 void NullSqlExecutor.execute(String sql)
           
 void PlainSqlPerformer.execute(String sql)
           
 void SqlPerformerStrategy.execute(String sql, int timeout)
           
 void NullSqlPerformerStrategy.execute(String sql, int timeout)
           
<T> boolean
Session.exist(Class<T> clazz, Object idValue)
          Return whether a Bean with a specific id exists in the DB.
<T> boolean
OrmSession.exist(Class<T> clazz, Object value)
           
<T> boolean
Session.exist(Class<T> clazz, Object[] idValues)
          Return whether a Bean with the specific ids exists in the DB.
<T> boolean
OrmSession.exist(Class<T> clazz, Object[] values)
           
<T> boolean
Session.exist(T object)
          Return whether a Bean exist in the DB using the Object type and id(s).
<T> boolean
OrmSession.exist(T object)
           
<T> T
Session.find(Class<T> clazz, Object idValue)
          Find a bean using is ID.
<T> T
OrmSession.find(Class<T> clazz, Object value)
           
<T> T
Session.find(Class<T> clazz, Object[] idValues)
          Find a bean using is IDs.
<T> T
OrmSession.find(Class<T> clazz, Object[] values)
           
<T> FindQuery<T>
Session.findQuery(Class<T> clazz)
          Create a new query
<T> FindQuery<T>
OrmSession.findQuery(Class<T> clazz)
           
<T> FindQuery<T>
Session.findQuery(Class<T> clazz, String alias)
          Create a new query
<T> FindQuery<T>
OrmSession.findQuery(Class<T> clazz, String alias)
           
 CustomFindQuery Session.findQuery(String selectClause, Class<?> clazz, String alias)
          Create a new query
 CustomFindQuery OrmSession.findQuery(String selectClause, Class<?> clazz, String alias)
           
<T> T
Session.findUnique(Class<T> clazz, Object idValue)
          Find a bean using is ID.
<T> T
OrmSession.findUnique(Class<T> clazz, Object value)
           
<T> T
Session.findUnique(Class<T> clazz, Object[] idValues)
          Find a bean using is IDs.
<T> T
OrmSession.findUnique(Class<T> clazz, Object[] values)
           
 Transaction NullSessionStrategy.getTransaction(TransactionDefinition transactionDefinition)
           
 Transaction SessionStrategy.getTransaction(TransactionDefinition transactionDefinition)
           
<T> T
SqlPerformerStrategy.query(String sql, int timeout, int maxRows, PreparedStatementSetter pss, ResultSetReader<T> rse)
           
<T> T
NullSqlPerformerStrategy.query(String sql, int timeout, int maxRows, PreparedStatementSetter pss, ResultSetReader<T> rse)
           
<T> T
SqlPerformer.query(String sql, ResultSetReader<T> rse, Collection<?> args)
          Execute a query given static SQL, reading the ResultSet with a IResultSetReader.
<T> T
NullSqlExecutor.query(String sql, ResultSetReader<T> rse, Collection<?> args)
           
<T> T
PlainSqlPerformer.query(String sql, ResultSetReader<T> rse, Collection<?> args)
           
<T> T
SqlPerformer.query(String sql, ResultSetReader<T> rse, Object... args)
          Execute a query given static SQL, reading the ResultSet with a IResultSetReader.
<T> T
NullSqlExecutor.query(String sql, ResultSetReader<T> rse, Object... args)
           
<T> T
PlainSqlPerformer.query(String sql, ResultSetReader<T> rse, Object... args)
           
<T> List<T>
SqlPerformer.query(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
          Execute a query given static SQL, reading the ResultSet with a ResultSetRowReader.
<T> List<T>
NullSqlExecutor.query(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
           
<T> List<T>
PlainSqlPerformer.query(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
           
<T> List<T>
SqlPerformer.query(String sql, ResultSetRowReader<T> rsrr, Object... args)
          Execute a query given static SQL, reading the ResultSet with a ResultSetRowReader.
<T> List<T>
NullSqlExecutor.query(String sql, ResultSetRowReader<T> rsrr, Object... args)
           
<T> List<T>
PlainSqlPerformer.query(String sql, ResultSetRowReader<T> rsrr, Object... args)
           
 Object[] SqlPerformer.queryForArray(String sql, Collection<?> args)
          Execute a query given static SQL and read the result creating an ordered array with the extracted column values (return null if no rows are returned)
 Object[] NullSqlExecutor.queryForArray(String sql, Collection<?> args)
           
 Object[] PlainSqlPerformer.queryForArray(String sql, Collection<?> values)
           
 Object[] SqlPerformer.queryForArray(String sql, Object... args)
          Execute a query given static SQL and read the result creating an ordered array with the extracted column values (return null if no rows are returned)
 Object[] NullSqlExecutor.queryForArray(String sql, Object... args)
           
 Object[] PlainSqlPerformer.queryForArray(String sql, Object... values)
           
 BigDecimal SqlPerformer.queryForBigDecimal(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as a BigDecimal value (return null if no rows are returned)
 BigDecimal NullSqlExecutor.queryForBigDecimal(String sql, Collection<?> args)
           
 BigDecimal PlainSqlPerformer.queryForBigDecimal(String sql, Collection<?> values)
           
 BigDecimal SqlPerformer.queryForBigDecimal(String sql, Object... args)
          Execute a query given static SQL and read the result as a BigDecimal value (return null if no rows are returned)
 BigDecimal NullSqlExecutor.queryForBigDecimal(String sql, Object... args)
           
 BigDecimal PlainSqlPerformer.queryForBigDecimal(String sql, Object... values)
           
 Boolean SqlPerformer.queryForBoolean(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as a boolean value (return null if no rows are returned)
 Boolean NullSqlExecutor.queryForBoolean(String sql, Collection<?> args)
           
 Boolean PlainSqlPerformer.queryForBoolean(String sql, Collection<?> values)
           
 Boolean SqlPerformer.queryForBoolean(String sql, Object... args)
          Execute a query given static SQL and read the result as a boolean value (return null if no rows are returned)
 Boolean NullSqlExecutor.queryForBoolean(String sql, Object... args)
           
 Boolean PlainSqlPerformer.queryForBoolean(String sql, Object... values)
           
 Double SqlPerformer.queryForDouble(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as a double value (return null if no rows are returned)
 Double NullSqlExecutor.queryForDouble(String sql, Collection<?> args)
           
 Double PlainSqlPerformer.queryForDouble(String sql, Collection<?> values)
           
 Double SqlPerformer.queryForDouble(String sql, Object... args)
          Execute a query given static SQL and read the result as a double value (return null if no rows are returned)
 Double NullSqlExecutor.queryForDouble(String sql, Object... args)
           
 Double PlainSqlPerformer.queryForDouble(String sql, Object... values)
           
 Float SqlPerformer.queryForFloat(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as a float value (return null if no rows are returned)
 Float NullSqlExecutor.queryForFloat(String sql, Collection<?> args)
           
 Float PlainSqlPerformer.queryForFloat(String sql, Collection<?> values)
           
 Float SqlPerformer.queryForFloat(String sql, Object... args)
          Execute a query given static SQL and read the result as a float value (return null if no rows are returned)
 Float NullSqlExecutor.queryForFloat(String sql, Object... args)
           
 Float PlainSqlPerformer.queryForFloat(String sql, Object... values)
           
 Integer SqlPerformer.queryForInt(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as an int value (return null if no rows are returned)
 Integer NullSqlExecutor.queryForInt(String sql, Collection<?> args)
           
 Integer PlainSqlPerformer.queryForInt(String sql, Collection<?> values)
           
 Integer SqlPerformer.queryForInt(String sql, Object... args)
          Execute a query given static SQL and read the result as an int value (return null if no rows are returned)
 Integer NullSqlExecutor.queryForInt(String sql, Object... args)
           
 Integer PlainSqlPerformer.queryForInt(String sql, Object... values)
           
 List<Object[]> SqlPerformer.queryForList(String sql, Collection<?> args)
          Execute a query given static SQL and read the result creating a List of all the ordered arrays with the extracted column values for every row.
 List<Object[]> NullSqlExecutor.queryForList(String sql, Collection<?> args)
           
 List<Object[]> PlainSqlPerformer.queryForList(String sql, Collection<?> values)
           
 List<Object[]> SqlPerformer.queryForList(String sql, Object... args)
          Execute a query given static SQL and read the result creating a List of all the ordered arrays with the extracted column values for every row.
 List<Object[]> NullSqlExecutor.queryForList(String sql, Object... args)
           
 List<Object[]> PlainSqlPerformer.queryForList(String sql, Object... values)
           
 Long SqlPerformer.queryForLong(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as an long value (return null if no rows are returned)
 Long NullSqlExecutor.queryForLong(String sql, Collection<?> args)
           
 Long PlainSqlPerformer.queryForLong(String sql, Collection<?> values)
           
 Long SqlPerformer.queryForLong(String sql, Object... args)
          Execute a query given static SQL and read the result as an long value (return null if no rows are returned)
 Long NullSqlExecutor.queryForLong(String sql, Object... args)
           
 Long PlainSqlPerformer.queryForLong(String sql, Object... values)
           
 String SqlPerformer.queryForString(String sql, Collection<?> args)
          Execute a query given static SQL and read the result as a String value (return null if no rows are returned)
 String NullSqlExecutor.queryForString(String sql, Collection<?> args)
           
 String PlainSqlPerformer.queryForString(String sql, Collection<?> values)
           
 String SqlPerformer.queryForString(String sql, Object... args)
          Execute a query given static SQL and read the result as a String value (return null if no rows are returned)
 String NullSqlExecutor.queryForString(String sql, Object... args)
           
 String PlainSqlPerformer.queryForString(String sql, Object... values)
           
<T> T
SqlPerformer.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
          Execute a query given static SQL, reading the ResultSet with a ResultSetRowReader.
<T> T
NullSqlExecutor.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
           
<T> T
PlainSqlPerformer.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Collection<?> args)
           
<T> T
SqlPerformer.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Object... args)
          Execute a query given static SQL, reading the ResultSet with a ResultSetRowReader.
<T> T
NullSqlExecutor.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Object... args)
           
<T> T
PlainSqlPerformer.queryForUnique(String sql, ResultSetRowReader<T> rsrr, Object... args)
           
<T> List<T>
Session.save(Collection<T> objects)
          Persist the new objects in the database
<T> List<T>
OrmSession.save(Collection<T> objects)
           
<T> T
Session.save(T object)
          Persist the new object in the database
<T> T
OrmSession.save(T object)
           
<T> List<T>
Session.saveOrUpdate(Collection<T> objects)
          For each object in the list, update the object if it exists, otherwise save it
<T> List<T>
OrmSession.saveOrUpdate(Collection<T> objects)
           
<T> T
Session.saveOrUpdate(T object)
          Update the object if it exists, otherwise save it
<T> T
OrmSession.saveOrUpdate(T object)
           
 ScriptExecutor Session.scriptExecutor()
          A script executor useful to execute multiple sql statement from files.
 ScriptExecutor OrmSession.scriptExecutor()
           
 SqlPerformer SessionSqlPerformer.sqlPerformer()
          Return an executor to perform plain sql queries.
 SqlPerformer OrmSession.sqlPerformer()
           
 SqlPerformerStrategy NullSessionStrategy.sqlPerformerStrategy()
           
 SqlPerformerStrategy SessionStrategy.sqlPerformerStrategy()
           
 Transaction Session.transaction()
          Begin a transaction or participate to an existing one using the default ITransactionDefinition
 Transaction OrmSession.transaction()
           
 Transaction Session.transaction(TransactionDefinition transactionDefinition)
          Begin a or participate to an existing one depending on the specific transactionDefinition
 Transaction OrmSession.transaction(TransactionDefinition transactionDefinition)
           
<T> List<T>
Session.update(Collection<T> objects)
          Update the values of the existing objects in the database
<T> List<T>
OrmSession.update(Collection<T> objects)
           
 int SqlPerformer.update(String sql, Collection<?> args)
          Perform a single SQL update operation (such as an insert, update or delete statement).
 int NullSqlExecutor.update(String sql, Collection<?> args)
           
 int PlainSqlPerformer.update(String sql, Collection<?> args)
           
 int SqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, Collection<?> args)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 int NullSqlExecutor.update(String sql, GeneratedKeyReader generatedKeyReader, Collection<?> args)
           
 int PlainSqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, Collection<?> args)
           
 int SqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, Object... args)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 int NullSqlExecutor.update(String sql, GeneratedKeyReader generatedKeyExtractor, Object... args)
           
 int PlainSqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, Object... args)
           
 int SqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, PreparedStatementSetter psc)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 int NullSqlExecutor.update(String sql, GeneratedKeyReader generatedKeyReader, PreparedStatementSetter psc)
           
 int PlainSqlPerformer.update(String sql, GeneratedKeyReader generatedKeyReader, PreparedStatementSetter psc)
           
 int SqlPerformerStrategy.update(String sql, int timeout, GeneratedKeyReader generatedKeyReader, PreparedStatementSetter pss)
           
 int NullSqlPerformerStrategy.update(String sql, int timeout, GeneratedKeyReader generatedKeyReader, PreparedStatementSetter psc)
           
 int SqlPerformerStrategy.update(String sql, int timeout, PreparedStatementSetter pss)
           
 int NullSqlPerformerStrategy.update(String sql, int timeout, PreparedStatementSetter psc)
           
 int SqlPerformer.update(String sql, Object... args)
          Perform a single SQL update operation (such as an insert, update or delete statement).
 int NullSqlExecutor.update(String sql, Object... args)
           
 int PlainSqlPerformer.update(String sql, Object... args)
           
 int SqlPerformer.update(String sql, PreparedStatementSetter psc)
          Perform a single SQL update operation (such as an insert, update or delete statement).
 int NullSqlExecutor.update(String sql, PreparedStatementSetter psc)
           
 int PlainSqlPerformer.update(String sql, PreparedStatementSetter psc)
           
<T> T
Session.update(T object)
          Update the values of an existing object in the database
<T> T
OrmSession.update(T object)
           
 UpdateQuery Session.updateQuery(Class<?> clazz)
          Update the objects of a specific TABLE
 UpdateQuery OrmSession.updateQuery(Class<?> clazz)
           
 UpdateQuery Session.updateQuery(Class<?> clazz, String alias)
          Update the objects of a specific TABLE
 UpdateQuery OrmSession.updateQuery(Class<?> clazz, String alias)
           
 

Uses of OrmException in com.jpattern.orm.session.datasource
 

Methods in com.jpattern.orm.session.datasource that throw OrmException
 void IConnection.addCaller(IConnectionCaller connectionCaller)
           
 void DataSourceConnection.addCaller(IConnectionCaller connectionCaller)
           
 int[] DataSourceSqlPerformerStrategy.batchUpdate(List<String> sqls, int timeout)
           
 int[] DataSourceSqlPerformerStrategy.batchUpdate(String sql, BatchPreparedStatementSetter psc, int timeout)
           
 int[] DataSourceSqlPerformerStrategy.batchUpdate(String sql, List<Object[]> args, int timeout)
           
 void IConnection.close(IConnectionCaller connectionCaller)
           
 void DataSourceConnection.close(IConnectionCaller connectionCaller)
           
 void DataSourceTransaction.commit()
           
 void IConnection.commit()
           
 void DataSourceConnection.commit()
           
 IStatement IConnection.createStatement()
           
 IStatement DataSourceConnection.createStatement()
           
 void DataSourceSqlPerformerStrategy.execute(String sql, int timeout)
           
 Transaction DataSourceSessionStrategy.getTransaction(TransactionDefinition transactionDefinition)
           
 boolean IConnection.isClosed()
           
 boolean DataSourceConnection.isClosed()
           
 boolean IConnection.isValid()
           
 boolean DataSourceConnection.isValid()
           
 PreparedStatement IConnection.prepareStatement(String sql)
           
 PreparedStatement DataSourceConnection.prepareStatement(String sql)
           
 PreparedStatement IConnection.prepareStatement(String sql, String[] generatedColumnNames)
           
 PreparedStatement DataSourceConnection.prepareStatement(String sql, String[] generatedColumnNames)
           
<T> T
DataSourceSqlPerformerStrategy.query(String sql, int timeout, int maxRows, PreparedStatementSetter pss, ResultSetReader<T> rse)
           
 void DataSourceTransaction.rollback()
           
 void IConnection.rollback()
           
 void DataSourceConnection.rollback()
           
 void IConnection.setReadOnly(boolean readOnly)
           
 void DataSourceConnection.setReadOnly(boolean readOnly)
           
 void DataSourceTransaction.setRollbackOnly()
           
 void IConnection.setRollbackOnly()
           
 void DataSourceConnection.setRollbackOnly()
           
 void IConnection.setTransactionIsolation(int transactionIsolation)
           
 void DataSourceConnection.setTransactionIsolation(int transactionIsolation)
           
 SqlPerformerStrategy DataSourceSessionStrategy.sqlPerformerStrategy()
           
 int DataSourceSqlPerformerStrategy.update(String sql, int timeout, GeneratedKeyReader generatedKeyExtractor, PreparedStatementSetter pss)
           
 int DataSourceSqlPerformerStrategy.update(String sql, int timeout, PreparedStatementSetter pss)
           
 

Uses of OrmException in com.jpattern.orm.transaction
 

Methods in com.jpattern.orm.transaction that throw OrmException
 void NullTransaction.commit()
           
 void Transaction.commit()
           
 void NullTransaction.rollback()
           
 void Transaction.rollback()
           
 void NullTransaction.setRollbackOnly()
           
 void Transaction.setRollbackOnly()
           
 

Uses of OrmException in com.jpattern.orm.validator
 

Subclasses of OrmException in com.jpattern.orm.validator
 class OrmJSR303ValidatorException
           
 class OrmOvalValidatorException
           
 



Copyright © 2013. All Rights Reserved.