Displaying posts tagged with



Use OpenJPA with MySQL: Some Tips

OpenJPA is an implementation of the JPA (Java Persistence API) standards. Initially, I used OpenJPA with Derby which is also known as JavaDB. It works well. However, when i tried to use MySQL as the backend database, I encountered a few issues. Here are a few small tips i would like to share when using [...]


derby db connecting problem (using ij)

derby db connecting problem (using ij)
This problem happened to me when i tried the apache derby database (now it’s also called java db, part of jdk 6).
Trying the following command in ij (the bundled simple console) just gave me an error like this “ERROR: Unable to establish connection”:
ij> connect “jdbc:derby://localhost/firstdb;create=true”;
It’s annoying, because i didn’t know [...]