String url = "jdbc:oracle:thin:@localhost:1521:xe";
try {
Class.forName("oracle.jdbc.OracleDriver").newInstance();
conn = DriverManager.getConnection(url, userName, password);
TestFactory create = new TestFactory(conn);
//MP-MANAGED-UPDATABLE-BEGINNING-DISABLE @jooq-unittest-testXUnused-test@
// write your own tests, just set DISABLE to ENABLE in the comment above
// future generation will not erase your code ;)
Result<Record> result = create.select().from(__X_UNUSED).limit(1).fetch();
for (Record r : result) {
java.lang.Long id = r.getValue(__X_UNUSED.ID);
java.lang.String name = r.getValue(__X_UNUSED.NAME);
java.lang.Long msUnusedIdRef = r.getValue(__X_UNUSED.MS_UNUSED_ID_REF);
java.lang.Long idRef = r.getValue(__X_UNUSED.ID_REF);