Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password. Thereby making it impossible to use ObjectDB to access the contents of the file without providing the correct password when obtaining a connection. In my case, I'm interested in obtaining a JPA connection:
Map<String, String> map = new HashMap<String, String>(); map.put("blah.blah.password", "mypassword"); EntityManagerFactory emf = Persistence.createEntityManagerFactory(filename,map);