persistence@glassfish.java.net

Re: Glassfish b40 persistence conflict with EJB 3.0 Spec

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Mon, 20 Mar 2006 17:04:22 +0530

Hi Heiko,

Heiko Wagner wrote:

>Hi,
>
>I just noticed that when using the Temporal annotation in EJB 3.0
>persistence that the current implementation does not default the
>TemporalType to TIMESTAMP. This behaviour is specified by EJB 3.0 Proposed
>Final Draft dated 12/19/05 on Page 174. Could you tell me if the
>implementation or the spec I have is outdated?
>
>
The spec is outdated. There is no default any more. See GlassFish change
log for Temporal.java:
https://glassfish.dev.java.net/source/browse/glassfish/persistence-api/src/java/javax/persistence/Temporal.java?r1=1.1&r2=1.2

I am not sure if there is a recent spec available for public viewing.

Thanks,
Sahoo

>Regards
>Heiko
>
>