-->
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.  [ 3 posts ] 
Author Message
 Post subject: trouble seeing output of show_sql
PostPosted: Mon Aug 30, 2004 9:45 am 
Newbie

Joined: Tue Jul 27, 2004 1:17 pm
Posts: 12
My hibernate application is running fine within JBoss...the only problem is that I do not see the sql outout even though I have show_sql=true in my hibernate.properties file

Where should I see the output...in the jboss log or someplace else?

Hibernate version:2.1

hibernate.properties:
hibernate.dialect.net.sf.hibernate.dialect.Oracle9Dialect
hibernate.connection.drive_class oracle.jdbc.driver.OracleDriver
hibernate.connection.datasource=java:/OracleDS
hibernate.show_sql=true


Top
 Profile  
 
 Post subject: Re: trouble seeing output of show_sql
PostPosted: Mon Aug 30, 2004 4:51 pm 
Proxool Developer
Proxool Developer

Joined: Tue Aug 26, 2003 10:42 am
Posts: 373
Location: Belgium
Not sure about it but it seems the sql debug output produced by Hibernate is not using the log4j utility but is 'simply' printed using System.out.println() statements...

Don't know how JBoss handles these outputs but you should probably have a look at either your console or another log file.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 30, 2004 8:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
log4j category is net.sf.hibernate.SQL


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

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.