Yesterday Java 8 was officially released. When I try to compile and run my
tests and application that use OpenJPA 2.3.0 with Java 8 I get errors (see
below) when I try to enhance the entities or use the java agent.
Are there plans to support Java 8 in the near future?
I did find the following
Hi Henno,
The JIRA you referenced is still the one for tracking the work... Because
of the changes to the class file format with Java 8, we will need a new ASM
in order to build and enhance Entities with Java 8. Some of the
infrastructure work was put in place to support a new version of ASM,
Do you have the property openjpa.jdbc.TransactionIsolation specified in
your persistence.xml? It *looks* like we'll only try to set the
transactionIsolation level if that property is not left to the default.
Thanks,
Rick
On Mon, Mar 24, 2014 at 10:56 AM, Vito testfor...@163.com wrote:
Hi
Alain -
I looked at your unit test and the reason that an extra update is being
sent to the database is because you're updating your Entity in the
@PreUpdate method. If you didn't update that field, no update would be
issued. That being said, I think we're getting down to the real problem.
I
Can you put together a small unit test that recreates the issue? That will
help us understand what is going on.
Thanks,
Rick
On Tue, Mar 25, 2014 at 1:51 PM, mxvs mxvs...@gmail.com wrote:
Hello, I've been using OpenJPA 2.1.2 (JPA 2.0) to retrieve data from a
table
called LOGISCHRAPPORT