Hi Mr. Shin!
In this opportunity i write you to ask you about how to do the persistence
using DAO pattern (like we used in J2EEHomework-hibernatebasics - Lab 3514),
but when interpose several entities in ONE transaction (which respective dao
interfaces are in different scopes). To make myself m
Biljana thanks for your answer!
I find why in the LAB's project it doesn't need the attribute Lazy="false" in
Event.hbm.xml.
It's cause the session is never closed (the line is commetted) as you can see
in the pasted-code:
public Event find(Long id) throws DataAccessLayerException {
Eve
Hi everyone!!!
I don't understand why when i run the following code (using DAO pattern):
Hobby hobby = hobbyDao.find(h.getMyHobbyId());
System.out.println("Hobby = " + hobby.getHobby());
System.out.println("Years of practice =
"+hobby.getYearIstartedThisHobby());
it thr
Hi Mr. Shin!
I'm dizzy with the dates of the course. First it was stipulated to finish this
spring/09 session in june 13th ("...- the deadline for the homework submission
is 2 weeks of the last class, which means June 13th, 2009 as it currently
stands -..."), but now in the site it says that it