-->
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: SQLState
PostPosted: Mon Dec 18, 2006 1:22 pm 
Newbie

Joined: Tue Mar 14, 2006 6:48 pm
Posts: 9
Hi:

I am getting the JDBCExceptionReporter warning: SQL Warning: 17110, SQLState: null

Hibernates generates the following SQL that causes this warning:


Code:
DEBUG [SQL.log 324]
    select tblorgbase0_.SYSLINKFIELD as col_0_0_,
             tblorgbase0_.ORGANIZATION as col_1_0_,
             count(tblchemica1_.SYSLINKFIELD) as col_2_0_
    from EIS_DBA.TBLORGBASE tblorgbase0_, EIS_DBA.TBLCHEMICAL tblchemica1_
    where tblorgbase0_.SYSLINKFIELD=tblchemica1_.SYSFACCODE(+) and
              tblorgbase0_.ORGTYPE='Waste Generator' and
              tblorgbase0_.DEPARTMENT_SYSMASTER=?
    group by tblorgbase0_.SYSLINKFIELD , tblorgbase0_.ORGANIZATION

DEBUG [SQL.log 324]
    select tbldepartm0_.SYSLINKFIELD as SYSLINKF1_0_,
             tbldepartm0_.SYSRECNO as SYSRECNO82_0_,
             tbldepartm0_.NAME as NAME82_0_, tbldepartm0_.UPDATED as UPDATED82_0_
    from EIS_DBA.TBLDEPARTMENT tbldepartm0_
    where tbldepartm0_.SYSLINKFIELD=?

WARN  [JDBCExceptionReporter.logWarnings 48] SQL Warning: 17110, SQLState: null



I am listing TBLORGBASE objects and their count of TBLCHEMICAL's for a TBLDEPARTMENT. What is weird is that I do not get this warning if I have less than 10 TBLORGBASE objects in a department. Has anyone seen this SQLState warning? Is there a fix for it?

Hibernate version:3.1


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.