Notes on Software Development, Technology and Life.

Friday, May 06, 2005

Hibernate

I've been playing around with Hibernate lately. Hibernate is an object-relational mapping tool, the developer creates an xml mapping file that maps Java code to database tables, then the Hibernate API can be used to access and modify database data through the Java value objects.

I also found an Eclipse plugin to aid in the generation of the mapping file and Java code. The plugin allows the generation of the hibernate mapping file from a database table, and the generation of Java code (value objects and Data Access Objects) from the mapping file. The plugin is called Hibernate Synchronizer. The only downside I found about it is that it generates Hibernate 2 artifacts. Hopefully it will catch up soon.

1 Comments:

Post a Comment

Subscribe to Post Comments [Atom]



<< Home