[jboss-user] [JBoss Seam] - Re: transaction failed
d00roth
do-not-reply at jboss.com
Tue Jan 29 03:43:52 EST 2008
Unfortunately not. I have no idea why.
I 'solved' this issue by having transactional spring dao classes do _everything_ for me, i.e. something like:
myDao.addLogToJob(LogItem log, Job job) {
job = em.find(job.getId());
job.getLogs().add(log);
em.merge(job);
}
Ugly and bad in every way possible, but at least it worked and was ready to deadline... :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124295#4124295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124295
More information about the jboss-user
mailing list