View Single Post
Join Date: Aug 2007
Posts: 225
Reputation: ceyesuma is an unknown quantity at this point 
Solved Threads: 0
ceyesuma ceyesuma is offline Offline
Posting Whiz in Training

Re: binding properties

 
0
  #2
May 12th, 2008
I think I need some of this:

  1. try {
  2. entityManager.getTransaction().commit();
  3. entityManager.getTransaction().begin();
  4. } catch (RollbackException rex) {
  5. rex.printStackTrace();
  6. entityManager.getTransaction().begin();
  7. List<splashtemplateda.Content> merged = new ArrayList<splashtemplateda.Content>(list.size());
  8. for (splashtemplateda.Content c : list) {
  9. merged.add(entityManager.merge(c));
  10. }
  11. list.clear();
  12. list.addAll(merged);
  13. }
  14. return null;
  15. }
If I mastertable.clear()
is it possible that
where merge could hold the getResultSet()
Reply With Quote