1 25 26 package org.objectweb.easybeans.tests.common.ejbs.stateful.containermanaged.flushoperation; 27 28 import javax.ejb.TransactionAttribute ; 29 import javax.ejb.TransactionAttributeType ; 30 31 36 public interface ItfEntityManagerFlushTester { 37 38 41 Integer ENTITY_ID = new Integer (1); 42 43 46 String ENTITY_NAME = "test"; 47 48 51 String ENTITY_NAME_2 = "test2"; 52 53 56 void startup(); 57 58 61 void verifyDefaultFlushMode(); 62 63 67 @TransactionAttribute (TransactionAttributeType.REQUIRED) 68 void setFlushModeAuto(); 69 70 74 @TransactionAttribute (TransactionAttributeType.REQUIRED) 75 void setFlushModeCommit(); 76 77 } 78 | Popular Tags |