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

Packages that use OrmException
com.googlecode.jpattern.orm   
com.googlecode.jpattern.orm.query   
com.googlecode.jpattern.orm.query.sql   
com.googlecode.jpattern.orm.script   
com.googlecode.jpattern.orm.session   
com.googlecode.jpattern.orm.session.datasource   
com.googlecode.jpattern.orm.session.jdbctemplate   
 

Uses of OrmException in com.googlecode.jpattern.orm
 

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

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

Methods in com.googlecode.jpattern.orm.query that throw OrmException
 String OrmClassToolMapNameSolver.alias(Class<?> clazz)
           
 String NullNameSolver.alias(Class<?> clazz)
           
 String INameSolver.alias(Class<?> clazz)
          Return the alias of a registered class
 ISqlBatchUpdate ISqlExecutor.batchUpdate(List<String> sqls)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 ISqlBatchUpdate SqlExecutor.batchUpdate(List<String> sqls)
           
 ISqlBatchUpdate ISqlExecutor.batchUpdate(String sql, IPreparedStatementCreator psc)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 ISqlBatchUpdate SqlExecutor.batchUpdate(String sql, IPreparedStatementCreator psc)
           
 ISqlBatchUpdate ISqlExecutor.batchUpdate(String sql, List<Object[]> args)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 ISqlBatchUpdate SqlExecutor.batchUpdate(String sql, List<Object[]> args)
           
 ISqlExecute ISqlExecutor.execute(String sql)
          Issue a single SQL execute, typically a DDL statement.
 ISqlExecute SqlExecutor.execute(String sql)
           
 void OrmQuery.find(IOrmSerialResultReader<T> srr)
           
 void IOrmQuery.find(IOrmSerialResultReader<T> srr)
          Execute the query and for every object created call the IOrmSerialResultReader.
<T> T
ICustomQuery.find(IResultSetReader<T> rse)
          Execute the query reading the ResultSet with a IResultSetReader.
<T> T
OrmCustomQuery.find(IResultSetReader<T> rse)
           
 BigDecimal ICustomQuery.findBigDecimal()
          Execute the query and read the result as a BigDecimal value
 BigDecimal OrmCustomQuery.findBigDecimal()
           
 boolean ICustomQuery.findBoolean()
          Execute the query and read the result as a boolean value
 boolean OrmCustomQuery.findBoolean()
           
 double ICustomQuery.findDouble()
          Execute the query and read the result as a double value
 double OrmCustomQuery.findDouble()
           
 float ICustomQuery.findFloat()
          Execute the query and read the result as a float value
 float OrmCustomQuery.findFloat()
           
 int ICustomQuery.findInt()
          Execute the query and read the result as an int value
 int OrmCustomQuery.findInt()
           
 List<Object[]> ICustomQuery.findList()
          Execute the query and read the result creating a List of all the ordered arrays with the extracted column values for every row.
 List<T> IOrmQuery.findList()
          Execute the query returning the list of objects.
 long ICustomQuery.findLong()
          Execute the query and read the result as an long value
 long OrmCustomQuery.findLong()
           
 long IOrmQuery.findRowCount()
          Return the count of entities this query should return.
 String ICustomQuery.findString()
          Execute the wuery and read the result as a String value
 String OrmCustomQuery.findString()
           
 T IOrmQuery.findUnique()
          Execute the query returning either a single bean or null (if no matching bean is found).
 String IOrmQuery.getGeneratedRowCountSql()
          Return the sql that was generated for to return the row count of the execution of this query.
 int OrmQuery.getMaxRows()
           
 int OrmCustomQuery.getMaxRows()
           
 int IQuery.getMaxRows()
          Return the max rows for this query.
 boolean OrmQuery.isDistinct()
           
 boolean IOrmQuery.isDistinct()
          return if use Distinct in the select clause
 IJoin ABaseOrmQuery.join()
           
 IJoin IBaseOrmQuery.join()
          Add join tables to the from clause.
 IOrderBy ABaseOrmQuery.orderBy()
           
 IOrderBy IBaseOrmQuery.orderBy()
          Set the order by clause.
 void OrmClassToolMapNameSolver.register(Class<?> clazz)
           
 void INameSolver.register(Class<?> clazz)
          Register a class and use the name of the class as alias to resolve the property name.
 void OrmClassToolMapNameSolver.register(Class<?> clazz, String alias)
           
 void INameSolver.register(Class<?> clazz, String alias)
          Register a class and use the passed alias parameter as alias to resolve the property name.
 IOrmQuery<T> IOrmQuery.setDistinct()
          use Distinct in the select clause
 IOrmQuery<T> OrmQuery.setMaxRows(int maxRows)
           
 IOrmCustomQuery OrmCustomQuery.setMaxRows(int maxRows)
           
 ISqlQuery ISqlQuery.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 IOrmCustomQuery IOrmCustomQuery.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 IQuery IQuery.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 IOrmQuery<T> IOrmQuery.setMaxRows(int maxRows)
          Set the maximum number of rows to return in the query.
 String OrmClassToolMapNameSolver.solvePropertyName(String property)
           
 String INameSolver.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 defaultValue)
           
 String NullNameSolver.solvePropertyName(String property, String defaultValue)
           
 String INameSolver.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.solvePropertyNameWithoutAlias(String property)
           
 String NullNameSolver.solvePropertyNameWithoutAlias(String property)
           
 String INameSolver.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.
 ISqlUpdate ISqlExecutor.update(String sql, IGeneratedKeyReader generatedKeyReader, Object... args)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 ISqlUpdate SqlExecutor.update(String sql, IGeneratedKeyReader generatedKeyReader, Object... args)
           
 ISqlUpdate ISqlExecutor.update(String sql, Object... args)
          Perform a single SQL update operation (such as an insert, update or delete statement).
 ISqlUpdate SqlExecutor.update(String sql, Object... args)
           
 IExpression ABaseOrmQuery.where()
           
 IExpression IBaseOrmQuery.where()
          Set the where clause.
 

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

Methods in com.googlecode.jpattern.orm.query.sql that throw OrmException
<T> T
SqlQuery.find(IResultSetReader<T> rse)
           
 BigDecimal SqlQuery.findBigDecimal()
           
 boolean SqlQuery.findBoolean()
           
 double SqlQuery.findDouble()
           
 float SqlQuery.findFloat()
           
 int SqlQuery.findInt()
           
 List<Object[]> SqlQuery.findList()
           
 long SqlQuery.findLong()
           
 String SqlQuery.findString()
           
 int SqlQuery.getMaxRows()
           
 ISqlQuery SqlQuery.setMaxRows(int maxRows)
           
 

Uses of OrmException in com.googlecode.jpattern.orm.script
 

Methods in com.googlecode.jpattern.orm.script that throw OrmException
 void NullScriptExecutor.execute(InputStream scriptStream)
           
 void IScriptExecutor.execute(InputStream scriptStream)
          Executes the script and performs a 'commit' at the end of the execution.
 void ScriptExecutor.execute(InputStream scriptStream)
           
 void NullScriptExecutor.execute(InputStream scriptStream, Charset charset)
           
 void IScriptExecutor.execute(InputStream scriptStream, Charset charset)
          Executes the script and performs a 'commit' at the end of the execution.
 void ScriptExecutor.execute(InputStream scriptStream, Charset charset)
           
 void NullScriptExecutor.execute(InputStream scriptStream, Charset charset, int commitEveryStatements)
           
 void IScriptExecutor.execute(InputStream scriptStream, Charset charset, int commitEveryStatements)
          Executes the script and performs a 'commit' every n statements and at the end of the script.
 void ScriptExecutor.execute(InputStream scriptStream, Charset charset, int commitEveryStatements)
           
 void NullScriptExecutor.execute(InputStream scriptStream, int commitEveryStatements)
           
 void IScriptExecutor.execute(InputStream scriptStream, int commitEveryStatements)
          Executes the script and performs a 'commit' every n statements and at the end of the script.
 void ScriptExecutor.execute(InputStream scriptStream, int commitEveryStatements)
           
 void NullScriptExecutor.execute(String script)
           
 void IScriptExecutor.execute(String script)
          Executes the script and performs a 'commit' at the end of the execution.
 void ScriptExecutor.execute(String script)
           
 void NullScriptExecutor.execute(String script, int commitEveryStatements)
           
 void IScriptExecutor.execute(String script, int commitEveryStatements)
          Executes the script and performs a 'commit' every n statements and at the end of the script.
 void ScriptExecutor.execute(String script, int commitEveryStatements)
           
 

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

Methods in com.googlecode.jpattern.orm.session that throw OrmException
 int[] NullSqlExecutor.batchUpdate(List<String> sqls)
           
 int[] ISqlPerformer.batchUpdate(List<String> sqls)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 int[] NullSqlExecutor.batchUpdate(String sql, IPreparedStatementCreator psc)
           
 int[] ISqlPerformer.batchUpdate(String sql, IPreparedStatementCreator psc)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 int[] NullSqlExecutor.batchUpdate(String sql, List<Object[]> args)
           
 int[] ISqlPerformer.batchUpdate(String sql, List<Object[]> args)
          Issue multiple SQL updates on a single JDBC Statement using batching.
 ITransaction NullSession.beginTransaction()
           
 ITransaction ISession.beginTransaction()
          Open a new Transaction
 void NullSession.close()
           
 void ISession.close()
          Close the current session and release the connection to the database.
 void ITransaction.commit()
           
 void NullTransaction.commit()
           
 IDelete ISession.delete(Class<?> clazz)
          Delete the objects of a specific table
 IDelete ASession.delete(Class<?> clazz)
           
 IDelete ISession.delete(Class<?> clazz, String alias)
          Delete the objects of a specific table
 IDelete ASession.delete(Class<?> clazz, String alias)
           
<T> void
ISession.delete(List<T> object)
          Delete the objects from the database
<T> void
ASession.delete(List<T> objects)
           
<T> void
ISession.delete(T object)
          Delete one object from the database
<T> void
ASession.delete(T object)
           
 void NullSqlExecutor.execute(String sql)
           
 void ISqlPerformer.execute(String sql)
          Issue a single SQL execute, typically a DDL statement.
<T> T
ISession.find(Class<T> clazz, Object idValue)
          Load a registered Object from the database
<T> T
ASession.find(Class<T> clazz, Object value)
           
<T> T
ISession.find(Class<T> clazz, Object[] idValues)
          Load a registered Object from the database
<T> T
ASession.find(Class<T> clazz, Object[] values)
           
<T> IOrmQuery<T>
ISession.findQuery(Class<T> clazz, Class<?>... joinClasses)
          Create a new query
<T> IOrmQuery<T>
ASession.findQuery(Class<T> clazz, Class<?>... joinClasses)
           
<T> IOrmQuery<T>
ISession.findQuery(Class<T> clazz, String alias)
          Create a new query
<T> IOrmQuery<T>
ASession.findQuery(Class<T> clazz, String alias)
           
 IOrmCustomQuery ISession.findQuery(String selectClause, Class<?> clazz, Class<?>... joinClasses)
          Create a new custom query
 IOrmCustomQuery ASession.findQuery(String selectClause, Class<?> clazz, Class<?>... joinClasses)
           
 IOrmCustomQuery ISession.findQuery(String selectClause, Class<?> clazz, String alias)
          Create a new query
 IOrmCustomQuery ASession.findQuery(String selectClause, Class<?> clazz, String alias)
           
<T> T
NullSqlExecutor.query(String sql, IResultSetReader<T> rse, Object... args)
           
<T> T
ISqlPerformer.query(String sql, IResultSetReader<T> rse, Object... args)
          Execute a query given static SQL, reading the ResultSet with a IResultSetReader.
 Object[] NullSqlExecutor.queryForArray(String sql, Object... args)
           
 Object[] ISqlPerformer.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[] ASqlPerformer.queryForArray(String sql, Object... values)
           
 BigDecimal NullSqlExecutor.queryForBigDecimal(String sql, Object... args)
           
 BigDecimal ISqlPerformer.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 ASqlPerformer.queryForBigDecimal(String sql, Object... values)
           
 Boolean NullSqlExecutor.queryForBoolean(String sql, Object... args)
           
 Boolean ISqlPerformer.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 ASqlPerformer.queryForBoolean(String sql, Object... values)
           
 Double NullSqlExecutor.queryForDouble(String sql, Object... args)
           
 Double ISqlPerformer.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 ASqlPerformer.queryForDouble(String sql, Object... values)
           
 Float NullSqlExecutor.queryForFloat(String sql, Object... args)
           
 Float ISqlPerformer.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 ASqlPerformer.queryForFloat(String sql, Object... values)
           
 Integer NullSqlExecutor.queryForInt(String sql, Object... args)
           
 Integer ISqlPerformer.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 ASqlPerformer.queryForInt(String sql, Object... values)
           
 List<Object[]> NullSqlExecutor.queryForList(String sql, Object... args)
           
 List<Object[]> ISqlPerformer.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[]> ASqlPerformer.queryForList(String sql, Object... values)
           
 Long NullSqlExecutor.queryForLong(String sql, Object... args)
           
 Long ISqlPerformer.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 ASqlPerformer.queryForLong(String sql, Object... values)
           
 String NullSqlExecutor.queryForString(String sql, Object... args)
           
 String ISqlPerformer.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 ASqlPerformer.queryForString(String sql, Object... values)
           
 void ITransaction.rollback()
           
 void NullTransaction.rollback()
           
<T> void
ISession.save(List<T> objects)
          Persist the new objects in the database
<T> void
ASession.save(List<T> objects)
           
<T> void
ISession.save(T object)
          Persist the new object in the database
<T> void
ASession.save(T object)
           
 IScriptExecutor ISession.scriptExecutor()
          A script executor useful to execute multiple sql statement from files.
 IScriptExecutor ASession.scriptExecutor()
           
 void ITransaction.setRollbackOnly()
           
 void NullTransaction.setRollbackOnly()
           
 ISqlPerformer NullSession.sqlPerformer()
           
 ISqlPerformer ISessionSqlPerformer.sqlPerformer()
          Return an executor to perform plain sql queries.
 IUpdate ISession.update(Class<?> clazz)
          Update the objects of a specific TABLE
 IUpdate ASession.update(Class<?> clazz)
           
 IUpdate ISession.update(Class<?> clazz, String alias)
          Update the objects of a specific TABLE
 IUpdate ASession.update(Class<?> clazz, String alias)
           
<T> void
ISession.update(List<T> objects)
          Update the values of the existing objects in the database
<T> void
ASession.update(List<T> objects)
           
 int NullSqlExecutor.update(String sql, IGeneratedKeyReader generatedKeyExtractor, Object... args)
           
 int ISqlPerformer.update(String sql, IGeneratedKeyReader generatedKeyReader, Object... args)
          Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters.
 int NullSqlExecutor.update(String sql, Object... args)
           
 int ISqlPerformer.update(String sql, Object... args)
          Perform a single SQL update operation (such as an insert, update or delete statement).
<T> void
ISession.update(T object)
          Update the values of an existing object in the database
<T> void
ASession.update(T object)
           
 

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

Methods in com.googlecode.jpattern.orm.session.datasource that throw OrmException
 int[] DataSourceSqlPerformer.batchUpdate(List<String> sqls)
           
 int[] DataSourceSqlPerformer.batchUpdate(String sql, IPreparedStatementCreator psc)
           
 int[] DataSourceSqlPerformer.batchUpdate(String sql, List<Object[]> args)
           
 ITransaction DataSourceSession.beginTransaction()
           
 void DataSourceSession.close()
           
 void DataSourceTransaction.commit()
           
 void DataSourceSqlPerformer.execute(String sql)
           
<T> T
DataSourceSqlPerformer.query(String sql, IResultSetReader<T> rse, Object... args)
           
 void DataSourceTransaction.rollback()
           
 void DataSourceTransaction.setRollbackOnly()
           
 ISqlPerformer DataSourceSession.sqlPerformer()
           
 int DataSourceSqlPerformer.update(String sql, IGeneratedKeyReader generatedKeyExtractor, Object... args)
           
 int DataSourceSqlPerformer.update(String sql, Object... args)
           
 

Constructors in com.googlecode.jpattern.orm.session.datasource that throw OrmException
DataSourceTransaction(Connection conn)
           
 

Uses of OrmException in com.googlecode.jpattern.orm.session.jdbctemplate
 

Methods in com.googlecode.jpattern.orm.session.jdbctemplate that throw OrmException
 int[] JdbcTemplateSqlPerformer.batchUpdate(List<String> sqls)
           
 int[] JdbcTemplateSqlPerformer.batchUpdate(String sql, IPreparedStatementCreator psc)
           
 int[] JdbcTemplateSqlPerformer.batchUpdate(String sql, List<Object[]> args)
           
 ITransaction JdbcTemplateSession.beginTransaction()
           
 void JdbcTemplateSession.close()
           
 void JdbcTemplateTransaction.commit()
           
 void JdbcTemplateSqlPerformer.execute(String sql)
           
<T> T
JdbcTemplateSqlPerformer.query(String sql, IResultSetReader<T> rse, Object... args)
           
 void JdbcTemplateTransaction.rollback()
           
 void JdbcTemplateTransaction.setRollbackOnly()
           
 ISqlPerformer JdbcTemplateSession.sqlPerformer()
           
 int JdbcTemplateSqlPerformer.update(String sql, IGeneratedKeyReader generatedKeyReader, Object... args)
           
 int JdbcTemplateSqlPerformer.update(String sql, Object... args)
           
 



Copyright © 2011. All Rights Reserved.