P
panos
Hi,
I am an experienced Java programmer who has been doing his own
object-relational
mapping directly in JDBC, in a variety of financial applications. I
have always believed
that this was something a programmer (read, "me") should not have to
waste his/her
time doing. Finally, I have the opportunity to start a fresh project
with some leeway
to choose an Object-Relational Mapper. I have a few questions for any
one with
experience using these.
1. I definitely want to choose something that will be forward looking
-- that is, it is either the standard now, or will be soon. From what
I can gather, Hibernate seems to have the bulk of the users currently,
but JDO (JPOX?) or EJB 3.0 is grabbing the spot light. Can somebody
shed some light on this choice?
2. Are there any Auditing strategies that one can use in these mappers?
My systems always allow one to view all previous states of persisted
objects, as well as "turning back the clock" on all the objects in the
system, that is, showing the world as it was last week. Is this
possible?
3. One thing I haven't really seen in the documentation for these
products is how one updates existing schemas? E.g., if I have an
object with fields int x and String s and there are persisted instances
of this class, and then I add a third field Date d, what is the
mechanism to port the database to the new schema?
I am an experienced Java programmer who has been doing his own
object-relational
mapping directly in JDBC, in a variety of financial applications. I
have always believed
that this was something a programmer (read, "me") should not have to
waste his/her
time doing. Finally, I have the opportunity to start a fresh project
with some leeway
to choose an Object-Relational Mapper. I have a few questions for any
one with
experience using these.
1. I definitely want to choose something that will be forward looking
-- that is, it is either the standard now, or will be soon. From what
I can gather, Hibernate seems to have the bulk of the users currently,
but JDO (JPOX?) or EJB 3.0 is grabbing the spot light. Can somebody
shed some light on this choice?
2. Are there any Auditing strategies that one can use in these mappers?
My systems always allow one to view all previous states of persisted
objects, as well as "turning back the clock" on all the objects in the
system, that is, showing the world as it was last week. Is this
possible?
3. One thing I haven't really seen in the documentation for these
products is how one updates existing schemas? E.g., if I have an
object with fields int x and String s and there are persisted instances
of this class, and then I add a third field Date d, what is the
mechanism to port the database to the new schema?