These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate standalone application
PostPosted: Tue May 11, 2010 6:19 am 
Newbie

Joined: Tue May 11, 2010 6:11 am
Posts: 1
hi,
I'm a new user of Hibernate and JPA.
I'm building an application, that i want to run on different pcs.
I created this application with a H2 database.
In localhost all works perfectly.
Now I want to create a jar files, that contains the database's file.
How must I edit the follow line:
Code:
<property name="hibernate.connection.url" value="jdbc:h2:db/cap_db;FILE_LOCK=NO"/>

and where must I put the db folder?

Someone can help me?

P.S. Sorry for my wrong English :(

Thank you and regards,
Max


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.