Re: openjpa2.2 cannot enhance multiple persistence-unit?
As Rick said, those information (persistence.xml and ant enhance task etc.) are described on the first thread. It's definitely build time, and nothing related to the deployment or what kind of a application. It's not time to run it yet..., because entities have been enhanced. -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586894.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Not entirely sure, but this seems to be the exact problem I’m experiencing as well: http://openjpa.208410.n2.nabble.com/Enhancement-not-finding-metadata-Maven-plugin-td7586850.html I use annotations, a persistence.xml, and several ormorm files (included in the persistence.xml) that shadow annotated classes and add queries. On Jun 25, 2014, at 10:54 AM, Kevin Sutter kwsut...@gmail.com wrote: I don't think there ever was consensus that a problem existed... What exact scenario is not working with 2.2.0? On Tue, Jun 24, 2014 at 7:15 PM, robertgass robertg...@gmail.com wrote: Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
The issue described is not clear enough? only classes in unit1 are enhanced, none is enhanced in unit2 Enhanced org.example.Entity1 **NOT Enhanced** org.example.Entity2 Kevin Sutter wrote I don't think there ever was consensus that a problem existed... What exact scenario is not working with 2.2.0? On Tue, Jun 24, 2014 at 7:15 PM, robertgass lt; robertgass@ gt; wrote: Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586884.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
The issue described is not clear enough? Ahhh, no... Especially when Jose replies with this... Yes im using that exactly situtation, and i could enhance multiple persistence unit. So, something is not consistent. You haven't described your persistence unit definitions (persistence.xml). You haven't described your enhancement process -- dynamic or build time. Are you running within an application server, or as a standalone Java SE application? There are many variables that can affect the entity enhancement processing. Kevin On Thu, Jun 26, 2014 at 11:05 AM, gembin gem...@gmail.com wrote: The issue described is not clear enough? only classes in unit1 are enhanced, none is enhanced in unit2 Enhanced org.example.Entity1 **NOT Enhanced** org.example.Entity2 Kevin Sutter wrote I don't think there ever was consensus that a problem existed... What exact scenario is not working with 2.2.0? On Tue, Jun 24, 2014 at 7:15 PM, robertgass lt; robertgass@ gt; wrote: Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586884.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Click on the nabble post from the first email on this thread... it looks like they are reporting a problem with the OpenJPA ant enhancer task. On Thu, Jun 26, 2014 at 11:45 AM, Kevin Sutter kwsut...@gmail.com wrote: The issue described is not clear enough? Ahhh, no... Especially when Jose replies with this... Yes im using that exactly situtation, and i could enhance multiple persistence unit. So, something is not consistent. You haven't described your persistence unit definitions (persistence.xml). You haven't described your enhancement process -- dynamic or build time. Are you running within an application server, or as a standalone Java SE application? There are many variables that can affect the entity enhancement processing. Kevin On Thu, Jun 26, 2014 at 11:05 AM, gembin gem...@gmail.com wrote: The issue described is not clear enough? only classes in unit1 are enhanced, none is enhanced in unit2 Enhanced org.example.Entity1 **NOT Enhanced** org.example.Entity2 Kevin Sutter wrote I don't think there ever was consensus that a problem existed... What exact scenario is not working with 2.2.0? On Tue, Jun 24, 2014 at 7:15 PM, robertgass lt; robertgass@ gt; wrote: Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586884.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- *Rick Curtis*
Re: openjpa2.2 cannot enhance multiple persistence-unit?
I don't think there ever was consensus that a problem existed... What exact scenario is not working with 2.2.0? On Tue, Jun 24, 2014 at 7:15 PM, robertgass robertg...@gmail.com wrote: Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Anyone find the solution to this yet? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7586879.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Yes im using that exactly situtation, and i coul enhance multiple persistence unit. 2013/3/6 gembin gem...@gmail.com Nobody ever used multiple persistence units with openjpa? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7583020.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- --- *SCJA. José Luis Cetina* ---
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Im using jpa 2.2.0 what is your troubble with multiple persistence units? 2013/3/6 José Luis Cetina maxtorz...@gmail.com Yes im using that exactly situtation, and i coul enhance multiple persistence unit. 2013/3/6 gembin gem...@gmail.com Nobody ever used multiple persistence units with openjpa? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7583020.html Sent from the OpenJPA Users mailing list archive at Nabble.com. -- --- *SCJA. José Luis Cetina* --- -- --- *SCJA. José Luis Cetina* ---
Re: openjpa2.2 cannot enhance multiple persistence-unit?
i'm also using openjpa 2.2.0 and in my case *only classes in unit1* are enhanced, *none is enhanced in unit2* Enhanced *org.example.Entity1* ***NOT Enhanced*** *org.example.Entity2* -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7583040.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
Re: openjpa2.2 cannot enhance multiple persistence-unit?
Nobody ever used multiple persistence units with openjpa? -- View this message in context: http://openjpa.208410.n2.nabble.com/openjpa2-2-cannot-enhance-multiple-persistence-unit-tp7582993p7583020.html Sent from the OpenJPA Users mailing list archive at Nabble.com.