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
>