You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Zelota <va...@freemail.hu> on 2016/06/28 10:58:58 UTC
Tomee 7.0 + eclipselink 2.6 + oracle -- what I missed?
Hi,
I've started a new project with Tomee Plume 7.0. I would like to use
EclipseLink 2.6, Open EJB, etc...
I've created (NetBeans) a POM project with two modules. One - it's a simple,
java application type project - for entities and common classes. Here is the
persistence.xml too. The other module project is a web (Vaadin) application
where it uses the common classes and entities.
My problem is:
Here's the parent POM.xml's relevant dependecies:
The commonLibrary's dependencies:
And the UI's dependecies:
When I try to execute a simple select, I give that error, there above.
So:
My entities are in the common library.
The entities are like this: there is a base entity where are all common
fields:
The Users entity is like this:
The persistence.xml is in the common library in the
src/main/resources/META-INF directory.
Here is the content:
So what did I do wrong?
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-7-0-eclipselink-2-6-oracle-what-I-missed-tp4679097.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 7.0 + eclipselink 2.6 + oracle -- what I missed?
Posted by Zelota <va...@freemail.hu>.
Ahh Ok, I see. Thank you.
--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-7-0-eclipselink-2-6-oracle-what-I-missed-tp4679097p4679099.html
Sent from the TomEE Users mailing list archive at Nabble.com.
Re: Tomee 7.0 + eclipselink 2.6 + oracle -- what I missed?
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hello
think we got this topic last week or the one before, in EE
javax.persistence.jdbc
properties are ignored so you get a default datasource. Use tomee.xml and
non-jta-datasource in persistence.xml to configure your datasource please.
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>
2016-06-28 12:58 GMT+02:00 Zelota <va...@freemail.hu>:
> Hi,
>
> I've started a new project with Tomee Plume 7.0. I would like to use
> EclipseLink 2.6, Open EJB, etc...
> I've created (NetBeans) a POM project with two modules. One - it's a
> simple,
> java application type project - for entities and common classes. Here is
> the
> persistence.xml too. The other module project is a web (Vaadin) application
> where it uses the common classes and entities.
>
> My problem is:
>
>
> Here's the parent POM.xml's relevant dependecies:
>
>
> The commonLibrary's dependencies:
>
>
> And the UI's dependecies:
>
>
> When I try to execute a simple select, I give that error, there above.
> So:
>
>
> My entities are in the common library.
> The entities are like this: there is a base entity where are all common
> fields:
>
>
>
> The Users entity is like this:
>
>
> The persistence.xml is in the common library in the
> src/main/resources/META-INF directory.
> Here is the content:
>
>
> So what did I do wrong?
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Tomee-7-0-eclipselink-2-6-oracle-what-I-missed-tp4679097.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>