[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1873?page=c...
]
Ben Groeneveld commented on HHH-1873:
-------------------------------------
This is not sufficient; a method to obtain version is required. The public static final
org.hibernate.cfg.Environment.VERSION is a compile-time constant and will be inlined into
your class during compilation and cannot be used to adequately test for the Hibernate
version being used at runtime. Please provide a method in the Environment class to access
the Hibernate version at runtime.
Query the hibernate version through the API
-------------------------------------------
Key: HHH-1873
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1873
Project: Hibernate Core
Issue Type: New Feature
Components: core
Reporter: Mark Grand
Priority: Minor
Original Estimate: 2 hours
Remaining Estimate: 2 hours
I am building a tool that will work with hibernate. Though this tool will be used with
hibernate, I want it to work with whatever version of hibernate my users select. Making
this work with future versions of hibernate will be eaiser if there is something in the
API that says what the version of hibernate is.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira