Hi,
I'm writing an Java Application whit Hibernate-Jpa, and I'm using H2
like a database.
On my pc, run all correctly, but now, I want to build a jar file, in
which I've the Java Application and the H2 db.
Can I do this?
Are there other alternatives for building the application on a jar
file?
If there are, how can I edit my persistence.xml?
In my localhost I use this line:
<property name="hibernate.connection.url" value="jdbc:h2:src/db/
cap_db;FILE_LOCK=NO"/>
because I have a folder db, in the application's folder.
But if I use a jar file, I'm not able to recognize the file.

P.S. Sorry for my wrong English :(

Thank you and regards,
Max

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to