Quote:
2006-06-13 00:17:41,312 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] parse() - HQL: from org.person.ejb.Login l where l.userName = :userName and l.passWord = :passWord
2006-06-13 00:17:41,328 DEBUG [org.hibernate.hql.ast.AST] --- HQL AST ---
\-[QUERY] 'query'
+-[SELECT_FROM] 'SELECT_FROM'
| \-[FROM] 'from'
| \-[RANGE] 'RANGE'
| +-[DOT] '.'
| | +-[DOT] '.'
| | | +-[DOT] '.'
| | | | +-[IDENT] 'org'
| | | | \-[IDENT] 'person'
| | | \-[IDENT] 'ejb'
| | \-[IDENT] 'Login'
| \-[ALIAS] 'l'
\-[WHERE] 'where'
\-[AND] 'and'
+-[EQ] '='
| +-[DOT] '.'
| | +-[IDENT] 'l'
| | \-[IDENT] 'userName'
| \-[COLON] ':'
| \-[IDENT] 'userName'
\-[EQ] '='
+-[DOT] '.'
| +-[IDENT] 'l'
| \-[IDENT] 'passWord'
\-[COLON] ':'
\-[IDENT] 'passWord'
2006-06-13 00:17:41,328 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-06-13 00:17:41,421 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select << begin [level=1, statement=select]
2006-06-13 00:17:41,468 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : org.person.ejb.Login (l) -> login0_
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : l -> login0_.loginid
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : userName -> org.hibernate.type.StringType@dea091
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : l.userName -> login0_.username
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : l -> login0_.loginid
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : passWord -> org.hibernate.type.StringType@dea091
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : l.passWord -> login0_.password
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select]
2006-06-13 00:17:41,484 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( FromClause{level=1} login login0_ ) ( where ( and ( = ( login0_.username login0_.loginid userName ) ? ) ( = ( login0_.password login0_.loginid passWord ) ? ) ) ) )
2006-06-13 00:17:41,515 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] Derived SELECT clause created.
2006-06-13 00:17:41,515 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [login login0_]
2006-06-13 00:17:41,515 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select >> end [level=1, statement=select]
2006-06-13 00:17:41,562 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST ---
\-[SELECT] QueryNode: 'SELECT' querySpaces (login)
+-[SELECT_CLAUSE] SelectClause: '{derived select clause}'
| +-[SELECT_EXPR] SelectExpressionImpl: 'login0_.loginid as loginid12_' {FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=l,role=null,tableName=login,tableAlias=login0_,origin=null,colums={,className=org.person.ejb.Login}}}
| \-[SQL_TOKEN] SqlFragment: 'login0_.username as username12_, login0_.password as password12_'
+-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[l], fromElementByTableAlias=[login0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
| \-[FROM_FRAGMENT] FromElement: 'login login0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=l,role=null,tableName=login,tableAlias=login0_,origin=null,colums={,className=org.person.ejb.Login}}
\-[WHERE] SqlNode: 'where'
\-[AND] SqlNode: 'and'
+-[EQ] BinaryLogicOperatorNode: '='
| +-[DOT] DotNode: 'login0_.username' {propertyName=userName,dereferenceType=4,propertyPath=userName,path=l.userName,tableAlias=login0_,className=org.person.ejb.Login,classAlias=l}
| | +-[ALIAS_REF] IdentNode: 'login0_.loginid' {alias=l, className=org.person.ejb.Login, tableAlias=login0_}
| | \-[IDENT] IdentNode: 'userName' {originalText=userName}
| \-[NAMED_PARAM] ParameterNode: '?' {name=userName, expectedType=org.hibernate.type.StringType@dea091}
\-[EQ] BinaryLogicOperatorNode: '='
+-[DOT] DotNode: 'login0_.password' {propertyName=passWord,dereferenceType=4,propertyPath=passWord,path=l.passWord,tableAlias=login0_,className=org.person.ejb.Login,classAlias=l}
| +-[ALIAS_REF] IdentNode: 'login0_.loginid' {alias=l, className=org.person.ejb.Login, tableAlias=login0_}
| \-[IDENT] IdentNode: 'passWord' {originalText=passWord}
\-[NAMED_PARAM] ParameterNode: '?' {name=passWord, expectedType=org.hibernate.type.StringType@dea091}
2006-06-13 00:17:41,562 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-06-13 00:17:41,578 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] HQL: from org.person.ejb.Login l where l.userName = :userName and l.passWord = :passWord
2006-06-13 00:17:41,578 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] SQL: select login0_.loginid as loginid12_, login0_.username as username12_, login0_.password as password12_ from login login0_ where login0_.username=? and login0_.password=?
2006-06-13 00:17:41,578 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
2006-06-13 00:17:41,609 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-06-13 00:17:41,609 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dbad5b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@fa0f67{ url=null ,addedOrder=0}
2006-06-13 00:17:41,609 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-06-13 00:17:41,609 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dbad5b, cl=org.jboss.mx.loading.UnifiedClassLoader3@10937cb{ url=null ,addedOrder=0}
2006-06-13 00:17:41,625 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
2006-06-13 00:17:41,625 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
2006-06-13 00:17:41,625 DEBUG [org.hibernate.SQL] select login0_.loginid as loginid12_, login0_.username as username12_, login0_.password as password12_ from login login0_ where login0_.username=? and login0_.password=?
2006-06-13 00:17:41,640 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() urswag -> userName [1]
2006-06-13 00:17:41,640 DEBUG [org.hibernate.loader.hql.QueryLoader] bindNamedParameters() urs-1wag -> passWord [2]
2006-06-13 00:17:41,640 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0)
2006-06-13 00:17:41,640 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[org.person.ejb.Login#1]
2006-06-13 00:17:41,656 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1)
2006-06-13 00:17:41,656 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1)
2006-06-13 00:17:41,656 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
2006-06-13 00:17:41,656 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
2006-06-13 00:17:41,656 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [org.person.ejb.Login#1]
2006-06-13 00:17:41,671 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [org.person.ejb.Login#1]
2006-06-13 00:17:41,671 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections
2006-06-13 00:17:41,671 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-06-13 00:17:41,671 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dbad5b, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@c12bfd{ url=null ,addedOrder=0}
2006-06-13 00:17:41,671 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url null
2006-06-13 00:17:41,671 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@1dbad5b, cl=org.jboss.mx.loading.UnifiedClassLoader3@2ef8a9{ url=null ,addedOrder=0}
2006-06-13 00:17:41,671 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
2006-06-13 00:17:41,671 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
2006-06-13 00:17:41,687 DEBUG [org.jboss.ejb3.entity.ManagedEntityManagerFactory] ************** closing entity managersession **************