-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
Author Message
 Post subject: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Wed Mar 08, 2017 7:07 pm 
Newbie

Joined: Wed Mar 08, 2017 7:00 pm
Posts: 3
One of my colleagues mentioned that one might be able to use maven to compile a full envers jar with dependencies and see if you could swap out the one that ships with Adobe ColdFusion 2016. Has anyone been able to use Envers with recent versions of Cf and if so what approach did you use. ColdFusion Ships with Hibernate 4.3.0, however a colleague says it is not included with 4.3.0.


Top
 Profile  
 
 Post subject: Re: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Thu Mar 09, 2017 2:14 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
i don't know about Cold Fusion, but if you have a Hibernate ORM 4.3 application, you can use Hibernate Envers 4.3 with that.


Top
 Profile  
 
 Post subject: Re: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Thu Mar 09, 2017 4:58 am 
Newbie

Joined: Wed Mar 08, 2017 7:00 pm
Posts: 3
vlad wrote:
i don't know about Cold Fusion, but if you have a Hibernate ORM 4.3 application, you can use Hibernate Envers 4.3 with that.


Would this version of Envers work?
http://grepcode.com/snapshot/repo1.mave ... .3.6.Final


Top
 Profile  
 
 Post subject: Re: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Thu Mar 09, 2017 5:08 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Hibernate Envers is integrated with Hibernate ORM, so it should probably work just fine.


Top
 Profile  
 
 Post subject: Re: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Thu Mar 09, 2017 5:17 am 
Newbie

Joined: Wed Mar 08, 2017 7:00 pm
Posts: 3
Hibernate Envers is not bundled with the Hibernate 4.3 that ships with ColdFusion. What approach would you recommend?


Top
 Profile  
 
 Post subject: Re: Getting Hibernate Envers working with Hibernate 4.3.0
PostPosted: Thu Mar 09, 2017 6:19 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Hibernate ORM comes with multiple modules, and, when you build a project, you have to choose which dependencies you need, right?

So, if you use Maven and you want Envers, you add this Maven dependency:

Code:
<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-envers</artifactId>
    <version>${envers.version}</version>
</dependency>


Since I have never used CF, you'll have to do something similar.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.