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: Narrowing Proxy to log warnings
PostPosted: Fri Apr 18, 2008 4:02 pm 
Beginner
Beginner

Joined: Thu Aug 17, 2006 3:20 pm
Posts: 21
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
1.2.1 GA

Debug level Hibernate log excerpt:
2008-04-18 15:44:31,333 [1] WARN NHibernate.Impl.SessionImpl [(null)] <(null)> - Narrowing proxy to SubClass1 - this operation breaks ==
2008-04-18 15:45:15,208 [16] WARN NHibernate.Impl.SessionImpl [(null)] <(null)> - Narrowing proxy to SubClass2 - this operation breaks ==


the classes at hand are joined-subclass with a generic repository that is using generics to return the base type of the inheritance tree. I am using
table-per subclass in this scenario.

My warning log file is being filled with these entries anytime the classes are being loaded.

It isn't causing any errors, its just warnings but they are crowding my logfiles. Is there anyway to suppress this warning from getting to the logs?

Thanks


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.