Uses of Interface
org.datanucleus.store.rdbms.mapping.MappingCallbacks
Packages that use MappingCallbacks
Package
Description
Package providing mappings for all supported Java types in DataNucleus.
Provides the mechanism of communicating with the database using JDBC.
-
Uses of MappingCallbacks in org.datanucleus.store.rdbms.mapping.java
Classes in org.datanucleus.store.rdbms.mapping.java that implement MappingCallbacksModifier and TypeClassDescriptionclassMapping for an array.classMapping for Collection types.classMapping for a PC object embedded within another PC object (1-1 relation).classMapping for Interface fields.classSCO Mapping for Map types.classMapping for Object fields.classMapping for java.util.Optional.classMaps to identity objects of persistable values.classMaps a field storing a persistable object.classMaps to identity objects of reference values.classMapping for a "reference" type.classMapping where we want to serialise a (Serializable) field to a local file.classMaps single collection elements as 1-1 instead of 1-N, by wrapping and reusing the JavaTypeMappings and member metadata of the element types. -
Uses of MappingCallbacks in org.datanucleus.store.rdbms.request
Fields in org.datanucleus.store.rdbms.request with type parameters of type MappingCallbacksModifier and TypeFieldDescriptionprivate List<MappingCallbacks> DeleteRequest.DeleteMappingConsumer.callbackMappingsMapping Callbacks to invoke at deletion.(package private) List<MappingCallbacks> InsertRequest.InsertMappingConsumer.callbackMappingsMappings that require callbacks calling.(package private) List<MappingCallbacks> UpdateRequest.UpdateMappingConsumer.callbackMappingsMappings that require callbacks calling.private final List<MappingCallbacks> DeleteRequest.mappingCallbacksprivate final List<MappingCallbacks> FetchRequest.mappingCallbacksCallbacks for postFetch() operations, to be called after the fetch itself (relation fields).private final List<MappingCallbacks> InsertRequest.mappingCallbackscallback mappings will have their postInsert method called after the updateprivate final List<MappingCallbacks> UpdateRequest.mappingCallbackscallback mappings will have their postUpdate method called after the updateMethods in org.datanucleus.store.rdbms.request that return types with arguments of type MappingCallbacksModifier and TypeMethodDescriptionInsertRequest.InsertMappingConsumer.getMappingCallbacks()UpdateRequest.UpdateMappingConsumer.getMappingCallbacks()DeleteRequest.DeleteMappingConsumer.getMappingCallBacks()Obtain a List of mapping callbacks that will be run for this deletion.Method parameters in org.datanucleus.store.rdbms.request with type arguments of type MappingCallbacksModifier and TypeMethodDescriptionprotected intFetchRequest.processMembersOfClass(SelectStatement sqlStatement, org.datanucleus.FetchPlanForClass fpClass, org.datanucleus.metadata.AbstractMemberMetaData[] mmds, org.datanucleus.metadata.AbstractMemberMetaData[] mmdsToStore, DatastoreClass table, SQLTable sqlTbl, StatementClassMapping mappingDef, Collection<MappingCallbacks> fetchCallbacks, org.datanucleus.ClassLoaderResolver clr, List<Integer> memberNumbersToStore) Method to process the supplied members of the class, adding to the SQLStatement as required.(package private) booleanFetchRequest.processMemberToFetch(org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.FetchPlanForClass fpClass, org.datanucleus.ClassLoaderResolver clr, Collection<MappingCallbacks> fetchCallbacks, SelectStatement sqlStmt, SQLTable sqlTbl, StatementClassMapping mappingDef, List<Integer> memberNumbersToStore) Method to process the specified member.(package private) booleanFetchRequest.processMemberToStore(org.datanucleus.metadata.AbstractMemberMetaData mmd, org.datanucleus.FetchPlanForClass fpClass, org.datanucleus.ClassLoaderResolver clr, Collection<MappingCallbacks> fetchCallbacks, SelectStatement sqlStmt, SQLTable sqlTbl, StatementClassMapping mappingDef, List<Integer> memberNumbersToStore) Method to process the specified member.