getDeferModificationsUntilCommit()
ADVANCED:
This can be used to control when changes to objects are submitted to the database
This is only applicable to TopLink's CMP implementation and not available within
the core.

boolean

getForceUpdate()
ADVANCED:
Return true if descriptor is set to always update all registered objects of this type

setDeferModificationsUntilCommit(int deferralLevel)
ADVANCED:
This can be set to control when changes to objects are submitted to the database
This is only applicable to TopLink's CMP implementation and not available within
the core.

AFTER_EJBPOSTCREATE

CMPPolicy

public CMPPolicy()

Method Detail

getNonDeferredCreateTime

public int getNonDeferredCreateTime()

ADVANCED:
This setting is only available for CMP beans that are not being deferred.
Using it will allow TopLink to determine if the INSERT SQL should be sent to
the database before or after the postCreate call.

setDeferModificationsUntilCommit

ADVANCED:
This can be set to control when changes to objects are submitted to the database
This is only applicable to TopLink's CMP implementation and not available within
the core.

setMappedClass

public void setMappedClass(java.lang.Class newMappedClass)

Define the mapped class. This is the class which was originally mapped in the MW

Parameters:

Class - newMappedClass

getMappedClass

public java.lang.Class getMappedClass()

Answer the mapped class. This is the class which was originally mapped in the MW

setNonDeferredCreateTime

public void setNonDeferredCreateTime(int createTime)

ADVANCED:
This setting is only available for CMP beans that are not being deferred.
Using it will allow TopLink to determine if the INSERT SQL should be sent to
the database before or after the postCreate call.