Uses of Class
org.hydrateframework.SaveException

Packages that use SaveException
org.hydrateframework   
org.hydrateframework.event   
 

Uses of SaveException in org.hydrateframework
 

Methods in org.hydrateframework that throw SaveException
 void QueryRunner.build(java.sql.Connection conn, java.lang.String sql, QueryRunner.Observer sink)
           
 void QueryRunner.build(java.sql.PreparedStatement stmt, QueryRunner.Observer sink)
          Build objects from a query.
 void QueryRunner.build(RequestContext rc, Assembler bld, Constraint qd, java.lang.String prmNm, QueryRunner.Observer sink)
          Build objects using the installed object factory.
 java.lang.Object Assembler.buildOneObject(java.sql.ResultSet rs)
          This method instructs this assembler to try to build one object of the class implied by the assembler's concrete class from the current row of the results set.
 void Constraint.constrainQuery(NamedParameterStatement stmt, java.lang.String prmName)
           
 void ObjectKey.constrainQuery(NamedParameterStatement stmt, java.lang.String prmName)
          Constrain a query according to the settings of this key.
abstract  void ObjectKey.Complex.constrainQuery(NamedParameterStatement stmt, java.lang.String prmName)
          This function should call setParam on the DataQuery object provided to set whatever constraints are necessary to get the data indicated by the alternate key.
abstract  void Assembler.delete(java.lang.Object obj, NamedParameterStatement stmt, java.lang.Class keyClass)
          This method is overridden by class specific implementations of the assembler to use the results set retrieved from the given statement to delete this object's database representation.
 void ObjectFactory.deleteObject(SaveContext sc, java.lang.Object obj, java.lang.Class keyClass)
          Remove an object from the database.
 void SaveContext.finishSave()
          Complete a non transactional save process, or one in which the transaction is controlled externally.
 boolean SaveContext.finishTran(java.lang.String name, boolean commit)
          Complete a transactional save process.
 void SaveContext.flushStatement(ObjectContext ctx, java.lang.Class cls)
          Flush a statement that was used to update or insert objects in batch mode.
 java.sql.ResultSet Assembler.getInsertResultSet(java.lang.Object obj, NamedParameterStatement stmt)
          This is a helper method that is used to create a results set that can be used to insert objects through this assembler into a database.
 NamedParameterStatement RequestContext.getStatement(ObjectContext ctx, java.lang.Class cls, java.lang.String dsName)
          Retrieve a cached SQL statement for requesting or updating objects.
 NamedParameterStatement Assembler.getStatement(RequestContext rc)
          Get the default query.
 NamedParameterStatement ObjectFactory.getStatement(RequestContext rc)
           
 NamedParameterStatement ObjectRelationshipFactory.getStatement(RequestContext rc)
           
 java.sql.ResultSet Assembler.getUpdateResultSet(java.lang.Object obj, NamedParameterStatement stmt, java.lang.Class keyCls)
          This is a helper method that is used to create a results set that can be used to update objects through this assembler into a database.
 java.lang.Object ObjectContext.handleClassMismatch(java.lang.Object existing, java.lang.Class newClass, ObjectKey newKey)
           
protected abstract  boolean Assembler.initObject(java.lang.Object oo, ObjectKey key)
          Initialize the object now with values read from the query.
abstract  void Assembler.insert(java.lang.Object obj, NamedParameterStatement stmt)
          This method is overridden by class specific implementations of the assembler to write the internals of a given business object to the 'forUpdate' results set retrieved from the given statement, ready for creating a new object in the database.
 java.lang.Object ObjectFactory.loadObject(ObjectContext ctx, ObjectKey key, int bldType)
          Load an object using a key.
 void SaveContext.needKeyNow(ObjectContext ctx, java.lang.Object obj)
          Call this method when a generated key is accessed.
 void ObjectFactory.readKeyBatch(SaveContext sc, NamedParameterStatement stmt, java.util.List objs)
          Called to get database generated keys for objects that were updated in a batch.
 java.lang.Object ObjectFactory.reloadObject(ObjectContext ctx, java.lang.Object obj)
          Reload an existing object.
 void ObjectCollection.save(SaveContext sc)
           
 void AbstractHydrateObject.save(SaveContext ctx)
           
 void HydrateObject.save(SaveContext ctx)
          This method is called by users of this business object to persist it in a persistent store.
 void ObjectRelationshipFactory.save(SaveContext sc, ObjectRelationshipFactory.RelationshipMap map, java.lang.Class familyClass)
          Update the database with changes to the many-to-many relationship.
 void HydrateObject.save(SaveContext ctx, short saveType)
          This method should be overridden in derived classes to save this object in a persistent store.
 void ObjectRelationshipFactory.RelationshipMap.save(java.lang.String relationshipName, SaveContext sc, java.lang.Class familyClass)
           
 void ObjectContext.saveAll()
          Save all changed objects in the context.
 void ObjectFactory.saveObject(SaveContext sc, java.lang.Object obj, java.lang.Class keyClass)
          Update the database with changes made to a business object.
abstract  void Assembler.update(java.lang.Object obj, NamedParameterStatement stmt, java.lang.Class keyClass)
          This method is overridden by class specific implementations of the assembler to write the internals of a given business object to the 'forUpdate' results set retrieved from the given statement, ready for updating an existing object in the database.
 

Uses of SaveException in org.hydrateframework.event
 

Methods in org.hydrateframework.event that throw SaveException
 java.lang.Object ObjectLoadErrorHandler.handleClassMismatch(java.lang.Object existingObject, java.lang.Class newClass, ObjectKey newKey)
          This method is called when a query indicates that an existing object is really of a more specialized class than the concrete class that is currently instantiated.
 java.lang.Object ObjectLoadErrorHandler.IntolerantLoader.handleClassMismatch(java.lang.Object existingObject, java.lang.Class newClass, ObjectKey newKey)
           
 java.lang.Object ObjectLoadErrorHandler.SmartLoader.handleClassMismatch(java.lang.Object existingObject, java.lang.Class newClass, ObjectKey newKey)
           
 java.lang.Object ObjectLoadErrorHandler.handleKeyClash(java.lang.Object existingObject, java.lang.Object newObject, java.lang.Class keyClass)
          This method is called when an attempt is made to add a duplicate object to an index.
 java.lang.Object ObjectLoadErrorHandler.IntolerantLoader.handleKeyClash(java.lang.Object existingObject, java.lang.Object newObject, java.lang.Class keyClass)
           
 java.lang.Object ObjectLoadErrorHandler.SmartLoader.handleKeyClash(java.lang.Object existingObject, java.lang.Object newObject, java.lang.Class keyClass)
           
 



Copyright © 2000 The Hydrate Project. All Rights Reserved.