I need to call static method of org.hibernate.Hibernate class. How to do that in element of flow ?
You can use the following Spring EL construct to evaluate static methods:
<evaluate expression="T(org.hibernate.Hibernate).initialize(yourObject)"/>
See the appropriate Spring EL reference part:
http://static.springsource.org/spring/docs/3.2.x/spring-framework-reference/html/expressions.html#expressions-types
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With