[jboss-as7-dev] hibernate log barf

Ales Justin ales.justin at gmail.com
Thu May 19 06:13:23 EDT 2011


> From what I see in one of Scott Marlow's mails, I think he already has 
> started a discussion on reducing the verbosity of these log messages in 
> Hibernate.

Sure, but I think that WARN has to be dealt beyond logging.

Since I'm not setting any custom "hibernate.transaction.factory_class", 
but still getting the warning --> bad AS7 integration?

>> This is my persistence.xml
>> 
>>     <persistence-unit name="radar" transaction-type="JTA">
>> 		<provider>org.hibernate.ejb.HibernatePersistence</provider>
>> 		<jta-data-source>java:/H2DS</jta-data-source>
>>         <!-- entities -->
>>         <class>org.jboss.lhotse.server.api.domain.AbstractEntity</class>
>>         <class>org.jboss.lhotse.server.api.domain.TimestampedEntity</class>
>>         <class>org.jboss.lhotse.server.api.domain.GeoPt</class>
>>         <class>org.jboss.lhotse.server.api.domain.Version</class>
>>         <class>com.alterjoc.radar.server.domain.AuditLog</class>
>>         <exclude-unlisted-classes>true</exclude-unlisted-classes>
>>         <properties>
>>             <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
>>             <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
>>             <property name="hibernate.show_sql" value="false"/>
>>             <property name="hibernate.format_sql" value="true"/>
>>         </properties>
>>     </persistence-unit>
>> 
>> when running / testing app in latest AS7, Hibernate barfs a ton of INFO / WARN:
>> * http://pastebin.com/iJCahSFi
>> 
>> It looks like things do work, but definitely something I as a user don't like to see.
>> 
>> -Ales
>> 
>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list