Sounds strange. If you get an Arquillian test project up on e.g. GitHub
that would certainly help a lot.

On Sun, Oct 26, 2014 at 1:53 PM, hwaastad <he...@waastad.org> wrote:

> I think I finally figured it out.
>
> somewhere in my repositories I did a lookup like this:
>
> @repository
> public abstract <respoitory>  extends abstactentityrepository<>
> public function(){
> Query query = this.entityManager().createNamedQuery(....)
> ..
> ..
> }
>
> this one fails (silently)
>
> EL Info]: 2014-10-26 13:48:17.771--ServerSession(1948558493)--EclipseLink,
> version: Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd
>
> is NOT to be seen.
>
> If i make it an abstract running @query its ok.
>
> right now I do not now why.
>
> could someone share some light on why this might happen?
>
> btw,
> jta in persistence.xml and producer:
>
> @ApplicationScoped
> public class EntityManagerProducer {
>
>     @PersistenceContext(unitName = "demoPU")
>     private EntityManager entityManager;
>
>     @Produces
>     public EntityManager create() {
>         return entityManager;
>
>     }
> }
>
> I think I'll be able to make a test project.
>
> br hw
>
>
>
> --
> View this message in context:
> http://apache-deltaspike-incubator-discussions.2316169.n4.nabble.com/IllegalStateException-1-0-2-1-0-3-tp4659216p4659239.html
> Sent from the Apache DeltaSpike Incubator Discussions mailing list archive
> at Nabble.com.
>

Reply via email to