Re: [hibernate-dev] JPA 2.1 help : @Index and@ForeignKey support

2013-02-06 Thread Strong Liu
seems the jpa api is not updated to the latest spec? there are foreignkeys in the join-table but not exist in the @JoinTable class @Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface JoinTable { String name() default ""; String catalog(

Re: [hibernate-dev] JPA 2.1 help : @Index and@ForeignKey support

2013-02-05 Thread Strong Liu
thanks https://hibernate.onjira.com/browse/HHH-7969 On Feb 5, 2013, at 10:13 PM, Steve Ebersole wrote: > I should probably add this to the Javadocs for columnList. Here is what the > spec says: > > The syntax of the columnList element is a column_list, as follows: > column::= index_column [,

Re: [hibernate-dev] JPA 2.1 help : @Index and@ForeignKey support

2013-02-05 Thread Steve Ebersole
I should probably add this to the Javadocs for columnList. Here is what the spec says: The syntax of the columnList element is a column_list, as follows: column::= index_column [,index_column]* index_column::= column_name [ASC | DESC] On 02/05/2013 03:02 AM, Strong Liu wrote: > I can work on t

Re: [hibernate-dev] JPA 2.1 help : @Index and@ForeignKey support

2013-02-05 Thread Strong Liu
I can work on this one question, it is not clear that how column names are separated in javax.persistence.Index#columnList , can we assume it is using ", "? On Feb 5, 2013, at 3:49 AM, Steve Ebersole wrote: > I need some help in implementing JPA 2.1 defined support for @Index and > @ForeignK