|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.colle.sql.test.TestTable2
Generated file for accessing the TestTable2 table/view. DO NOT EDIT. Make changes to net/sf/colle/sql/persistence/ [Table|View|Common]CodeGenerator.gen and regenerate. Created: 28 May 2001
Nested Class Summary | |
static interface |
TestTable2.Row
|
Constructor Summary | |
TestTable2()
|
Method Summary | |
static TestTable2.Row |
copyRow(TestTable2.Row pxRow,
int pnId)
Copies the given row with a new primary key. |
static void |
delete(int pnId,
Connection pxConnection)
Deletes a row identified by it's primary key. |
static void |
delete(TestTable2.Row pxRow,
Connection pxConnection)
Deletes a row. |
static TestTable2.Row |
getRowByPrimaryKey(int pnId,
Connection pxConnection)
Returns a single row for the primary key specified. |
static void |
insert(TestTable2.Row pxNewRow,
Connection pxConnection)
Inserts a new row. |
static void |
lockTable(Connection pxConnection)
Locks this table for multiple operations. |
static TestTable2.Row |
newRow(int pnId)
Constructs a new row in memory from primary key information. |
static void |
unlockTable(Connection pxConnection)
Unlocks this table when previously locked with lockTable. |
static void |
update(TestTable2.Row pxRow,
Connection pxConnection)
Updates a row. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TestTable2()
Method Detail |
public static TestTable2.Row getRowByPrimaryKey(int pnId, Connection pxConnection) throws RowNotFoundException
RowNotFoundException
public static void insert(TestTable2.Row pxNewRow, Connection pxConnection) throws ConstraintViolatedException, DuplicateRowException
ConstraintViolatedException
DuplicateRowException
public static void update(TestTable2.Row pxRow, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void delete(TestTable2.Row pxRow, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void delete(int pnId, Connection pxConnection) throws ConstraintViolatedException, RowNotFoundException
ConstraintViolatedException
RowNotFoundException
public static void lockTable(Connection pxConnection) throws SQLException
SQLException
public static void unlockTable(Connection pxConnection) throws SQLException
SQLException
public static TestTable2.Row copyRow(TestTable2.Row pxRow, int pnId)
pxRow
- row to be copied
public static TestTable2.Row newRow(int pnId)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |