1 22 package org.jboss.ejb.plugins.cmp.jdbc2.schema; 23 24 import javax.transaction.Transaction ; 25 import java.sql.SQLException ; 26 27 31 public interface Table 32 { 33 public int getTableId(); 34 35 public String getTableName(); 36 37 View createView(Transaction tx); 38 39 public interface View 40 { 41 void flushDeleted(Schema.Views views) throws SQLException ; 42 43 void flushCreated(Schema.Views views) throws SQLException ; 44 45 void flushUpdated() throws SQLException ; 46 47 void beforeCompletion(); 48 49 void committed(); 50 51 void rolledback(); 52 } 53 } 54 | Popular Tags |