Re: [Resin-interest] Problem with relation

2007-10-09 Thread Rodrigo Westrupp
--- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > This issue with Resin 3.1.2 and Resin 3.1.3 > > I send in attachment source files. > Thanks Sergey. I have filed a new bug report: http://bugs.caucho.com/view.php?id=2048 At the moment, there is not a good workaround, i.e. you would need

Re: [Resin-interest] Problem with relation

2007-10-09 Thread Sergey Plehov
This issue with Resin 3.1.2 and Resin 3.1.3 I send in attachment source files. Thanks 2007/10/9, Rodrigo Westrupp <[EMAIL PROTECTED]>: > > > --- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > > > Yes, i annotate getApplications with CascadeType.MERGE (also try and > > CascadeType.ALL) but nothin

Re: [Resin-interest] Problem with relation

2007-10-09 Thread Rodrigo Westrupp
--- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > Yes, i annotate getApplications with CascadeType.MERGE (also try and > CascadeType.ALL) but nothing changed. > I will file a new bug report. Which version is this with? Please can you send in the source files: ApplicationBean.java, UserBean.

Re: [Resin-interest] Problem with relation

2007-10-08 Thread Sergey Plehov
Hi Rodrigo. Yes, i annotate getApplications with CascadeType.MERGE (also try and CascadeType.ALL) but nothing changed. 2007/10/8, Rodrigo Westrupp <[EMAIL PROTECTED]>: > > > --- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > > > @ManyToMany with jointable helps me. > > > > But i got next problem w

Re: [Resin-interest] Problem with relation

2007-10-08 Thread Rodrigo Westrupp
--- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > @ManyToMany with jointable helps me. > > But i got next problem when i try modify user Application list: > Hi Sergey, Cool. Do you have getApplications() annotated with cascade=CascadeType.MERGE or cascade=CascadeType.ALL ? That's required t

Re: [Resin-interest] Problem with relation

2007-10-07 Thread Sergey Plehov
Hi Rodrigo, @ManyToMany with jointable helps me. But i got next problem when i try modify user Application list: //transaction begin User user = em.find(User.class, userId); Collection apps = user.getApplications(); //Application app = em.find(Application.class, appId); // next code throw jav

Re: [Resin-interest] Problem with relation

2007-10-03 Thread Rodrigo Westrupp
--- Sergey Plehov <[EMAIL PROTECTED]> wrote: > > When i try execute user.getAccs() i get SQLException ORA-00936: Missing > Expression. > Hi Sergey, I have filed a new bug report: http://bugs.caucho.com/view.php?id=2037 The issue seems to be the many-to-one using one of the compound p