[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.rt.eclipselink] ReadObjectQuery Problem

Subsequent to my last thread (about Expressions), I did some more investigation, it appears that there is an issue with ReadAllQuery execution.

I have a webapp action controller that uses a ReadAllQuery + Expressions to query an Entity with criteria spanning mutliple tables. (one to many relationships).

So, I created a bunch of tests to investigate this further. surprisingly, the JUnit tests work fine and the same Stripes Action impl works as expected when invoked from the JUnit test.

I am wondering if it is something related to the Session/Thread that is influencing the ReadAllQuery execution in when running under a JEE container?

I have the logging configured to FINEST but can't see any thing helpful in the logs; except that while running JUnit tests, root Entity's relationship are resolved for each row obtained. Whereas there are no results obtained when running under a web container.

Does anyone know of anything that might cause this behaviour to be different.

Many thanks in advance,

Rahul