Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- junit test case for a method with hibernate fetch
- public List<User> userList() {
- try
- {
- List <User> result = hibernateTemplate.find("from User");
- return result;
- }
- finally {
- //close the session and user-supplied JDBC connection
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment