Uses of Interface
com.j256.ormlite.support.DatabaseAccess

Packages that use DatabaseAccess
com.j256.ormlite.db Per-database type and SQL information. 
com.j256.ormlite.jdbc   
com.j256.ormlite.stmt SQL statement generation and processing. 
com.j256.ormlite.support Database support classes. 
 

Uses of DatabaseAccess in com.j256.ormlite.db
 

Methods in com.j256.ormlite.db that return DatabaseAccess
 DatabaseAccess DatabaseType.buildDatabaseAccess(DataSource dataSource)
          Return a newly built database access object which possibly is attached to the provided data source.
 DatabaseAccess BaseDatabaseType.buildDatabaseAccess(DataSource dataSource)
           
 

Uses of DatabaseAccess in com.j256.ormlite.jdbc
 

Classes in com.j256.ormlite.jdbc that implement DatabaseAccess
 class JdbcDatabaseAccess
          Implementation of DatabaseAccess interface in JDBC land.
 

Uses of DatabaseAccess in com.j256.ormlite.stmt
 

Methods in com.j256.ormlite.stmt with parameters of type DatabaseAccess
 SelectIterator<T,ID> StatementExecutor.buildIterator(BaseJdbcDao<T,ID> classDao, DatabaseAccess jdbcTemplate)
          Create and return an SelectIterator for the class with a jdbcTemplate an the default mapped query for all statement.
 SelectIterator<T,ID> StatementExecutor.buildIterator(BaseJdbcDao<T,ID> classDao, DatabaseAccess jdbcTemplate, PreparedQuery<T> preparedQuery)
          Create and return an SelectIterator for the class with a jdbcTemplate and mapped statement.
 RawResults StatementExecutor.buildIterator(DatabaseAccess jdbcTemplate, String query)
          Return a RawResults object associated with an internal iterator that matches the query argument.
 int StatementExecutor.create(DatabaseAccess template, T data)
          Create a new entry in the database from an object.
 int StatementExecutor.delete(DatabaseAccess template, T data)
          Delete an object from the database.
 int StatementExecutor.deleteIds(DatabaseAccess template, Collection<ID> ids)
          Delete a collection of objects from the database.
 int StatementExecutor.deleteObjects(DatabaseAccess template, Collection<T> datas)
          Delete a collection of objects from the database.
 PreparedStmt PreparedQuery.prepareSqlStatement(DatabaseAccess jdbcTemplate)
          Create and return the associated SQL prepared statement for the SQL JdbcTemplate.
 List<T> StatementExecutor.query(DatabaseAccess jdbcTemplate, PreparedQuery<T> preparedQuery)
          Return a list of all of the data in the table that matches the PreparedQuery.
 List<T> StatementExecutor.queryForAll(DatabaseAccess jdbcTemplate)
          Return a list of all of the data in the table.
 T StatementExecutor.queryForFirst(DatabaseAccess jdbcTemplate, PreparedQuery<T> preparedQuery)
          Return the first object that matches the PreparedQuery or null if none.
 T StatementExecutor.queryForId(DatabaseAccess template, ID id)
          Return the object associated with the id or null if none.
 RawResults StatementExecutor.queryRaw(DatabaseAccess jdbcTemplate, String query)
          Return a list of all of the data in the table that matches the PreparedQuery.
 int StatementExecutor.refresh(DatabaseAccess template, T data)
          Does a query for the object's Id and copies in each of the field values from the database to refresh the data parameter.
 int StatementExecutor.update(DatabaseAccess template, T data)
          Update an object in the database.
 int StatementExecutor.updateId(DatabaseAccess template, T data, ID newId)
          Update an object in the database to change its id to the newId parameter.
 

Uses of DatabaseAccess in com.j256.ormlite.support
 

Fields in com.j256.ormlite.support declared as DatabaseAccess
protected  DatabaseAccess SimpleDaoSupport.databaseAccess
           
 



Copyright © 2010. All Rights Reserved.