Larry Meadors wrote:
Sorry. :) I know Friday's almost over, but I need some ammo for
something I am preparing
Man, this is a big one, and i am late already..i'll get it started.
for next week.
The question is not DAO vs ORM, it is ORM vs Data Mapping.
ORM = mapping database objects to java objects (or c#, whatever).
Yeah, tables to java objects. Cool.
This is what I am trying to understand. How's this any different from
what Hibernate does?
Data mapping = mapping sql *statements* to java objects (c#, blah, whatever).
Yup. Much like what Spring does by allowing either iBatis or Hibernate
to operate as the "data layer"?
DAO can be used with either ORM or Data Mapping.
Much appreciated! Believe me! I love you guys! :-D