use of org.apache.cayenne.test.jdbc.TableHelper in project cayenne by apache.
the class ObjectSelect_FetchLimitOrderingIT method setUp.
@Before
public void setUp() throws Exception {
tArtist = new TableHelper(dbHelper, "ARTIST");
tArtist.setColumns("ARTIST_ID", "ARTIST_NAME");
}
use of org.apache.cayenne.test.jdbc.TableHelper in project cayenne by apache.
the class MappedQueryIT method createArtistsDataSet.
protected void createArtistsDataSet() throws Exception {
TableHelper tArtist = new TableHelper(dbHelper, "ARTIST");
tArtist.setColumns("ARTIST_ID", "ARTIST_NAME", "DATE_OF_BIRTH");
long dateBase = System.currentTimeMillis();
for (int i = 1; i <= 20; i++) {
tArtist.insert(i, "artist" + i, new java.sql.Date(dateBase + 10000 * i));
}
}
use of org.apache.cayenne.test.jdbc.TableHelper in project cayenne by apache.
the class SelectQueryAbstractEntityIT method setUp.
@Before
public void setUp() throws Exception {
mtTable = new TableHelper(dbHelper, "MT_TABLE1");
mtTable.setColumns("TABLE1_ID", "GLOBAL_ATTRIBUTE1", "SERVER_ATTRIBUTE1", "SUBCLASS_ATTRIBUTE1");
}
use of org.apache.cayenne.test.jdbc.TableHelper in project cayenne by apache.
the class ObjectDetachOperationIT method setUp.
@Before
public void setUp() throws Exception {
tMtTable1 = new TableHelper(dbHelper, "MT_TABLE1");
tMtTable1.setColumns("TABLE1_ID", "GLOBAL_ATTRIBUTE1", "SERVER_ATTRIBUTE1");
}
use of org.apache.cayenne.test.jdbc.TableHelper in project cayenne by apache.
the class ShallowMergeOperation_ClientIT method setUp.
@Before
public void setUp() throws Exception {
tMtTable1 = new TableHelper(dbHelper, "MT_TABLE1");
tMtTable1.setColumns("TABLE1_ID", "GLOBAL_ATTRIBUTE1", "SERVER_ATTRIBUTE1");
}
Aggregations