Support final fields and non-empty constructors
-----------------------------------------------
Key: HHH-1856
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH=
-1856
Project: Hibernate3
Type: Improvement
Components: core =20
Reporter: Hontv=C3=A1ri J=C3=B3zsef
Priority: Minor
Especially for value types it is a useful convention to define some fields =
final. If the type is also used in a multithreaded context than this is eve=
n required. Currently this is not possible if the class is used through Hib=
ernate.=20
This feature requires Hibernate to use a constructor with arguments to load=
an instance (instead of field access and/or setters), because final fields=
MUST be initialized in the constructor. A side benefit is that Hibernate w=
ill not (always) require an artifical no-argument constructor.
--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators=
.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|