Help

Hibernate Core 4.0.1 has just been released. It mainly contains bug fixes and minor improvements. Check out the release notes for details.

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate groupId. Or if you prefer, the download bundles are available from SourceForge in both ZIP and TGZ formats.

39 comments:
 
24. Jan 2012, 19:30 CET | Link
Sad Hibernate User

Please get rid of the requirements for JBOSS logging because it is making it very hard to adopt Hibernate. Here are the problems with JBOSS Logging.

1) There is no web page for the project, maybe I am blind but 10 minutes of googeling and I can't locate a place where I can find the documentation for JBoss Logging, Slf4j, log4j, jdk logging are documented to death

2) Putting together an enterprise java stack now requires log4j,slf4j,commons-logging, and now jboss logging this is just insane, I was hopping that frameworks like hibernate being low level foundational frameworks will do the right thing and not require any dependecies on other frameworks for logging, just use the jdk logging.

3) I don't care about the JBOSS family of projects, the only thing I use from JBOSS is hibernate I don't care about the app server, I use tomcat, why are you making me dependent on other JBOSS projects.

so please find a way to get rid of jboss logging asap otherwise you will find that many users will be very unhappy.

 
24. Jan 2012, 23:30 CET | Link

You do realize that Tomcat is largely developed by Red Hat and JBoss right?

 
24. Jan 2012, 23:33 CET | Link

I do agree though there should be a page or two about setting JBoss Logging up to log to various backends.

 
24. Jan 2012, 23:50 CET | Link

All you need to do is add jboss-logging.jar to the class path. There's no configuration necessary. The fact is that everyone wants something different for logging. It's you saying Just use JDK logging, or someone else saying Why are you using JDK logging, you should use log4j or someone else saying I can't use Logback because you didn't use slf4j. Using jboss-logging.jar means that all these backends will just work. Yes you have to add one small JAR but really this is the best solution possible, and trust me, this problem has been analyzed with a fine-tooth comb for many years by many many people.

 
24. Jan 2012, 23:57 CET | Link

BTW, jboss-logging is already an exported dependency of Hibernate itself. So if you use Maven, Gradle, Ivy, etc and pull in hibernate-core you already get jboss-logging. From there you just drop in the actual logging backend you want to use and jboss-logging picks it up

 
25. Jan 2012, 00:20 CET | Link
Sad Hibernate User

I don't have anything against red hat and JBOSS I just want a very lightweight framework with minimal dependencies this is why I have stuck it out with tomcat. I think JBOSS and Red Hat do great work but I want the choice to be a minimalist and I suspect others do too.

 
25. Jan 2012, 00:26 CET | Link
Sad Hibernate User

I actually don't use maven, gradel, or ivy because I don't want to pull in the public repos meta data files, and I want to check digital signatures on all downloaded files before I add them to an authorized internal runtime directory structure. For me keeping things really simple is very very important, it allows me be super productive compared to other JEE developers.

 
25. Jan 2012, 00:29 CET | Link
Sad Hibernate User

Please point me to where I can download the sources and jar of jboss logging and documentation explaining how to configure it with slf4j? I I would really appreciate that.

 
25. Jan 2012, 01:17 CET | Link

You don't configure anything in JBoss Logging as David already pointed out. It simply sees what logging backends are available on your system and uses (one of) them. slf4j is not a backend itself. For example, take a normal slf4j use case where you are using slf4j to route to log4j. In this case you'd have (1) slf4j-api.jar, (2) sl4fj-log4j12.jar and finally (3) log4j.jar. jboss-logging.jar would see log4j.jar and route logging through log4j.

You can see the order of preference for back-ends in jboss-logging in : https://github.com/jboss-logging/jboss-logging/blob/master/src/main/java/org/jboss/logging/LoggerProviders.java#L29 You can also see its configuration parameter if you absolutely want it to do something odd.

Anyway, you can gets its jars in both the JBoss Maven repository and the Central Maven repository. Its source jar also get published to each. Or you can get the project git repo at https://github.com/jboss-logging/jboss-logging

 
28. Feb 2012, 09:10 CET | Link
Christophe | cle(AT)mobiletoken.com

I totally agree with you !

 
04. Apr 2012, 20:03 CET | Link

And I do have to point out that both Gradle and Ivy allow you to define dependencies via directory paths, even project directory paths. Your choice of build tool (or lack thereof) is obviously totally up to you, but at least know what you are talking about when you say I dont use X because of Y.

 
18. May 2012, 11:25 CET | Link
Morten Knudsen | goatbrain(AT)gmail.com
I totally agree with the first poster.
Apparently jboss-logging does exactly the same stupid thing (run time discovery of logging backend) that made everybody hate commons-logging so much.
And why why why create a new logging framwork, when you could've just created an I18N and whatever framework on top of slf4j?
Logging in java is such a pain already, due to the many (and broken) frameworks.
There is actually a special place in hell for those who create new frameworks for no good reason.
 
18. May 2012, 11:28 CET | Link
Morten Knudsen | goatbrain(AT)gmail.com
BTW, the runtime discovery thing of course doesn't work in an OSGi environment, not that the hibernate team care about OSGi anyway.
 
09. Aug 2012, 16:04 CET | Link
Maximiliano Carrioz | mcarrizo(AT)gmail.com

Guys, if you were working outside Red Hat, you would agree with Sad Hibernate User. I think it's okay to be loyal with your current employer, but that not mean you should support every stupid decision. You are basically saying the rest of us should create a logging framework for each new framework we create. Because Hibernate belongs to Red Hat and JBoss, you are saying you will add everything from them, because you are the owner ... Very mature comment !

Come on !! Adding jboss-logging to Hibernate is useless and very stupid. Sorry, guys, its my opinion.

09. May 2014, 09:55 CET | Link
Aloys

I added the jboss logging jars, downloaded with the Maven for 'Hibernate 4.3.5.Final', but I am getting the error below?

  1. I added tried to add log4j 1.2.17, but could not fix it.
  2. I also tried by adding both slf4j-api-1.7.7.jar and slf4j-log4j12-1.7.7.jar, but could not fix it.

What are the correct jar and versions, I need in my classpath?

java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLogger.translate(Log4jLogger.java:60) at org.jboss.logging.Log4jLogger.isEnabled(Log4jLogger.java:35) at org.jboss.logging.Logger.tracef(Logger.java:285) at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:66) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:39)

 
24. May 2014, 17:34 CET | Link

Traditional Replica Gucci Handbags features a catch sequence hooking diamond jewelry concept inside the complete zipper, which can be typically the particular lion or perhaps the particular popular double-C designed. Authentic zipper provides weighty fat as well as the closed spot is normally segregated simply by lamb with all the two-seam. You can view the particular glue on the landscape when it is any artificial gucci replica handbags. The true Replica Gucci Handbags merchandise constantly provides servicing handbook. The particular creation regarding diverse decades provides a few variants in line with the package deal. The particular 2001th has been employed this past year. One other will be coming from 2001 to be able to 2003. The particular perspective right after 2003 could be the newest model. A lot of the artificial carrier is employed the initial model. Replica Gucci Handbags carrier, the good friend can enjoy an individual quite definitely. Yet there's a huge industry fakers, thus be mindful once you obtain a carrier. Around the previously mentioned write-up My partner and i provides composed a few thoughts, however can always compose a few thoughts. You need to make certain the particular authenticity charge cards are in reality correct. The first credit card that is included with the Replica Gucci Handbags finances will provide you with more details concerning any time and also in which the finances continues to be fake gucci belts produced. These kinds of authenticity charge cards have got african american and also rare metal lettering. People will be the simply shade and so that for almost any usage of credit card which can be distinctive from typical can easily betokens the carrier you bought can be a artificial. Furthermore, these kinds of charge cards should never be laminated. In the event the credit card will be laminated, what this means is the bag can be a artificial. It really is identified there are simply no further parts. You ought to recognize that Replica Gucci Handbags will not contain parts inside accessories.

 
31. Aug 2014, 12:10 CET | Link
jack

If an individual reads garcinia combogia reviews he could find quality carpet cleaning bordentown information about the weight loss supplements. The main function of extract of the garcinia combogia acts as a fat blocker..

10. Sep 2014, 18:41 CET | Link
asad

Well, this got me thinking what other workouts are good for those of us who find ourselves on the road or have limited equipment options.travel workout

11. Sep 2014, 11:15 CET | Link

The Forever Yours PDF ebook and complete guide to understanding and connecting with men. Gain instant access to amazing tips, insider techniques, and weird connection secrets on how to painlessly defeat his emotional barriers, get inside his heart, and form an unbreakable bond with the help of relationship expert and best-selling author, Carlos Cavallo.https://www.rebelmouse.com/foreveryours/

 
13. Sep 2014, 11:50 CET | Link
asadalikhatri

Your blog has some interesting tips on writing a good essay writing services reviews. However, this is not enough for me. I want to be able to find someone who can do it well and within a short period of time. Kindly advise where I can find the best essay writing companies online.

 
14. Sep 2014, 07:26 CET | Link
asadalikhatri

What is the best essay writing help tool? The internet seems awash with a lot of information. Which tool would enable me to narrow filter information and provide results for only what is relevant? What do online writers use for research?

20. Sep 2014, 06:20 CET | Link

At the end of this post, I have also placed some important consumer alerts about various schemes I've found from dodgy websites promoting Fibroids Miracle (FM) with absolutely no knowledge of the product and that may have ulterior motives to try and trick you into visiting their sites. https://www.rebelmouse.com/amandaletofibroidsmiracle/

20. Sep 2014, 18:41 CET | Link

Then he will analyze the areas that liposuction works, which normally great is the hips, the flanks, and sometimes the tummy.the only way liposuction work is

 
22. Sep 2014, 15:08 CET | Link
jassica

Decorative concrete has been growing in popularity, over the past few years. Decorative concrete is simply a way to make a once basic and boring part of the home, the driveway and walkways, more decorative. There are several different kinds of decorative concrete, available, and all of them can add beauty and distinction to your concrete. Decorative Concrete

 
26. Sep 2014, 08:22 CET | Link
ming

great post My Link My Link My Link

27. Sep 2014, 07:57 CET | Link

The Fat Loss Factor book is only available online through author Dr. Charles' website and is NOT sold through Amazon, Barnes and Noble, or other traditional book sellers.https://rebelmouse.com/reviewsfatlossfactor/

27. Sep 2014, 10:47 CET | Link

These keywords will help your business become more visible once it begins ranking on top 10 positions of search results.Neueseo Toronto

01. Oct 2014, 06:31 CET | Link

Excellent site, where did you come up with the information in this write-up? I’m glad I found it though, ill be checking back soon to see what other articles you have.Entretien menager a laval

04. Oct 2014, 08:29 CET | Link

The Tinnitus Remedy book is only available online through Ian McCall's website and is NOT sold through Amazon, Barnes and Noble, or other traditional book sellers.rebelmouse.com

 
17. Oct 2014, 10:01 CET | Link

I am really enjoying reading your well written articles. It looks like you spend a lot of effort and time on your blog. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work. Service de nettoyage

 
17. Oct 2014, 10:09 CET | Link

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea.Service de nettoyage

 
17. Oct 2014, 10:18 CET | Link

First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks. Service de nettoyage

 
17. Oct 2014, 10:26 CET | Link

Really appreciate this wonderful post that you have provided for us.Great site and a great topic as well i really get amazed to read this. Its really good.maid service

31. Oct 2014, 22:21 CET | Link
HGY

On the off abnormal that you allegation some address acquirement affirmation for your bookish assention organizations you are in the best place. The adjustment gets you the best announcer so copyessay you can get affirmation that are absolutely continuing for your need.

 
04. Nov 2014, 04:55 CET | Link

The artifacts have all been published to the JBoss Nexus repository under the org.hibernate groupId. Or if you prefer, the download bundles are available from SourceForge in both ZIP and TGZ formats.

 
15. Nov 2014, 16:21 CET | Link
alikhan

I am a new user of this site so here i saw multiple articles and posts posted by this site,I curious more interest in some of them hope you will give more information on this topics in your next articles. Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us. how to tell if a man you work with is attracted to you

 
16. Nov 2014, 13:10 CET | Link
alikhan

This write-up that you have composed is really entertaining as well as I believed I would certainly permit you recognize. The study that has actually entered into this write-up appears like it would certainly of taken a lengthy time. Info such as this is extremely difficult to find nowadays. These words are really top quality and also the needs to of taken a long period of time. I assume you have actually motivated me to create an excellent quality write-up like the one you have right here. Magnum opus on this article, I expect coming back.heat protection curl enhancer

 
29. Nov 2014, 10:04 CET | Link
ewr wer wer | werwrwrw3(AT)gmail.com

ngthy time. Info such as this is extremely difficult to find nowadays. These words are really top quality and also the needs to of taken a long period of time. I assume you have

Instant Photoshop Guru review http://makethatmoney.co/blog/vectors-firesale-review/ Hero Syndicate review Friend Sweeper review Super Mobile Templates review