karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Aries JPA 2.3.0: mapping file not used
Date Fri, 19 Aug 2016 06:00:50 GMT
You are right. I just checked in the 1.x jpa code for that. Here is how it
is done there:
https://github.com/apache/aries/blob/jpa-1.x/jpa-container/src/main/java/org/apache/aries/jpa/container/parsing/impl/JPAHandler.java#L101-L102

Christian


2016-08-18 11:40 GMT+02:00 Timothy Ward <tim.ward@paremus.com>:

> That is exactly my point:
>
> https://github.com/apache/aries/blob/ebd8d1588b1a99d635bfc9c58fa72d
> 7da1222a3e/jpa/jpa-container/src/main/java/org/apache/
> aries/jpa/container/parser/impl/JPAHandler.java#L68
>
> Aries JPA makes no attempt to process the mapping file element(s) in the
> persistence xml file, so no information will be passed to the provider.
>
> Regards,
>
> Tim
>
> On 18 Aug 2016, at 09:19, jochenw <jochen.walz.mail@googlemail.com> wrote:
>
> The behavior is the same with Eclipselink (I just haven't adapted the
> tasklist example to Eclipselink - which I use in my application). Might the
> ORMs look for the default file orm.xml, and only need some configuration
> input when the filename is different, which Aries JPA does not handle?
>
> Regards,
>
> Jochen
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/Aries-JPA-2-3-0-mapping-file-not-used-tp4047501p4047578.html
> Sent from the Karaf - User mailing list archive at Nabble.com
> <http://nabble.com>.
>
>
>


-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>

Mime
View raw message