mbbp [https://community.jboss.org/people/mbbp] created the discussion

"update data to database"

To view the discussion, visit: https://community.jboss.org/message/732908#732908

--------------------------------------------------------------
Hello guys I need your help. My problem is here :

*     public* News merge(News detachedInstance) {
           log.debug("merging News instance");
           *try* {
                News result = entityManager.merge(detachedInstance);
                log.debug("merge successful");
                *return* result;
           } *catch* (RuntimeException re) {
      log.error("merge failed", re);
      *throw* re;
      }
      }
Error is : Caused by Java.lang
          at News.merge(253) etc
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/732908#732908]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to