-->
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.  [ 2 posts ] 
Author Message
 Post subject: int... Message keeps displaying
PostPosted: Wed Sep 29, 2004 10:29 am 
Beginner
Beginner

Joined: Thu May 20, 2004 3:40 pm
Posts: 33
Hibernate version:
2.1.6

Mapping documents:



Code between sessionFactory.openSession() and session.close():

System.out.println("START HIBERNATE INSERT"+new Timestamp(System.currentTimeMillis()));
for (int i = from; i < to; i++)
{
tx = session.beginTransaction();
ofacTB = new OfacTB();
ofacTB.setId(-1);
ofacTB.setChgBy(987);
ofacTB.setVal(name+i);
ofacTB.setChgOn(new Timestamp(System.currentTimeMillis()));
session.save(ofacTB);

//java.util.List xt = session.find( "from Cat as cat where cat.mate.bithdate is null" );

java.util.List ofacList = session.find("from OFAC_TB in class com.gs.fw.gc.core.refs.OfacTB where val_c = ?", (name+i), Hibernate.STRING );

OfacTB ot = new OfacTB();
ot.setId(ofacTB.getId());
//session.load(ot, new Integer(ofacTB.getId()));

dst.insertDataSourceInstanceAndHistory(ofacTB, (1+1), (4+1));
tx.commit();
}
System.out.println("END HIBERNATE INSERT"+new Timestamp(System.currentTimeMillis()));


Full stack trace of any exception that occurs:

Name and version of the database you are using:
DB2 UDB 8.1

The generated SQL (show_sql=true):


Debug level Hibernate log excerpt:

int...
int...
int...
int...
int...
int...
int...
int...
int...
int...

We keep seeing the int... message. Where is this being printed?? Do we need an upated version of hibernate, so the int... message does not print??


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 29, 2004 10:35 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
I am quite sure this is not from Hibernate - perhaps do a grep for System.out over your code ...


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