Does anybody knows how to implement this exemple but with a runtime defined filename for the database storage. As the file name is set "staticly" in the persistence.xml and for I'm a total newbee in persistence.
Well actually I'm quite a newbee in Java too, and the idee would be for an application to store the client data base in the .myapp directory in the user's home. (or equivalent under windows)
Very usefull article !
Thanks
|