/** INTERNAL: Prepare the receiver for execution in a session. */ protected void prepare() { super.prepare(); this.usesOptimisticLocking = shouldUseOptimisticLocking(this.object); if (this.name == null) { this.name = "delete" + this.descriptor.getJavaClass().getSimpleName(); } getQueryMechanism().prepareDeleteObject(); }
/** INTERNAL: Prepare the receiver for execution in a session. */ protected void prepare() { super.prepare(); getQueryMechanism().prepareDeleteObject(); }