return seCRS;
}
public void createSimpleTestTables() throws IOException, UnavailableConnectionException {
final ISessionPool connectionPool = getConnectionPool();
final ISession session = connectionPool.getSession();
String tableName;
String rowIdColName;
int rowIdColumnType;
int shapeTypeMask;
try {
rowIdColName = "ROW_ID";
shapeTypeMask = SeLayer.SE_POINT_TYPE_MASK;
tableName = "GT_TEST_POINT_ROWID_USER";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_POINT_ROWID_SDE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_POINT_ROWID_NONE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
shapeTypeMask = SeLayer.SE_LINE_TYPE_MASK;
tableName = "GT_TEST_LINE_ROWID_USER";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_LINE_ROWID_SDE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_LINE_ROWID_NONE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
shapeTypeMask = SeLayer.SE_AREA_TYPE_MASK;
tableName = "GT_TEST_POLYGON_ROWID_USER";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_POLYGON_ROWID_SDE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
tableName = "GT_TEST_POLYGON_ROWID_NONE";
rowIdColumnType = SeRegistration.SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE;
createTestTable(session, tableName, rowIdColName, rowIdColumnType, true, shapeTypeMask);
} finally {
session.dispose();
}
}