File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -482,9 +482,15 @@ component {
482482 }
483483
484484 /**
485- * Get the Hibernate version string from Hibernate or Hibernate bundle version
485+ * Get the Hibernate version string from the running engine
486486 */
487487 public string function getHibernateVersion (){
488+ // BoxLang Detection
489+ if ( server .keyExists ( " boxlang" ) ) {
490+ return ORMGetHibernateVersion ();
491+ }
492+
493+ // Adobe + Lucee Convuluted ways
488494 var version = createObject ( " java" , " org.hibernate.Version" );
489495
490496 if ( version .getVersionString () ! = " [WORKING]" ) {
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ component extends="tests.resources.BaseIntegrationTest" {
1515 }
1616
1717 function run ( testResults , testBox ){
18- if ( isBoxLang () ) {
19- return ;
20- }
2118 // all your suites go here.
2219 describe ( " HTML Helper" , function (){
2320 beforeEach ( function ( currentSpec ){
Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ component extends="tests.resources.BaseIntegrationTest" {
1515 }
1616
1717 function run ( testResults , testBox ){
18- if ( isBoxLang () ) {
19- return ;
20- }
2118 // all your suites go here.
2219 describe ( " Object Populator" , function (){
2320 beforeEach ( function ( currentSpec ){
You can’t perform that action at this time.
0 commit comments