Announcement

Collapse
No announcement yet.

Quick Note Regarding Hibernate Integration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quick Note Regarding Hibernate Integration


    I had an issue using a custom Java class (that uses Hibernate) via Mirth's JavaScript capabilities: basically, using createQuery() in my DAO class appeared to hang while createSQLQuery() worked fine.

    After discovering this little nugget (http://www.hibernate.org/250.html#A25) regarding Hibernate and WebLogic (which I'm not using), I removed the antlr-runtime.jar file from the lib directory anyway and everything worked. (My Hibernate distribution has antlr-2.7.6.jar in it.)

    Now, I'm able to use my hibernate classes from my application by putting them into my Mirth lib/custom directory, which could prove to be pretty useful.

    However, if anyone knows of any negative side effects of pulling the antlr-runtime.jar, I'd appreciate hearing about them...

    Thanks,
    Jeff


Working...
X
😀
🥰
🤢
😎
😡
👍
👎