database « Jar « JPA Q&A





1. JPA and database in a single jar    stackoverflow.com

I created an app which uses JPA and MySQL. Now I like to create simple desktop application out of it (eg a simple jar would be best). Two questions:

  • What's the easiest ...

2. Jar file does not work with database (Hibernate)    java-forums.org

It does not show any error when I try to save or retrieve data. But neither it stores data to database nor retrieve, I think I have build the project without database... Do u have any idea how to build the project with database (hibernate database) in netbeans? thnx for ur response...

3. Create entire database at RUNTIME using hibernate-tools jars    forum.hibernate.org

My standalone JSE application, which currently uses hibernate 3.2.5, needs to check if the schema exists in the database, and if not, then generate the entire database. This was previously being accomplished with a gigantic static sql query for creating the tables. If the schema isn't there upon startup of application, then we'd use straight JDBC to fire this static sql ...

4. Accessing SQLite database inside a JAR file    forum.hibernate.org

Hi, I've successfully got Hibernate to access a SQLite database file in a read-only manner. (Used a dialect file freely available on the web and an open source SQLite JDBC driver - problems trying to update the schema, but it does not affect my read only task.) However, my problem is that I want to stick this sqlite database file inside ...