-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate got all verbose in the build
PostPosted: Tue Sep 23, 2003 10:46 am 
Beginner
Beginner

Joined: Tue Sep 23, 2003 10:03 am
Posts: 26
Location: madison, wi
We fill our database with objects for testing purposes. The build.xml file has two targets that do this, one that initializes the db (init_db) and one that instruments it (instrument).

The init_db does the schema export and the instrument uses an xml file to put things into the database.

The odd thing is the console output from running these ant targets. It used to just give us basic info... altering tables, dropping tables, etc. But now it outputs all these lines about mapping and reflection optimizers being disabled.

Here's some example console output:

[java] alter table assets add constraint FKAC107383E9C160CA foreign key (asset_id) references Asset
[java] alter table Role add constraint FK26F496AAA77813 foreign key (permissionSet) references PermissionSet
[java] alter table Role add constraint FK26F49682B61905 foreign key (instance_id) references Instance
[java] - cleaning up connection pool: jdbc:JSQLConnect://localhost/database=director

instrument:
[java] - Hibernate 2.0 final
[java] - hibernate.properties not found
[java] - using CGLIB reflection optimizer
[java] - JVM proxy support: true
[java] - Configuration resource: /hibernate.cfg.xml
[java] - Mapping resource: md/address/Contact.hbm.xml


All of the output that seems to be new has the same format: [java] - xxxxxx. The older stuff lacks the dash. Does anyone have any idea what changed here? The only thing that's really changed about our hibernate setup was that I tried using hibern8ide for a while, but couldn't get it to work and removed it. Could some setting somewhere have been changed at some time because of that?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2003 10:13 am 
Beginner
Beginner

Joined: Tue Sep 23, 2003 10:03 am
Posts: 26
Location: madison, wi
Guesses?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2003 10:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
log4j.properties

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 24, 2003 10:18 am 
Beginner
Beginner

Joined: Tue Sep 23, 2003 10:03 am
Posts: 26
Location: madison, wi
christian wrote:
log4j.properties


log4j.rootLogger=WARN, console
log4j.appender.console=org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n


I tried switching WARN to ERROR, but not much of a change. I'm not sure what the rest of the stuff means, actually.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.