About Question enthuware.oce-jpad.v6.2.425 :

Moderator: admin

Post Reply
Posts: 21
Joined: Mon Oct 24, 2016 6:55 am

About Question enthuware.oce-jpad.v6.2.425 :

Post by nikitos »

Wrong example:
should be:
 @OrderColumn(name = "WAITLIST_ORDER")

Accroding to the annotation definition:
@Target({ElementType.METHOD, ElementType.FIELD})
public @interface OrderColumn {
String name() default "";

boolean nullable() default true;

boolean insertable() default true;

boolean updatable() default true;

String columnDefinition() default "";

Site Admin
Posts: 10018
Joined: Fri Sep 10, 2010 9:26 pm

Re: About Question enthuware.oce-jpad.v6.2.425 :

Post by admin »

Actually, this example is taken directly from the JPA specification - section 11.1.39 page 407.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests