Uses of Class
org.jminor.common.db.exception.DatabaseException

Packages that use DatabaseException
org.jminor.common.db   
org.jminor.common.db.exception   
org.jminor.common.ui   
org.jminor.framework.client.model   
org.jminor.framework.client.ui   
org.jminor.framework.db   
org.jminor.framework.server   
org.jminor.framework.tools   
org.jminor.framework.tools.testing   
 

Uses of DatabaseException in org.jminor.common.db
 

Methods in org.jminor.common.db that throw DatabaseException
 void DatabaseConnection.Procedure.execute(DatabaseConnection connection, Object... arguments)
          Executes this procedure with the given connection
 List<Object> DatabaseConnection.Function.execute(DatabaseConnection connection, Object... arguments)
          Executes this function with the given connection
 List<?> DatabaseConnectionImpl.executeFunction(String functionID, Object... arguments)
          Executes the function with the given id
 List<?> DatabaseConnection.executeFunction(String functionID, Object... arguments)
          Executes the function with the given id
 void DatabaseConnectionImpl.executeProcedure(String procedureID, Object... arguments)
          Executes the procedure with the given id
 void DatabaseConnection.executeProcedure(String procedureID, Object... arguments)
          Executes the procedure with the given id
 int DatabaseConnectionImpl.queryInteger(String sql)
          Performs the given query and returns the result as an integer
 int DatabaseConnection.queryInteger(String sql)
          Performs the given query and returns the result as an integer
 

Uses of DatabaseException in org.jminor.common.db.exception
 

Subclasses of DatabaseException in org.jminor.common.db.exception
 class RecordModifiedException
          An exception indicating that the row in question has been modified since it was loaded.
 class RecordNotFoundException
          Exception used when an expected record was not found.
 

Uses of DatabaseException in org.jminor.common.ui
 

Methods in org.jminor.common.ui with parameters of type DatabaseException
 void DefaultExceptionHandler.handleDbException(DatabaseException dbException, JComponent dialogParent)
           
 

Uses of DatabaseException in org.jminor.framework.client.model
 

Methods in org.jminor.framework.client.model that throw DatabaseException
 List<Entity> EntityEditModel.delete()
          Deletes the active entity
 List<Entity> DefaultEntityEditModel.delete()
          Deletes the active entity
 List<Entity> EntityEditModel.delete(List<Entity> entities)
          Deletes the given entities, returns silently on recieving an empty list
 List<Entity> DefaultEntityEditModel.delete(List<Entity> entities)
          Deletes the given entities, returns silently on recieving an empty list
 void EntityTableModel.deleteSelected()
          Deletes the selected entities
 void DefaultEntityTableModel.deleteSelected()
          Deletes the selected entities
protected  void DefaultEntityEditModel.doDelete(List<Entity> entities)
          Deletes the given entities from the database
protected  List<Entity.Key> DefaultEntityEditModel.doInsert(List<Entity> entities)
          Inserts the given entities from the database
protected  List<Entity> DefaultEntityEditModel.doUpdate(List<Entity> entities)
          Updates the given entities in the database
 List<Entity.Key> EntityEditModel.insert()
          Performs a insert on the active entity
 List<Entity.Key> DefaultEntityEditModel.insert()
          Performs a insert on the active entity
 List<Entity.Key> EntityEditModel.insert(List<Entity> entities)
          Performs an insert on the given entities, returns silently on recieving an empty list
 List<Entity.Key> DefaultEntityEditModel.insert(List<Entity> entities)
          Performs an insert on the given entities, returns silently on recieving an empty list
 List<Entity> EntityEditModel.update()
          Performs a update on the active entity
 List<Entity> DefaultEntityEditModel.update()
          Performs a update on the active entity
 void EntityTableModel.update(List<Entity> entities)
          Updates the given Entities.
 List<Entity> EntityEditModel.update(List<Entity> entities)
          Updates the given Entities.
 void DefaultEntityTableModel.update(List<Entity> entities)
          Updates the given Entities.
 List<Entity> DefaultEntityEditModel.update(List<Entity> entities)
          Updates the given Entities.
 

Uses of DatabaseException in org.jminor.framework.client.ui
 

Methods in org.jminor.framework.client.ui that throw DatabaseException
 void EntityTablePanel.delete()
          Performs a delete on the active entity or if a table model is available, the selected entities
 void EntityTablePanel.viewSelectionDependencies()
          Shows a dialog containing lists of entities depending on the selected entities via foreign key
 

Uses of DatabaseException in org.jminor.framework.db
 

Methods in org.jminor.framework.db that throw DatabaseException
 void EntityConnection.delete(EntityCriteria criteria)
          Deletes the entities specified by the given criteria Performs a commit unless a transaction is open.
 void EntityConnection.delete(List<Entity.Key> entityKeys)
          Deletes the entities according to the given primary keys.
 List<?> EntityConnection.executeFunction(String functionID, Object... arguments)
          Executes the function with the given id
 void EntityConnection.executeProcedure(String procedureID, Object... arguments)
          Executes the procedure with the given id
 ReportResult EntityConnection.fillReport(ReportWrapper reportWrapper)
          Takes a ReportWrapper object using a JDBC datasource and returns an initialized ReportResult object
 List<Entity.Key> EntityConnection.insert(List<Entity> entities)
          Inserts the given entities, returning a list containing the primary keys of the inserted entities in the same order as they were received.
 byte[] EntityConnection.readBlob(Entity.Key primaryKey, String blobPropertyID)
          Reads the blob specified by the property identified by propertyID from the given entity
 List<Entity> EntityConnection.selectAll(String entityID)
          Selects all the entities of the given type
 Map<String,Collection<Entity>> EntityConnection.selectDependentEntities(Collection<Entity> entities)
          Returns the entities that depend on the given entities via foreign keys, mapped to corresponding entityIDs
 List<Entity> EntityConnection.selectMany(EntitySelectCriteria criteria)
          Selects entities according to the specified criteria
 List<Entity> EntityConnection.selectMany(List<Entity.Key> keys)
          Returns entities according to keys
 List<Entity> EntityConnection.selectMany(String entityID, String propertyID, Object... values)
          Selects entities according to one property (propertyID), using values as a condition
 List<Object> EntityConnection.selectPropertyValues(String entityID, String propertyID, boolean order)
          Selects distinct non-null values of the given property of the given entity
 int EntityConnection.selectRowCount(EntityCriteria criteria)
          Selects the number of rows returned according to the given criteria
 Entity EntityConnection.selectSingle(Entity.Key key)
          Selects a single entity by key
 Entity EntityConnection.selectSingle(EntitySelectCriteria criteria)
          Selects a single entity according to the specified criteria, throws a DatabaseException if the criteria results in more than one entity
 Entity EntityConnection.selectSingle(String entityID, String propertyID, Object value)
          Selects a single entity
 List<Entity> EntityConnection.update(List<Entity> entities)
          Updates the given entities according to their properties.
 void EntityConnection.writeBlob(Entity.Key primaryKey, String blobPropertyID, String dataDescription, byte[] blobData)
          Writes blobData in the blob field specified by the property identified by propertyID for the given entity
 

Uses of DatabaseException in org.jminor.framework.server
 

Methods in org.jminor.framework.server that throw DatabaseException
 void RemoteEntityConnection.delete(EntityCriteria criteria)
          Deletes the entities specified by the given criteria Performs a commit unless a transaction is open.
 void RemoteEntityConnection.delete(List<Entity.Key> entityKeys)
          Deletes the entities according to the given primary keys.
 List<?> RemoteEntityConnection.executeFunction(String functionID, Object... arguments)
          Executes the function with the given id
 void RemoteEntityConnection.executeProcedure(String procedureID, Object... arguments)
          Executes the procedure with the given id
 ReportResult RemoteEntityConnection.fillReport(ReportWrapper reportWrapper)
          Takes a ReportWrapper object using a JDBC datasource and returns an initialized ReportResult object
 List<Entity.Key> RemoteEntityConnection.insert(List<Entity> entities)
          Inserts the given entities, returning a list containing the primary keys of the inserted entities in the same order as they were received.
 byte[] RemoteEntityConnection.readBlob(Entity.Key primaryKey, String blobPropertyID)
          Reads the blob specified by the property identified by propertyID from the given entity
 List<Entity> RemoteEntityConnection.selectAll(String entityID)
          Selects all the entities of the given type
 Map<String,Collection<Entity>> RemoteEntityConnection.selectDependentEntities(Collection<Entity> entities)
          Returns the entities that depend on the given entities via foreign keys, mapped to corresponding entityIDs
 List<Entity> RemoteEntityConnection.selectMany(EntitySelectCriteria criteria)
          Selects entities according to the specified criteria
 List<Entity> RemoteEntityConnection.selectMany(List<Entity.Key> keys)
          Returns entities according to keys
 List<Entity> RemoteEntityConnection.selectMany(String entityID, String propertyID, Object... values)
          Selects entities according to one property (propertyID), using values as a condition
 List<Object> RemoteEntityConnection.selectPropertyValues(String entityID, String propertyID, boolean order)
          Selects distinct non-null values of the given property of the given entity
 int RemoteEntityConnection.selectRowCount(EntityCriteria criteria)
          Selects the number of rows returned according to the given criteria
 Entity RemoteEntityConnection.selectSingle(Entity.Key key)
          Selects a single entity by key
 Entity RemoteEntityConnection.selectSingle(EntitySelectCriteria criteria)
          Selects a single entity according to the specified criteria, throws a DatabaseException if the criteria results in more than one entity
 Entity RemoteEntityConnection.selectSingle(String entityID, String propertyID, Object value)
          Selects a single entity
 List<Entity> RemoteEntityConnection.update(List<Entity> entities)
          Updates the given entities according to their properties.
 void RemoteEntityConnection.writeBlob(Entity.Key primaryKey, String blobPropertyID, String dataDescription, byte[] blobData)
          Writes blobData in the blob field specified by the property identified by propertyID for the given entity
 

Uses of DatabaseException in org.jminor.framework.tools
 

Methods in org.jminor.framework.tools that throw DatabaseException
static void EntityDataUtil.batchInsert(EntityConnection connection, List<Entity> entities, List<Entity.Key> committed, int batchSize, ProgressReporter progressReporter)
          Inserts the given entities, performing a commit after each batchSize number of inserts.
static void EntityDataUtil.copyEntities(EntityConnection source, EntityConnection destination, int batchSize, boolean includePrimaryKeys, String... entityIDs)
          Copies the given entities from source to destination
 

Uses of DatabaseException in org.jminor.framework.tools.testing
 

Methods in org.jminor.framework.tools.testing that throw DatabaseException
protected  void EntityTestUnit.initializeReferencedEntities(String testEntityID, String entityID)
          This method should initialize instances of entities specified by the entityIDs found in the entityIDs Collection and map them to their respective entityIDs via the setReferenceEntity method
protected  void EntityTestUnit.setReferenceEntity(String entityID, Entity entity)
          Maps the given reference entity to the given entityID
 void EntityTestUnit.testEntity(String entityID)
          Runs the insert/update/select/delete tests for the given entityID