persistence@glassfish.java.net

RE: entity persistence update

From: Gordon Yorke <gordon.yorke_at_oracle.com>
Date: Mon, 6 Mar 2006 17:33:17 -0500

Hello Michael,
        The multipleParameterTest test is definitely failing in entity-persistence-tests but is not failing here with our internal tests? I am not sure what may be different Tom may have missed something on his checking. I will take a look.
        With the aggregate queries this seems to be an issue here as well. I was under the impression that it had been fixed. I will look into it.
--Gordon

-----Original Message-----
From: Michael Bouschen [mailto:Michael.Bouschen_at_Sun.COM]
Sent: Friday, March 03, 2006 2:47 PM
To: Tom Ware; Gordon Yorke
Cc: persistence_at_glassfish.dev.java.net
Subject: Re: entity persistence update


Hi Tom, hi Gordon,

I'm running into two issues after updating my workspace:
- The testcase multipleParameterTest in entity-persistence-tests fails
throwing an IllegalStateException saying: "Attempting to execute an
operation on a closed EntityManager.". You find my testsresults.txt file
attached below.
- EJBQL aggregate queries using AVG, SUM or COUNT return the correct
value of the wrong type, e.g. "SELECT COUNT(o) FROM Order o" returns a
BigDecimal instance instead of a Long.

Do you have an idea? Is there anything wrong with my environment?

Regards Michael

> Issue number: entity-persistence-updates
> Obtained from: TopLink
> Submitted by: Tom Ware
> Reviewed by: TopLink team
>
> -Handling of Persistence Unit defaults for schema and catalog, part 2
> and now complete. Includes cleanup of logging messages, code
> re-factoring and cleanup.
> -Handling of Persistence Unit defaults for schema and catalog, part 1.
> Includes cleanup of logging messages, code re-factoring and cleanup.
> delayed ejbql query parsing till login to add constructor expression
> support for inheritance
> -em close method behaviour changed: if em associated with an active
> transaction then closure postponed until the transaction completes.
> --added FETCH JOIN support to TopLink Report Queries
> Fixed an error in the metadata complete test.
> -Refactored TopLink Weaving
>
> Tested with full GlassFish build, QuickLook tests, entity-persistence
> tests, oracle-internal tests and ejb 3 persistence dev tests
>