About Question enthuware.oce-jpad.v6.2.496 :
Moderator: admin
-
- Posts: 39
- Joined: Thu Jan 29, 2015 4:49 pm
- Contact:
About Question enthuware.oce-jpad.v6.2.496 :
What is about static and final fields?
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-jpad.v6.2.496 :
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:
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.
Who is online
Users browsing this forum: No registered users and 59 guests