changed the lock id storage size in the Java wrapper to safely hold 64-bit values
updated the building of the Java wrapper
changed database/record pointer passing to avoid costly object traversal through JNI