| java.lang.Object org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand
execute | public boolean execute(EntityEnterpriseContext ctx, boolean failIfNotFound)(Code) | | Loads entity.
If failIfNotFound is true and entity wasn't found then NoSuchEntityException is thrown.
Otherwise, if entity wasn't found, returns false.
If entity was loaded successfully return true.
Parameters: ctx - - entity context; Parameters: failIfNotFound - - whether to fail if entity wasn't found; true if entity was loaded, false - otherwise. |
execute | public void execute(JDBCCMPFieldBridge requiredField, EntityEnterpriseContext ctx)(Code) | | Loads entity or required field. If entity not found throws NoSuchEntityException.
Parameters: requiredField - - required field or null; Parameters: ctx - - the corresponding context; |
|
|