openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anand213 <akumar...@bankofamerica.com>
Subject Re: Unique constraint annotations not generated by Reverse Mapping tool
Date Fri, 07 Dec 2012 18:29:37 GMT
Thanks for the response Kevin. 

I was looking for @UniqueConstraint annotation in generated files and the
tool is reading the unique indexes so i expected it to put annotation for
the same.

@Table(name = "EMPLOYEE_FOR_CACHE", uniqueConstraints = {
@UniqueConstraint(columnNames = { "dept", "project" }),
		@UniqueConstraint(columnNames = { "fname", "lname", "location" }) })



--
View this message in context: http://openjpa.208410.n2.nabble.com/Unique-constraint-annotations-not-generated-by-Reverse-Mapping-tool-tp7582055p7582061.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message