Simple query
"Andrei Harangus" <[email protected]>
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Having the following class:
class Clazz {
private String field1;
private String field2;
}
Mapped to
table tbl1(field1, field2)
What is the code snippet that would generate the sql
select * from tbl1 where field1 = field2
Regards,
Andrei