Monday, December 11, 2006

Javaddicts � Blog Archive � Working with Derby and Hibernate

Javaddicts � Blog Archive � Working with Derby and Hibernate: "Working with Derby and Hibernate
April 22nd, 2005 by Mathias Meyer

While working with Hibernate I stumbled over Derby. Derby has had quite a few owners (Cloudscape, hence the original name before it was contributed to Apache, Informix and then IBM) and has finally landed on planet Apache Foundation and found its way into the incubator.

It’s not officially on the list of databases supported by Hibernate (I’m using Hibernate v3.0.x, it’s a no-go with v2.1.x), but a dialect is available anyway. So I gave it a shot and I was amazed about how easy it was to use. Just put the jar into the class-path of choice (Ant might be the best idea ;) and configure Hibernate accordingly:

hibernate.dialect=org.hibernate.dialect.DerbyDialect
hibernate.connection.url=jdbc:derby:<dbname>;create=true
hibernate.connection.driver_class=org.apache.derby.jdbc.EmbeddedDriver"

Danny Coward's Sun Weblog

Danny Coward's Sun Weblog: "ava SE 6: Top Ten

My top 10 new features...your top 10 reasons to upgrade.

And what we're blogging about.
"

Java Platform, Standard Edition 6 Release

The links are a bit strange, so go to http://java.sun.com/javase/downloads/index.jsp to download it.


Java Platform, Standard Edition 6 Release: "Java SE 6 is the current major release of the Java SE platform, with full support from NetBeans IDE 5.5. Sun endeavors to foster the highest level of transparency and collaboration on the platform with the Java community through Project JDK 6, resulting in the following key features. Sun's Java Multi-Platform Support, Training, and Certification can provide you the peace of mind to develop and deploy Java solutions with confidence."