-->
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: No data type for node: org.hibernate.hql.ast.tree.MethodNode
PostPosted: Mon Jan 22, 2007 6:32 pm 
Regular
Regular

Joined: Fri Jan 28, 2005 3:11 am
Posts: 81
Hibernate version:
3.1

Mapping documents:

<hibernate-mapping package="com.talisen.lbwebpo.model">

<class name="Po" table="PO_LIST" where="SOURCE != 'WEBPO - IDS' AND active = 1">
<id name="poId" column="PO_ID" type="integer">
<generator class="native"/>
</id>

<property name="parentPoId" column="PARENT_PO_ID" type="integer" />
<property name="poNumber" column="PO_NUMBER" type="string" not-null="true" />
<property name="poDate" column="PO_DATE" type="date" not-null="true" />
<property name="loadDate" column="LOAD_DATE" type="timestamp" not-null="true" />
<property name="supplierName" column="SUPPLIER_NAME" type="string" />
<property name="supplierNumber" column="SUPPLIER_NUMBER" type="integer" />
<property name="buyerCode" column="BUYER_CODE" type="string" />
<many-to-one name="poType" column="PO_TYPE_ID" class="PoType" not-null="true"/>

<property name="creator" column="CREATOR" type="string" />
<property name="inQueue" column="IN_QUEUE" type="yes_no" />
<property name="changeOrderSeq" column="CHANGE_ORDER_SEQ" type="string" />
<property name="custCode" column="CUST_CODE" type="string" />
<property name="cageCode" column="CAGE_CODE" type="string" />
<property name="active" column="ACTIVE" type="byte" not-null="true" />

<!-- <many-to-one name="poType" column="PO_TYPE_ID" class="PoType" not-null="true" />-->

<!-- <one-to-one name="rfqReqs" class="RfqReqs" property-ref="reqPo"/>-->
</class>

</hibernate-mapping>

Code between sessionFactory.openSession() and session.close():
List reqList = HibernateUtil
.getCurrentSession()
.createQuery(
"from Po po3 where po3.poType.poTypeId=11 and po3.buyerCode in (:buyerCodes) and po3.poId not in (select r.reqId from RfqReqs r where r.rfq.status = 1) and not exists (select 'x' from ReqDeletedDate rdd where rdd.poId = po3.poId) and (decode(substr(po3.poNumber,6,1),'-',po3.poNumber, decode(instr(po3.poNumber,'-'),0, po3.poNumber, substr(po3.poNumber,1,instr(po3.poNumber,'-')-1)))) not in (select decode(substr(po.poNumber,6,1),'-',po.poNumber,decode(instr(po.poNumber,'-'),0,po.poNumber, substr(po.poNumber,1,instr(po.poNumber,'-')-1))) from Po po WHERE po.poType.poTypeId in (1, 6) AND po.active = 1 and po.poDate > (sysdate - 3) and po.creator = 'WEBPO - LBD') order by po3.poDate asc")
.setParameterList("buyerCodes", buyerCodes).list();
Full stack trace of any exception that occurs:
javax.servlet.ServletException: No data type for node: org.hibernate.hql.ast.tree.MethodNode
\-[METHOD_CALL] MethodNode: '('
+-[METHOD_NAME] IdentNode: 'decode' {originalText=decode}
\-[EXPR_LIST] SqlNode: 'exprList'
+-[METHOD_CALL] MethodNode: '('
| +-[METHOD_NAME] IdentNode: 'substr' {originalText=substr}
| \-[EXPR_LIST] SqlNode: 'exprList'
| +-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| | +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| | \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
| +-[NUM_INT] LiteralNode: '6'
| \-[NUM_INT] LiteralNode: '1'
+-[QUOTED_STRING] LiteralNode: ''-''
+-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
\-[METHOD_CALL] MethodNode: '('
+-[METHOD_NAME] IdentNode: 'decode' {originalText=decode}
\-[EXPR_LIST] SqlNode: 'exprList'
+-[METHOD_CALL] MethodNode: '('
| +-[METHOD_NAME] IdentNode: 'instr' {originalText=instr}
| \-[EXPR_LIST] SqlNode: 'exprList'
| +-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| | +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| | \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
| \-[QUOTED_STRING] LiteralNode: ''-''
+-[NUM_INT] LiteralNode: '0'
+-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
\-[METHOD_CALL] MethodNode: '('
+-[METHOD_NAME] IdentNode: 'substr' {originalText=substr}
\-[EXPR_LIST] SqlNode: 'exprList'
+-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
+-[NUM_INT] LiteralNode: '1'
\-[MINUS] BinaryArithmeticOperatorNode: '-' {dataType=org.hibernate.type.IntegerType@e0e9d5}
+-[METHOD_CALL] MethodNode: '('
| +-[METHOD_NAME] IdentNode: 'instr' {originalText=instr}
| \-[EXPR_LIST] SqlNode: 'exprList'
| +-[DOT] DotNode: 'po4_.PO_NUMBER' {propertyName=poNumber,dereferenceType=4,propertyPath=poNumber,path=po.poNumber,tableAlias=po4_,className=com.talisen.lbwebpo.model.Po,classAlias=po}
| | +-[ALIAS_REF] IdentNode: 'po4_.PO_ID' {alias=po, className=com.talisen.lbwebpo.model.Po, tableAlias=po4_}
| | \-[IDENT] IdentNode: 'poNumber' {originalText=poNumber}
| \-[QUOTED_STRING] LiteralNode: ''-''
\-[NUM_INT] LiteralNode: '1'
Name and version of the database you are using:
Oracle 9i
The generated SQL (show_sql=true):
doesn't get to this part
Debug level Hibernate log excerpt:
will try to provide


Top
 Profile  
 
 Post subject: debug level log
PostPosted: Mon Jan 22, 2007 6:43 pm 
Regular
Regular

Joined: Fri Jan 28, 2005 3:11 am
Posts: 81
Ok, and here's the debug level log:

Code:
DEBUG 2007/01/22 16:36:38 org.hibernate.engine.StatefulPersistenceContext - initializing non-lazy collections
DEBUG 2007/01/22 16:36:38 org.hibernate.engine.query.QueryPlanCache - unable to locate HQL query plan in cache; generating (from Po po3 where po3.poType.poTypeId=11 and po3.buyerCode in (:buyerCodes) and po3.poId not in (select r.reqId from RfqReqs r where r.rfq.status = 1) and not exists (select 'x' from ReqDeletedDate rdd where rdd.poId = po3.poId) and (decode(substr(po3.poNumber,6,1),'-',po3.poNumber, decode(instr(po3.poNumber,'-'),0, po3.poNumber, substr(po3.poNumber,1,instr(po3.poNumber,'-')-1)))) not in (select decode(substr(po.poNumber,6,1),'-',po.poNumber,decode(instr(po.poNumber,'-'),0,po.poNumber, substr(po.poNumber,1,instr(po.poNumber,'-')-1))) from Po po WHERE po.poType.poTypeId in (1, 6) AND po.active = 1 and po.poDate > (sysdate - 3) and po.creator = 'WEBPO - LBD') order by po3.poDate asc)
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.QueryTranslatorImpl - parse() - HQL: from com.talisen.lbwebpo.model.Po po3 where po3.poType.poTypeId=11 and po3.buyerCode in (:buyerCodes) and po3.poId not in (select r.reqId from com.talisen.lbwebpo.model.RfqReqs r where r.rfq.status = 1) and not exists (select 'x' from com.talisen.lbwebpo.model.ReqDeletedDate rdd where rdd.poId = po3.poId) and (decode(substr(po3.poNumber,6,1),'-',po3.poNumber, decode(instr(po3.poNumber,'-'),0, po3.poNumber, substr(po3.poNumber,1,instr(po3.poNumber,'-')-1)))) not in (select decode(substr(po.poNumber,6,1),'-',po.poNumber,decode(instr(po.poNumber,'-'),0,po.poNumber, substr(po.poNumber,1,instr(po.poNumber,'-')-1))) from com.talisen.lbwebpo.model.Po po WHERE po.poType.poTypeId in (1, 6) AND po.active = 1 and po.poDate > (sysdate - 3) and po.creator = 'WEBPO - LBD') order by po3.poDate asc
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.AST - --- HQL AST ---
\-[QUERY] 'query'
    +-[SELECT_FROM] 'SELECT_FROM'
    |  \-[FROM] 'from'
    |     \-[RANGE] 'RANGE'
    |        +-[DOT] '.'
    |        |  +-[DOT] '.'
    |        |  |  +-[DOT] '.'
    |        |  |  |  +-[DOT] '.'
    |        |  |  |  |  +-[IDENT] 'com'
    |        |  |  |  |  \-[IDENT] 'talisen'
    |        |  |  |  \-[IDENT] 'lbwebpo'
    |        |  |  \-[IDENT] 'model'
    |        |  \-[IDENT] 'Po'
    |        \-[ALIAS] 'po3'
    +-[WHERE] 'where'
    |  \-[AND] 'and'
    |     +-[AND] 'and'
    |     |  +-[AND] 'and'
    |     |  |  +-[AND] 'and'
    |     |  |  |  +-[EQ] '='
    |     |  |  |  |  +-[DOT] '.'
    |     |  |  |  |  |  +-[DOT] '.'
    |     |  |  |  |  |  |  +-[IDENT] 'po3'
    |     |  |  |  |  |  |  \-[IDENT] 'poType'
    |     |  |  |  |  |  \-[IDENT] 'poTypeId'
    |     |  |  |  |  \-[NUM_INT] '11'
    |     |  |  |  \-[IN] 'in'
    |     |  |  |     +-[DOT] '.'
    |     |  |  |     |  +-[IDENT] 'po3'
    |     |  |  |     |  \-[IDENT] 'buyerCode'
    |     |  |  |     \-[IN_LIST] 'inList'
    |     |  |  |        \-[COLON] ':'
    |     |  |  |           \-[IDENT] 'buyerCodes'
    |     |  |  \-[NOT_IN] 'not in'
    |     |  |     +-[DOT] '.'
    |     |  |     |  +-[IDENT] 'po3'
    |     |  |     |  \-[IDENT] 'poId'
    |     |  |     \-[IN_LIST] 'inList'
    |     |  |        \-[QUERY] 'query'
    |     |  |           +-[SELECT_FROM] 'SELECT_FROM'
    |     |  |           |  +-[FROM] 'from'
    |     |  |           |  |  \-[RANGE] 'RANGE'
    |     |  |           |  |     +-[DOT] '.'
    |     |  |           |  |     |  +-[DOT] '.'
    |     |  |           |  |     |  |  +-[DOT] '.'
    |     |  |           |  |     |  |  |  +-[DOT] '.'
    |     |  |           |  |     |  |  |  |  +-[IDENT] 'com'
    |     |  |           |  |     |  |  |  |  \-[IDENT] 'talisen'
    |     |  |           |  |     |  |  |  \-[IDENT] 'lbwebpo'
    |     |  |           |  |     |  |  \-[IDENT] 'model'
    |     |  |           |  |     |  \-[IDENT] 'RfqReqs'
    |     |  |           |  |     \-[ALIAS] 'r'
    |     |  |           |  \-[SELECT] 'select'
    |     |  |           |     \-[DOT] '.'
    |     |  |           |        +-[IDENT] 'r'
    |     |  |           |        \-[IDENT] 'reqId'
    |     |  |           \-[WHERE] 'where'
    |     |  |              \-[EQ] '='
    |     |  |                 +-[DOT] '.'
    |     |  |                 |  +-[DOT] '.'
    |     |  |                 |  |  +-[IDENT] 'r'
    |     |  |                 |  |  \-[IDENT] 'rfq'
    |     |  |                 |  \-[IDENT] 'status'
    |     |  |                 \-[NUM_INT] '1'
    |     |  \-[NOT] 'not'
    |     |     \-[EXISTS] 'exists'
    |     |        \-[QUERY] 'query'
    |     |           +-[SELECT_FROM] 'SELECT_FROM'
    |     |           |  +-[FROM] 'from'
    |     |           |  |  \-[RANGE] 'RANGE'
    |     |           |  |     +-[DOT] '.'
    |     |           |  |     |  +-[DOT] '.'
    |     |           |  |     |  |  +-[DOT] '.'
    |     |           |  |     |  |  |  +-[DOT] '.'
    |     |           |  |     |  |  |  |  +-[IDENT] 'com'
    |     |           |  |     |  |  |  |  \-[IDENT] 'talisen'
    |     |           |  |     |  |  |  \-[IDENT] 'lbwebpo'
    |     |           |  |     |  |  \-[IDENT] 'model'
    |     |           |  |     |  \-[IDENT] 'ReqDeletedDate'
    |     |           |  |     \-[ALIAS] 'rdd'
    |     |           |  \-[SELECT] 'select'
    |     |           |     \-[QUOTED_STRING] ''x''
    |     |           \-[WHERE] 'where'
    |     |              \-[EQ] '='
    |     |                 +-[DOT] '.'
    |     |                 |  +-[IDENT] 'rdd'
    |     |                 |  \-[IDENT] 'poId'
    |     |                 \-[DOT] '.'
    |     |                    +-[IDENT] 'po3'
    |     |                    \-[IDENT] 'poId'
    |     \-[NOT_IN] 'not in'
    |        +-[METHOD_CALL] '('
    |        |  +-[IDENT] 'decode'
    |        |  \-[EXPR_LIST] 'exprList'
    |        |     +-[METHOD_CALL] '('
    |        |     |  +-[IDENT] 'substr'
    |        |     |  \-[EXPR_LIST] 'exprList'
    |        |     |     +-[DOT] '.'
    |        |     |     |  +-[IDENT] 'po3'
    |        |     |     |  \-[IDENT] 'poNumber'
    |        |     |     +-[NUM_INT] '6'
    |        |     |     \-[NUM_INT] '1'
    |        |     +-[QUOTED_STRING] ''-''
    |        |     +-[DOT] '.'
    |        |     |  +-[IDENT] 'po3'
    |        |     |  \-[IDENT] 'poNumber'
    |        |     \-[METHOD_CALL] '('
    |        |        +-[IDENT] 'decode'
    |        |        \-[EXPR_LIST] 'exprList'
    |        |           +-[METHOD_CALL] '('
    |        |           |  +-[IDENT] 'instr'
    |        |           |  \-[EXPR_LIST] 'exprList'
    |        |           |     +-[DOT] '.'
    |        |           |     |  +-[IDENT] 'po3'
    |        |           |     |  \-[IDENT] 'poNumber'
    |        |           |     \-[QUOTED_STRING] ''-''
    |        |           +-[NUM_INT] '0'
    |        |           +-[DOT] '.'
    |        |           |  +-[IDENT] 'po3'
    |        |           |  \-[IDENT] 'poNumber'
    |        |           \-[METHOD_CALL] '('
    |        |              +-[IDENT] 'substr'
    |        |              \-[EXPR_LIST] 'exprList'
    |        |                 +-[DOT] '.'
    |        |                 |  +-[IDENT] 'po3'
    |        |                 |  \-[IDENT] 'poNumber'
    |        |                 +-[NUM_INT] '1'
    |        |                 \-[MINUS] '-'
    |        |                    +-[METHOD_CALL] '('
    |        |                    |  +-[IDENT] 'instr'
    |        |                    |  \-[EXPR_LIST] 'exprList'
    |        |                    |     +-[DOT] '.'
    |        |                    |     |  +-[IDENT] 'po3'
    |        |                    |     |  \-[IDENT] 'poNumber'
    |        |                    |     \-[QUOTED_STRING] ''-''
    |        |                    \-[NUM_INT] '1'
    |        \-[IN_LIST] 'inList'
    |           \-[QUERY] 'query'
    |              +-[SELECT_FROM] 'SELECT_FROM'
    |              |  +-[FROM] 'from'
    |              |  |  \-[RANGE] 'RANGE'
    |              |  |     +-[DOT] '.'
    |              |  |     |  +-[DOT] '.'
    |              |  |     |  |  +-[DOT] '.'
    |              |  |     |  |  |  +-[DOT] '.'
    |              |  |     |  |  |  |  +-[IDENT] 'com'
    |              |  |     |  |  |  |  \-[IDENT] 'talisen'
    |              |  |     |  |  |  \-[IDENT] 'lbwebpo'
    |              |  |     |  |  \-[IDENT] 'model'
    |              |  |     |  \-[IDENT] 'Po'
    |              |  |     \-[ALIAS] 'po'
    |              |  \-[SELECT] 'select'
    |              |     \-[METHOD_CALL] '('
    |              |        +-[IDENT] 'decode'
    |              |        \-[EXPR_LIST] 'exprList'
    |              |           +-[METHOD_CALL] '('
    |              |           |  +-[IDENT] 'substr'
    |              |           |  \-[EXPR_LIST] 'exprList'
    |              |           |     +-[DOT] '.'
    |              |           |     |  +-[IDENT] 'po'
    |              |           |     |  \-[IDENT] 'poNumber'
    |              |           |     +-[NUM_INT] '6'
    |              |           |     \-[NUM_INT] '1'
    |              |           +-[QUOTED_STRING] ''-''
    |              |           +-[DOT] '.'
    |              |           |  +-[IDENT] 'po'
    |              |           |  \-[IDENT] 'poNumber'
    |              |           \-[METHOD_CALL] '('
    |              |              +-[IDENT] 'decode'
    |              |              \-[EXPR_LIST] 'exprList'
    |              |                 +-[METHOD_CALL] '('
    |              |                 |  +-[IDENT] 'instr'
    |              |                 |  \-[EXPR_LIST] 'exprList'
    |              |                 |     +-[DOT] '.'
    |              |                 |     |  +-[IDENT] 'po'
    |              |                 |     |  \-[IDENT] 'poNumber'
    |              |                 |     \-[QUOTED_STRING] ''-''
    |              |                 +-[NUM_INT] '0'
    |              |                 +-[DOT] '.'
    |              |                 |  +-[IDENT] 'po'
    |              |                 |  \-[IDENT] 'poNumber'
    |              |                 \-[METHOD_CALL] '('
    |              |                    +-[IDENT] 'substr'
    |              |                    \-[EXPR_LIST] 'exprList'
    |              |                       +-[DOT] '.'
    |              |                       |  +-[IDENT] 'po'
    |              |                       |  \-[IDENT] 'poNumber'
    |              |                       +-[NUM_INT] '1'
    |              |                       \-[MINUS] '-'
    |              |                          +-[METHOD_CALL] '('
    |              |                          |  +-[IDENT] 'instr'
    |              |                          |  \-[EXPR_LIST] 'exprList'
    |              |                          |     +-[DOT] '.'
    |              |                          |     |  +-[IDENT] 'po'
    |              |                          |     |  \-[IDENT] 'poNumber'
    |              |                          |     \-[QUOTED_STRING] ''-''
    |              |                          \-[NUM_INT] '1'
    |              \-[WHERE] 'WHERE'
    |                 \-[AND] 'and'
    |                    +-[AND] 'and'
    |                    |  +-[AND] 'AND'
    |                    |  |  +-[IN] 'in'
    |                    |  |  |  +-[DOT] '.'
    |                    |  |  |  |  +-[DOT] '.'
    |                    |  |  |  |  |  +-[IDENT] 'po'
    |                    |  |  |  |  |  \-[IDENT] 'poType'
    |                    |  |  |  |  \-[IDENT] 'poTypeId'
    |                    |  |  |  \-[IN_LIST] 'inList'
    |                    |  |  |     +-[NUM_INT] '1'
    |                    |  |  |     \-[NUM_INT] '6'
    |                    |  |  \-[EQ] '='
    |                    |  |     +-[DOT] '.'
    |                    |  |     |  +-[IDENT] 'po'
    |                    |  |     |  \-[IDENT] 'active'
    |                    |  |     \-[NUM_INT] '1'
    |                    |  \-[GT] '>'
    |                    |     +-[DOT] '.'
    |                    |     |  +-[IDENT] 'po'
    |                    |     |  \-[IDENT] 'poDate'
    |                    |     \-[MINUS] '-'
    |                    |        +-[IDENT] 'sysdate'
    |                    |        \-[NUM_INT] '3'
    |                    \-[EQ] '='
    |                       +-[DOT] '.'
    |                       |  +-[IDENT] 'po'
    |                       |  \-[IDENT] 'creator'
    |                       \-[QUOTED_STRING] ''WEBPO - LBD''
    \-[ORDER] 'order'
       +-[DOT] '.'
       |  +-[IDENT] 'po3'
       |  \-[IDENT] 'poDate'
       \-[ASCENDING] 'asc'

DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.ErrorCounter - throwQueryException() : no errors
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select << begin [level=1, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromElement - FromClause{level=1} :  com.talisen.lbwebpo.model.Po (po3) -> po0_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poType -> org.hibernate.type.ManyToOneType(com.talisen.lbwebpo.model.PoType)
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - dereferenceShortcut() : property poTypeId in com.talisen.lbwebpo.model.Po does not require a join.
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - Unresolved property path is now 'poType.poTypeId'
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poType -> po0_.PO_TYPE_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poType.poTypeId -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poType.poTypeId -> po0_.PO_TYPE_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : buyerCode -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.buyerCode -> po0_.BUYER_CODE
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poId -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poId -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select << begin [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromElement - FromClause{level=2} :  com.talisen.lbwebpo.model.RfqReqs (r) -> rfqreqs1_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  r -> rfqreqs1_.RFQ_REQS_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : reqId -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  r.reqId -> rfqreqs1_.REQ_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  r -> rfqreqs1_.RFQ_REQS_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : rfq -> org.hibernate.type.ManyToOneType(com.talisen.lbwebpo.model.Rfq)
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - dereferenceEntityJoin() : generating join for rfq in com.talisen.lbwebpo.model.RfqReqs {no alias} parent = [  ( . ( . rfqreqs1_.RFQ_REQS_ID rfq ) status ) ]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromElement - FromClause{level=2} :  com.talisen.lbwebpo.model.Rfq (no alias) -> rfq2_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromClause - addJoinByPathMap() : r.rfq -> RFQ_TABLE rfq2_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  r.rfq -> rfqreqs1_.RFQ_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : status -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  r.rfq.status -> rfq2_.STATUS
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select : finishing up [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.HqlSqlWalker - processQuery() :  ( SELECT ( {select clause} ( rfqreqs1_.REQ_ID rfqreqs1_.RFQ_REQS_ID reqId ) ) ( FromClause{level=2} RFQ_REQS_TABLE rfqreqs1_ RFQ_TABLE rfq2_ ) ( where ( = ( rfq2_.STATUS ( rfqreqs1_.RFQ_ID rfqreqs1_.RFQ_REQS_ID rfq ) status ) 1 ) ) )
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.util.SyntheticAndFactory - Using WHERE fragment [rfqreqs1_.RFQ_ID=rfq2_.RFQ_ID]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.util.JoinProcessor - Using FROM fragment [RFQ_REQS_TABLE rfqreqs1_]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select >> end [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select << begin [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromElement - FromClause{level=2} :  com.talisen.lbwebpo.model.ReqDeletedDate (rdd) -> reqdeleted3_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  rdd -> reqdeleted3_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poId -> org.hibernate.type.LongType@b6d990
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  rdd.poId -> reqdeleted3_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poId -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poId -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select : finishing up [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.HqlSqlWalker - processQuery() :  ( SELECT ( {select clause} 'x' ) ( FromClause{level=2} REQ_DELETED_DATE reqdeleted3_ ) ( where ( = ( reqdeleted3_.PO_ID reqdeleted3_.PO_ID poId ) ( po0_.PO_ID po0_.PO_ID poId ) ) ) )
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.util.JoinProcessor - Using FROM fragment [REQ_DELETED_DATE reqdeleted3_]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select >> end [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3 -> po0_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po3.poNumber -> po0_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select << begin [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromElement - FromClause{level=2} :  com.talisen.lbwebpo.model.Po (po) -> po4_
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poNumber -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poNumber -> po4_.PO_NUMBER
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poType -> org.hibernate.type.ManyToOneType(com.talisen.lbwebpo.model.PoType)
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - dereferenceShortcut() : property poTypeId in com.talisen.lbwebpo.model.Po does not require a join.
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - Unresolved property path is now 'poType.poTypeId'
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poType -> po4_.PO_TYPE_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poType.poTypeId -> org.hibernate.type.IntegerType@1cb4cae
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poType.poTypeId -> po4_.PO_TYPE_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : active -> org.hibernate.type.ByteType@1d43bb3
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.active -> po4_.ACTIVE
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : poDate -> org.hibernate.type.DateType@1a9fcea
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.poDate -> po4_.PO_DATE
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po -> po4_.PO_ID
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.DotNode - getDataType() : creator -> org.hibernate.type.StringType@933cba
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.tree.FromReferenceNode - Resolved :  po.creator -> po4_.CREATOR
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.antlr.HqlSqlBaseWalker - select : finishing up [level=2, statement=select]
DEBUG 2007/01/22 16:36:38 org.hibernate.hql.ast.HqlSqlWalker - processQuery() :  ( SELECT ( {select clause} ( ( decode ( exprList ( ( substr ( exprList ( po4_.PO_NUMBER po4_.PO_ID poNumber ) 6 1 ) ) '-' ( po4_.PO_NUMBER po4_.PO_ID poNumber ) ( ( decode ( exprList ( ( instr ( exprList ( po4_.PO_NUMBER po4_.PO_ID poNumber ) '-' ) ) 0 ( po4_.PO_NUMBER po4_.PO_ID poNumber ) ( ( substr ( exprList ( po4_.PO_NUMBER po4_.PO_ID poNumber ) 1 ( - ( ( instr ( exprList ( po4_.PO_NUMBER po4_.PO_ID poNumber ) '-' ) ) 1 ) ) ) ) ) ) ) ) ( FromClause{level=2} PO_LIST po4_ ) ( WHERE ( and ( and ( AND ( in ( po4_.PO_TYPE_ID ( po4_.PO_TYPE_ID po4_.PO_ID poType ) poTypeId ) ( inList 1 6 ) ) ( = ( po4_.ACTIVE po4_.PO_ID active ) 1 ) ) ( > ( po4_.PO_DATE po4_.PO_ID poDate ) ( - sysdate 3 ) ) ) ( = ( po4_.CREATOR po4_.PO_ID creator ) 'WEBPO - LBD' ) ) ) )
WARN 2007/01/22 16:36:38 org.apache.struts.action.RequestProcessor - Unhandled Exception thrown: class java.lang.IllegalStateException
DEBUG 2007/01/22 16:36:38 com.talisen.lbwebpo.persistence.HibernateUtil - Closing Session of this thread.
DEBUG 2007/01/22 16:36:38 org.hibernate.impl.SessionImpl - closing session
DEBUG 2007/01/22 16:36:38 org.hibernate.jdbc.ConnectionManager - performing cleanup
DEBUG 2007/01/22 16:36:38 org.hibernate.jdbc.ConnectionManager - closing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
DEBUG 2007/01/22 16:36:38 org.hibernate.connection.DriverManagerConnectionProvider - returning connection to pool, pool size: 1


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.