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

Steve Ebersole steve at hibernate.org
Tue Feb 5 09:13:34 EST 2013


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 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 <steve at hibernate.org 
> <mailto:steve at hibernate.org>> wrote:
>
>> I need some help in implementing JPA 2.1 defined support for @Index and
>> @ForeignKey.
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org <mailto:hibernate-dev at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> -------------------------
> Best Regards,
>
> Strong Liu <stliu at hibernate.org <http://hibernate.org/>>
> http://about.me/stliu/bio
>
>
>



More information about the hibernate-dev mailing list