java/db: Adding missing dependency.
java/db: Added a consistency of LOCAL_ONE.