Interface MappingCallbacks

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void insertPostProcessing​(org.datanucleus.state.ObjectProvider op)
      Hook so that we can handle any post-processing on the insert of a particular field.
      void postFetch​(org.datanucleus.state.ObjectProvider op)
      Method called after the retrieval of the object, so that additional operations can be performed if necessary.
      void postInsert​(org.datanucleus.state.ObjectProvider op)
      Method called after the insert of the object so that additional operations can be performed if necessary.
      void postUpdate​(org.datanucleus.state.ObjectProvider op)
      Method called after the update of the object, so that additional operations can be performed if necessary.
      void preDelete​(org.datanucleus.state.ObjectProvider op)
      Method called before the delete of objects, so that additional operations can be performed if necessary.
    • Method Detail

      • insertPostProcessing

        void insertPostProcessing​(org.datanucleus.state.ObjectProvider op)
        Hook so that we can handle any post-processing on the insert of a particular field. For example with Oracle we need to insert "EMPTY_CLOB" and then immediately after do a SELECT of it and update the contents of the CLOB/BLOB.
        Parameters:
        op - ObjectProvider
      • postInsert

        void postInsert​(org.datanucleus.state.ObjectProvider op)
        Method called after the insert of the object so that additional operations can be performed if necessary.
        Parameters:
        op - ObjectProvider of the owner
      • postFetch

        void postFetch​(org.datanucleus.state.ObjectProvider op)
        Method called after the retrieval of the object, so that additional operations can be performed if necessary.
        Parameters:
        op - ObjectProvider of the owner
      • postUpdate

        void postUpdate​(org.datanucleus.state.ObjectProvider op)
        Method called after the update of the object, so that additional operations can be performed if necessary.
        Parameters:
        op - ObjectProvider of the owner
      • preDelete

        void preDelete​(org.datanucleus.state.ObjectProvider op)
        Method called before the delete of objects, so that additional operations can be performed if necessary.
        Parameters:
        op - ObjectProvider of the owner