Re: Parameters must be managed?

2009-09-09 Thread Daryl Stultz
On Tue, Sep 8, 2009 at 7:00 PM, Kevin Sutter wrote: > Hi Daryl, > All that I can say is that the posting you referenced is almost two years > old and it may have been resolved in the release that you ran against. Ok, nothing in the posting called for an "issue" so I thought maybe that's just th

Re: Parameters must be managed?

2009-09-08 Thread Pinaki Poddar
SingleResult()); // also works with >> getResultList (there's only one) >> >> This works just fine. Can anyone set the issue straight? Thanks. >> >> -- >> Daryl Stultz >> _____________ >> 6 Degrees Software and Consulting, Inc. >> http:/

Re: Parameters must be managed?

2009-09-08 Thread Kevin Sutter
Hi Daryl, All that I can say is that the posting you referenced is almost two years old and it may have been resolved in the release that you ran against. What version of OpenJPA did you try to reproduce the problem with? I did a quick search of our JIRA's to see if this has been resolved, but I

Parameters must be managed?

2009-09-08 Thread Daryl Stultz
Hey, Through some wacky querying I came across this: http://n2.nabble.com/Persistent-entities-pass-as-params-to-JPQL-queries-MUST-be-attached-Query-getSingleResult-bug-or-exp-td209033.html I tried to verify this but could not. Here's a simple attempt: User user = new User(); user.setId(userId);