Expert |
|
Joined: Thu Dec 23, 2004 9:08 pm Posts: 2008
|
- If you don't use an ORM then you have to think about result sets, referential integrity, datebase data types, and all sorts of other non-business-logic related stuff. If you do use an ORM like hibernate.. you don't.
- Check out the wiki on the hibernate web site, there's plenty of info there.
- Sometimes plain old JDBC is better than an ORM. Certain kinds of report queries, certain kinds of bulk updates, and accessing certain DBMS-specific features can be tricky to get right in a framework designed mostly for converting objects to DB rows. So you use JDBC directly. The best way to do that with hibernate is simply to call connection() on the current hibernate session.
_________________ Code tags are your friend. Know them and use them.
|
|