I try use Jackcess to get id of the last added row. In java or vba i can use SELECT @@Identity. In Jackess java print mi this information:
Column c = table.getPrimaryKeyIndex().getColumns().get(0).getColumn();
System.out.println(c);
I get this information:
Column@3b398b29[
name: (RatingGeneral) ID
type: 0x4 (LONG)
number: 0
length: 4
variableLength: false
lastAutoNumber: 155
]
But i no have idea how i can get "lastAutoNumber" to Integer, String or any use varible. Jackess doc and google did not help.
The Jackcess documentation for Table#addRow says:
So,
ref: here