-->
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.  [ 1 post ] 
Author Message
 Post subject: Two questions regarding the hibernate-entitymanager module
PostPosted: Tue Jun 14, 2011 9:12 pm 
Newbie

Joined: Tue Jun 14, 2011 9:02 pm
Posts: 1
Hi,

1- Some time ago it was announced that hibernate-core now also contains hibernate-entitymanager and this deprecates the compatibility matrix once we had to consult to manage our Hibernate dependencies.

However some time ago Hibernate Core 3.6.5.Final was released, but apparently it does not exist in the Maven repo as the following Maven configuration is not able to resolve it for me:

Code:
    <dependencies>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-entitymanager</artifactId>
            <version>3.6.5.Final</version>
            <exclusions>
                <exclusion>
                    <groupId>cglib</groupId>
                    <artifactId>cglib</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
    </dependencies>

    <repositories>
        <repository>
            <id>jboss-public-repository-group</id>
            <name>JBoss Public Maven Repository Group</name>
            <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
            <layout>default</layout>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </releases>
            <snapshots>
                <enabled>true</enabled>
                <updatePolicy>never</updatePolicy>
            </snapshots>
        </repository>
    </repositories>


2- What's the right way to declare a dependency on hibernate-entitymanager anyway? Why cglib must be excluded always? I know that Hibernate has adopted Javassist as the main byte code enhancer lately but then why is there always a dependency on cglib that cannot be resolved? And where in the docs is this pointed to that we have to exclude the cglib dependency if we want to use Javassist?

Thanks in advance.


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

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.