Joined: Mon Jan 30, 2006 5:14 pm Posts: 8 Location: Amsterdam, Netherlands
|
Hi,
DAOs are abstracting from Hibernate-specific data access code.
I have two questions on abstracting from other Hibernate-specific code:
1. What is the recommended approach for abstracting from Hibernate-specific session and transaction code in a J2SE (non-Web) environment ?
2. What is the recommended approach for abstracting paging in a J2SE / J2EE environment (implementing a specific Paging class as mentioned elsewhere on the forum, or use an implementation of the EJB 30 Query API, ...) ?
Any suggestions are appreciated !
Regards,
- Fernand.
|
|