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

Moderator: admin

Post Reply
romsky
Posts: 39
Joined: Thu Jan 29, 2015 4:49 pm
Contact:

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

Post by romsky »

What is about static and final fields?

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

What about them?
static fields do not really belong to an "entity" so no question about its persistence. (It will not be persisted).
final is an illegal modifier for persistent fields. Section 2.1:
No methods or persistent instance variables of the entity class may be final.
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 59 guests