Hi Lukas,
I have a scenario as following.
1) created a table TBL_STUDENTS in DB.
2) inserted records in the table in the DB.
Now using JOOQ code generator i generated code for that table.
i wrote a stand alone program in java, got the connection.
But when i am trying to fetch the records using the code as below
Result<Record> result = ctx.select().from(TBL_STUDENTS).fetch();
for (Record r : result) {
Long id = r.getValue(TBL_STUDENTS.ID);
String firstName = r.getValue(TBL_STUDENTS.FIRST_NAME);
String lastName = r.getValue(TBL_STUDENTS.LAST_NAME);
}
It is not recognizing TBL_STUDENTS.
As did a static import of the package where the tables generated.
still it is not able to recognize the TBL_STUDENTS.
What should i do ?
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.