You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Rick Curtis <cu...@gmail.com> on 2014/10/10 22:07:01 UTC
openjpa.RuntimeUnenhancedClasses
I answered a question on StackOverflow[1] today that I don't entirely
understand. Is tomee changing the default setting for
openjpa.RuntimeUnenhancedClasses?
[1]
http://stackoverflow.com/questions/26285950/entitymanager-find-only-works-if-the-entity-has-just-the-id-field-openjpa-apac/26289817#26289817
--
*Rick Curtis*
Re: openjpa.RuntimeUnenhancedClasses
Posted by Romain Manni-Bucau <rm...@gmail.com>.
2014-10-11 14:50 GMT+02:00 Rick Curtis <cu...@gmail.com>:
> Crud. That is what I was afraid of. Can we change that behavior?
> RuntimeUnenhancedClasses is broken and causes more headaches than it is
> worth.
>
if you set it manually or in conf/system.properties it will take your value.
> Why would tomee turn on a feature that the OpenJPA development team has
> deemed unfit for use? (That is why we disabled it by default)
>
As said mainly for historical reason and make our best to make it work
by default. Enough of our users don't rely on javaagent or build
enhancement to support it even if we all agree that's not perfect.
> On Sat, Oct 11, 2014 at 3:25 AM, Romain Manni-Bucau <rm...@gmail.com>
> wrote:
>
>> Hi
>>
>> yes, answered ;)
>>
>>
>> Romain Manni-Bucau
>> @rmannibucau
>> http://www.tomitribe.com
>> http://rmannibucau.wordpress.com
>> https://github.com/rmannibucau
>>
>>
>> 2014-10-10 22:07 GMT+02:00 Rick Curtis <cu...@gmail.com>:
>> > I answered a question on StackOverflow[1] today that I don't entirely
>> > understand. Is tomee changing the default setting for
>> > openjpa.RuntimeUnenhancedClasses?
>> >
>> > [1]
>> >
>> http://stackoverflow.com/questions/26285950/entitymanager-find-only-works-if-the-entity-has-just-the-id-field-openjpa-apac/26289817#26289817
>> >
>> > --
>> > *Rick Curtis*
>>
>
>
>
> --
> *Rick Curtis*
Re: openjpa.RuntimeUnenhancedClasses
Posted by Rick Curtis <cu...@gmail.com>.
Crud. That is what I was afraid of. Can we change that behavior?
RuntimeUnenhancedClasses is broken and causes more headaches than it is
worth.
Why would tomee turn on a feature that the OpenJPA development team has
deemed unfit for use? (That is why we disabled it by default)
On Sat, Oct 11, 2014 at 3:25 AM, Romain Manni-Bucau <rm...@gmail.com>
wrote:
> Hi
>
> yes, answered ;)
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2014-10-10 22:07 GMT+02:00 Rick Curtis <cu...@gmail.com>:
> > I answered a question on StackOverflow[1] today that I don't entirely
> > understand. Is tomee changing the default setting for
> > openjpa.RuntimeUnenhancedClasses?
> >
> > [1]
> >
> http://stackoverflow.com/questions/26285950/entitymanager-find-only-works-if-the-entity-has-just-the-id-field-openjpa-apac/26289817#26289817
> >
> > --
> > *Rick Curtis*
>
--
*Rick Curtis*
Re: openjpa.RuntimeUnenhancedClasses
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
yes, answered ;)
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau
2014-10-10 22:07 GMT+02:00 Rick Curtis <cu...@gmail.com>:
> I answered a question on StackOverflow[1] today that I don't entirely
> understand. Is tomee changing the default setting for
> openjpa.RuntimeUnenhancedClasses?
>
> [1]
> http://stackoverflow.com/questions/26285950/entitymanager-find-only-works-if-the-entity-has-just-the-id-field-openjpa-apac/26289817#26289817
>
> --
> *Rick Curtis*