persistence@glassfish.java.net

Re: entity-persistence update

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Wed, 11 Jan 2006 16:19:52 -0800

Hi Tom,

How risky are these fixes?

thanks,
-marina

Tom Ware wrote On 01/11/06 14:05,:
> Hi Marina,
>
> To be honest, I am not familiar with Sun's beta release process and
> what the expectations are as far as what is included, so I'll have to
> let you decide. The list of fixes is in the email below. If you need
> more detail about these fixes, let me know. I have also closed a couple
> of bugs in the Issue Tracker based on these check-ins.
>
> -Tom
>
> Marina Vatkina wrote:
>
>
>>Hi Tom,
>>
>>Will it make sense to back port any of the changes
>>into the beta branch?
>>
>>thanks,
>>-marina
>>
>>Tom Ware wrote On 01/06/06 12:46,:
>>
>>
>>
>>>Issue number: entity-persistence update
>>>Obtained from: TopLink
>>>Submitted by: Tom Ware
>>>Reviewed by: TopLink Team
>>>
>>>Tested with full GlassFish build, entity-persistence-tests, quick look,
>>>and internal TopLink tests
>>>
>>>The following changes are included
>>>
>>>Note: Changes to persistence-api module are included.
>>>
>>>- Annotation updates to the proposed final draft. Annotations changes
>>>include @FlushMode - @Target changed from TYPE to (METHOD, FIELD) and
>>>flushModeType() now defaults to AUTO. @NamedQuery - queryString() was
>>>renamed to query() and added QueryHint hints(). @NamedNativeQuery -
>>>queryString() was renamed to query() and added QueryHint hints().
>>>@QueryHint - new annotation.
>>>- Annotation updates to the proposed final draft. Annotations changes
>>>include @Lob - fetch(), optional() and type() were removed. @Basic -
>>>temporalType() was removed and replaced with the new @Temporal
>>>annotation. @Enumerated - new annotation (has an internal new enum type
>>>EnumType that was also added). The LobType enum was removed.
>>>- More refactoring to the XML processor to accomodate schema changes
>>>- Added to inheritance tests a new test for join attributes in a single
>>>table inheritance (sti) case.
>>>- Modified XML/Annotation merge entity-mappings file to reflect recent
>>>schema changes; also enabled merge tests in the testing browser
>>>- Refactored the XML processor to accomodate schema changes, and added
>>>support for returning the list of entites defined in entity-mappings XML
>>>- Annotation updates to the proposed final draft. Annotations changes
>>>include @Id - generate() and generator() were removed. @GeneratedValue -
>>>new annotation that containts the items removed from @Id with generate()
>>>replaced with strategy(), @GeneratorType - renamed to @GenerationType
>>>and NONE was removed from it.
>>>- Annotation updates to the proposed final draft. Annotations changes
>>>include @Table - specified() removed. @SecondaryTable - pkJoin() renamed
>>>to pkJoinColumns(), @Column - secondaryTable() renamed to table(),
>>>@JoinColumn - secondaryTable() renamed to table(), @JoinTable - table()
>>>replaced with name(), catalog(), schema() and uniqueConstraints(),
>>>@TableGenerator - table() replaced with table() (returns a string
>>>instead of a @Table), catalog(), schema() and uniqueConstraints().
>>>- Fetch joins: Cleaned up code and comments, added an exception, altered
>>>some tests, added more tests.
>>>- Not closing auto detect connection fix
>>>- getting jta connection instead of nonjta for autodetection
>>>- Checked in ManyToMany fetch join support. Note: Some fixes still
>>>required for ReportQuery
>>>- fix constructor expressions for named queries
>>>
>>>
>>>
>
>