Skip to content

Instantly share code, notes, and snippets.

@ps06756
Created August 20, 2017 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ps06756/9ead9f0f90d942834b28a121673acc18 to your computer and use it in GitHub Desktop.
Save ps06756/9ead9f0f90d942834b28a121673acc18 to your computer and use it in GitHub Desktop.
Result<?> result = create.select(STUDENT.STUDENTNAME).from(STUDENT).where(STUDENT.STUDENTID.eq(1)).fetch();
for(Record r : result) {
String studentName = r.getValue(STUDENT.STUDENTNAME);
System.out.println(studentName)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment