Re: Move from JDBC to Apache Obj or Hibernate?
- From: Luke Webber <luke@xxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 23:58:16 +1000
Zsolt wrote:
Hi,
our application uses a layer that is very close to JDBC. Because of known reasons (for example maintenance) we would like to move (not in one step) to a Object/Relational mapping tool system. I know that Hibernate is probably the most known and popular system however Apache Obj is an implementation of JDO that could be standard (like JDBC).
My question is whether we should start with OBJ? Hibernate fans! I do understand that hibernate is good (or very good) but my question is a long term however we will use this interface from a commercial product and in that case short term questions are also very important. As described above: we are JDBC based right now and because the application is fairly big we don't want (cannot) replace all code to use the new system.
What do you propose?
A damned good question, and one which has been keeping me awake at nights. I spent long hours studying Hibernate, but I was repulsed by the additional development burden that the XML configuration files imply, as well as the additional risk of code getting out of sync with configuration files. Checked out SimpleORM and bounced again. Considered Hibernate again, only with XDoclet to simplify matters, but still found myself dissatisfied.
My current choice is Hibernate with the Hibernate Annotations add-on. Uses Java 1.5 annotations to provide all the Hibernate metadata within the class definition. No more messy XML configs! Hooray!
Now my only problem is that Hibernate Annotations don't yet support List and Map semantics, which is pretty much essential to my style of app. But I'm assured it's coming Real Soon Now.
One of these days I'll actually get to write an app using an ORM, rather than just fantasizing about it. <g>
Luke .
- References:
- Move from JDBC to Apache Obj or Hibernate?
- From: Zsolt
- Move from JDBC to Apache Obj or Hibernate?
- Prev by Date: Move from JDBC to Apache Obj or Hibernate?
- Next by Date: Re: Move from JDBC to Apache Obj or Hibernate?
- Previous by thread: Move from JDBC to Apache Obj or Hibernate?
- Next by thread: Re: Move from JDBC to Apache Obj or Hibernate?
- Index(es):
Relevant Pages
|
|