[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-user
Subject:    Re: Tomee 7.0 + eclipselink 2.6 + oracle -- what I missed?
From:       Romain Manni-Bucau <rmannibucau () gmail ! com>
Date:       2016-06-28 11:55:16
Message-ID: CACLE=7M2zL9EMPqaqjDoaUdLpOOZc+30_imVA0HDi0yzSEJrnQ () mail ! gmail ! com
[Download RAW message or body]


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 <varp@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.
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic