//ROBERT
@Test
public void testA() throws IOException, SQLException {
Database db = new DatabaseBuilder(new File("d:\\CF.accdb"))
.setCodecProvider(new CryptCodecProvider("1234"))
.open();
System.out.println(db.getTableNames());
}
Incorrect password. What sort of encryptions does jackcess encrypt support? I have office 2013 and on save as the only 2007/2010 option is the "save as Access 2007-2013 file format". That should mean that there is no difference in file format between 2013 and 2007/2010. Yet it does not work and microsoft documentation sucks. As such I will be opening a new feature request for office 2013 and I've created this discussion as a result.
EDIT: well, nevermind. I cannot create a feature request. Still, any chance for 2013 support anytime soon ?
Last edit: Robert Robertino 2014-07-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
"Incorrect Password" is the exception thrown. As far as type of encryption as far as I could tell, Access 2013 does not provide an option for it. It's as simple as opening the database in exclusive mode and press the encryption button. http://blogmines.com/blog/wp-content/uploads/2013/07/image40.png
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Incorrect password. What sort of encryptions does jackcess encrypt support? I have office 2013 and on save as the only 2007/2010 option is the "save as Access 2007-2013 file format". That should mean that there is no difference in file format between 2013 and 2007/2010. Yet it does not work and microsoft documentation sucks. As such I will be opening a new feature request for office 2013 and I've created this discussion as a result.
EDIT: well, nevermind. I cannot create a feature request. Still, any chance for 2013 support anytime soon ?
Last edit: Robert Robertino 2014-07-03
what happens, does it throw an exception? also, do you know what "type" of encryption you have chosen?
"Incorrect Password" is the exception thrown. As far as type of encryption as far as I could tell, Access 2013 does not provide an option for it. It's as simple as opening the database in exclusive mode and press the encryption button.
http://blogmines.com/blog/wp-content/uploads/2013/07/image40.png
An educated guess would be "The default is AES.".
http://technet.microsoft.com/en-us/library/cc179125%28v=office.15%29.aspx
Assuming you have the latest version of jackcess and jackcess-encrypt, then the best option would be to file a bug and attach an example database.
I cannot file bugs. I can only attach databases.
http://speedy.sh/443xm/CF.accdb
weird, i don't know how the permissions got messed up on bugs/feature requests. you should be able to file a bug now.
Issue created here: https://sourceforge.net/p/jackcessencrypt/bugs/5/