Hibernate 4 support is available in JBoss AS in Fedora Rawhide (jboss-as-7.1.1-10)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hiya,

Maybe some people will find it useful... :)

--Marek

-------- Original Message --------
Subject: [jboss-rpm] Hibernate 4 support is available in JBoss AS in Fedora Rawhide (jboss-as-7.1.1-10)
Date: Fri, 09 Nov 2012 14:39:33 +0100
From: Marek Goldmann <mgoldman@xxxxxxxxxx>
To: jboss-rpm@xxxxxxxxxxxxxxx <jboss-rpm@xxxxxxxxxxxxxxx>

Hi All,

I have some great news to share with you. We managed finally to bake
Hibernate 4 support into JBoss AS in Fedora. This wouldn't be possible
without Gil Cattaneo's support. He was that guy who packaged Hibernate 4:

	https://bugzilla.redhat.com/show_bug.cgi?id=852330

And here is the build:

	https://koji.fedoraproject.org/koji/taskinfo?taskID=4671784

## Where it is available?

Support for Hibernate 4 is immediately available *for Rawhide* for now.
We need spend some time on porting and testing the Maven resolver before
we can push hibernate (4) package to Fedora 17 or 18 branches.

## Things to note

"hibernate" is now the default hibernate package, hibernate3 is now a
compat package for it.

	https://fedoraproject.org/w/index.php?title=User:Akurtakov/JavaPackagingDraftUpdate#Compatibility_packages


There are few important things to note.

We have now 2 Hibernate versions in Fedora: 3.6.10.Final and 4.1.7.Final.

When using mvn-rpmbuild Maven resolver will look for the version
requested in pom.xml, if we have such one, then the correct library will
be returned. But this is a very rare case.

What happens when we don't have the selected version? A default one will
be returned (4.1.7.Final in this case).

How to resolve Hibernate 3 jars then?

1. Use the correct package version (3.6.10)
2. Use the correct upstream version (3.6.10.Final)
3. Use virtual version (3)

The most "safe" thing to do is to request version "3" in your pom. Maven
will return the latest installed library from hibernate3 package.

If you're unsure which version was resolved, add
"-Dmaven.local.debug=true" to your command.

Enjoy!

--Marek



_______________________________________________
jboss-rpm mailing list
jboss-rpm@xxxxxxxxxxxxxxx
https://lists.jboss.org/mailman/listinfo/jboss-rpm


--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel



[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux