web stats
Hibernate and annotations don't work - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Thread Tools Display Modes
Old 06-11-2018, 03:12 PM
NickJones NickJones is offline
Mirth Newb
Join Date: Jun 2017
Posts: 10
NickJones is on a distinguished road
Angry Hibernate and annotations don't work

Mirth 3.5.2 and Mirth 3.6.0
Java 1.8, Hibernate 5.1.4

I've had an app running on Mirth for a while with Hibernate and XML config without problem.

I've started to build another app and wanted to use the Hibernate code annotations as a cleaner solution.

However I get the error:
Caused by: java.lang.NoSuchMethodError: javax.persistence.Table.indexes()[Ljavax/persistence/Index;

at org.hibernate.cfg.annotations.EntityBinder.process ComplementaryTableDefinitions(EntityBinder.java:11 08)

at org.hibernate.cfg.AnnotationBinder.bindClass(Annot ationBinder.java:774)

The code runs fine as a standalone app from Eclipse but will not run in Mirth.

Help please!
Reply With Quote

hibernate jpa

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 03:27 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Mirth Corporation