Skip to content

Commit 5273a96

Browse files
committed
COLDBOX-1323 #resolve
detect ORM Hibernate Version for BoxLang
1 parent a3cb133 commit 5273a96

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

system/core/util/Util.cfc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,11 @@ component {
491491
* Get the Hibernate version string from Hibernate or Hibernate bundle version
492492
*/
493493
public string function getHibernateVersion(){
494+
// BoxLang Detection
495+
if ( server.keyExists( "boxlang" ) ) {
496+
return ORMGetHibernateVersion();
497+
}
498+
494499
var version = createObject( "java", "org.hibernate.Version" );
495500

496501
if ( version.getVersionString() != "[WORKING]" ) {

0 commit comments

Comments
 (0)