openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Souza <sso...@adinet.com.uy>
Subject Re: cant modify result list running with enhance
Date Fri, 30 Nov 2007 14:16:36 GMT

This is the example

Collection  MyCollection = query.getResultList ();
MyCollection.add (a);

Nothing happens when enhanced is on. the element a is not added to the
collection

or if i do
MyCollection = new ArrayList  ();
if query.getResultList () is null, MyCollection is null.

thanks


Patrick Linskey-2 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 <ssouza@adinet.com.uy> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/cant-modify-result-list-running-with-enhance-tf4901170.html#a14063325
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message