Open GoogleCodeExporter opened 8 years ago
do you have to download the file jta.jar and intall it with "mvn install"
command
Original comment by ccha...@gmail.com
on 9 Sep 2009 at 5:56
yes, now work fine. but maven not install this automatically.
Thanks !
Original comment by matiasbe...@gmail.com
on 9 Sep 2009 at 6:04
By the way, i need your help, because i can't save or update in the database,
GenericDao does nothing. Thanks a lot.
Original comment by ccha...@gmail.com
on 11 Sep 2009 at 5:12
use you transactions ?
Original comment by matiasbe...@gmail.com
on 11 Sep 2009 at 6:28
Do not use transactions because it assumed that the GenericDao do it
internally, and
which is not really the way to implement it with this library
Original comment by ccha...@gmail.com
on 11 Sep 2009 at 6:48
but if you never do the commit command, you data can´t persist. try that (if
you
like, in the dao)
Original comment by matiasbe...@gmail.com
on 11 Sep 2009 at 6:52
Can you say me how???
Original comment by ccha...@gmail.com
on 11 Sep 2009 at 7:26
getCurrentSession().beginTransaction();
getCurrentSession().getTransaction().commit();
in a try catch statement, in the exception block, can use
getCurrentSession().getTransaction().rollback();
this is not the best lovely, must pretty is with Aspect
Original comment by matiasbe...@gmail.com
on 11 Sep 2009 at 7:32
in my Dao I do all that in the GenericDao is already done?
Original comment by ccha...@gmail.com
on 11 Sep 2009 at 7:58
Original issue reported on code.google.com by
matiasbe...@gmail.com
on 28 Aug 2009 at 5:37