The result of getResultList should be unmodifiable, but the instances contained in the List should be modifiable if you execute the query in a transaction.

Craig

On Nov 29, 2007, at 11:55 PM, [EMAIL PROTECTED] wrote:

Hi,

What do you mean by this?Are you saying that you can't insert or
delete records in the list, or that you can't modify entries in the
list? I would expect the former regardless of using the enhancer.

-Patrick

On 11/29/07, Sebastian Souza <[EMAIL PROTECTED]> wrote:

I cant modify any result query list when i run my app with openjpa enhance,
any suggestion?

if i dont run with enhance everything its ok

i run with
-javaagent:C:\lib\apache-openjpa-1.0.0 \openjpa-1.0.0.jar=addDefaultConstructor=false
--
View this message in context:
http://www.nabble.com/cant-modify-result-list-running-with-enhance- tf4901170.html#a14039249
Sent from the OpenJPA Users mailing list archive at Nabble.com.




--
Patrick Linskey
202 669 5907

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to