Reputation: 5799
In Java using Jackcess, I have 2 questions on the below code.
In the below code, I have used only the column Active to fetch rows. How can I add multiple columns in same table? Or can I make a join?
The below code fetches only 1 row. Where can I find the logic of reading the entire result set?
The docs of jackcess is not complete on these aspects. Also in making search, all examples were related to jackcess 1 and not for latest version.
Row row = CursorBuilder.findRow(tblTC, Collections.singletonMap("Active", true));
if(row != null) {
System.out.println(row);
}
Upvotes: 1
Views: 872
Reputation: 123419
For more complex queries (including JOINs, etc.) you might want to consider using UCanAccess. For more information see a related question here.
Upvotes: 2