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-testTDirectory-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(__T_DIRECTORY).limit(1).fetch();
for (Record r : result) {
java.lang.Long id = r.getValue(__T_DIRECTORY.ID);
java.lang.Long parentId = r.getValue(__T_DIRECTORY.PARENT_ID);
System.out.println(
"id : "+ id +