1 Reply Latest reply on Jan 7, 2008 4:06 AM by Vincent Sevel

    Hibernate problem

    Vincent Sevel Newbie

      I am getting an hibernate error while getting the jbpmContext in my own application.
      I have no clue how to solve it.
      However the jbpm console is still working. I am using MySQL.
      I've got also the same error now when I am compiling jbpm3 sources.
      Please help.


      java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.MethodNode
      \-[METHOD_CALL] MethodNode: '('
      +-[METHOD_NAME] IdentNode: 'stddev' {originalText=stddev}
      \-[EXPR_LIST] SqlNode: 'exprList'
      \-[DOT] DotNode: 'nodelog0_.DURATION_' {propertyName=duration,dereferenceType=4,propertyPath=duration,path=nl.duration,tableAlias=nodelog0_,className=org.jbpm.graph.log.NodeLog,classAlias=nl}
      +-[ALIAS_REF] IdentNode: 'nodelog0_.ID_' {alias=nl, className=org.jbpm.graph.log.NodeLog, tableAlias=nodelog0_}
      \-[IDENT] IdentNode: 'duration' {originalText=duration}

      org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:145)
      org.hibernate.hql.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:705)
      org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:529)
      org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:645)
      org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
      org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
      org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
      org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
      org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
      org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
      org.hibernate.impl.SessionFactoryImpl.checkNamedQueries(SessionFactoryImpl.java:402)
      org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:352)
      org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
      org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
      org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
      org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:100)
      org.jbpm.JbpmContext.getSession(JbpmContext.java:506)