1 23 24 27 28 package com.sun.jdo.spi.persistence.support.sqlstore.state; 29 30 import com.sun.jdo.api.persistence.support.JDOUserException; 31 import com.sun.jdo.spi.persistence.utility.I18NHelper; 32 import com.sun.jdo.spi.persistence.support.sqlstore.ActionDesc; 33 34 import java.util.ResourceBundle ; 35 36 public class AutoPersistentNewPending extends AutoPersistentNew { 37 40 private final static ResourceBundle messages = I18NHelper.loadBundle( 41 "com.sun.jdo.spi.persistence.support.sqlstore.Bundle", AutoPersistentNewPending.class.getClassLoader()); 43 44 public AutoPersistentNewPending() { 45 super(); 46 47 updateAction = ActionDesc.LOG_NOOP; 48 49 stateType = AP_NEW_PENDING; 50 } 51 52 public LifeCycleState transitionDeletePersistent() { 53 throw new JDOUserException(I18NHelper.getMessage(messages, 54 "jdo.lifecycle.deleted.accessField")); } 56 } 57 58 59 60 61 62 63 64 65 66 67 | Popular Tags |