hibernate hql used jbpm operation TaskInstanse the problem statement

Jbpm use development projects, as a result of jbpm operation in a given way TaskInstanse not use, I would like to write their own statements do hql, query as follows:

String hql="from TaskInstance ti
            where ti.actorId=123";

Found abnormal running out TaskInstance is not mapped
So it really did not want to do mapping, then unzip jbpm-jdnl.jar package, all of them. Hbm.xml documents are copied to the working directory to do with the other mapping file management, followed by abnormal operation of any likelihood at and then is not the type who wanted to have a mapping conflict did not find it?
Hql therefore will be rewritten:

String hql="from org.jbpm.taskmgmt.exe.TaskInstance ti
            where ti.actorId=123";

Ok after the operation, the back did not think about things less complicated and sometimes not the Dadonggange .
Meticulously careful

分类:Java 时间:2009-06-23 人气:475
blog comments powered by Disqus


  • Project Management System (software): software development projects. Research 2009-10-13

    Project Management System and Project Management Software slightly different; the former is generally customized, including the industry, or for a certain area, or even specific customer needs; which is generally more common in nature, or only the pr

  • Java parsing XML documents four methods 2010-05-07

    1) DOM (JAXP Crimson parser) DOM is platform-and language-independent manner, said the official W3C standard XML document. DOM is a hierarchical organization of nodes or pieces of information collection. This hierarchy allows the developer to find sp

  • XML documents using Libxml2 operation 2010-02-25

    1, Libxml2 Description: Libxml2 is an xml parser c-language version, was originally a tool for the Gnome project development, based on the MIT License is a free open source software. It addition to supporting the c-language version, it also supports

  • Java programming language commonly used in the method of updating XML documents 2010-09-28

    Quoted from http://www.ibm.com/developerworks/cn/java/l-javaxml/ This paper briefly discusses the Java programming language update XML documents in the four commonly used methods, and analysis of the merits of the four methods. Secondly, the article

  • How To Read and Write XML Documents with GDataXML 2012-07-03

    In my recent post on How To Choose the Best XML Parser for Your iPhone Project, Saliom from the comments section suggested writing a post on how to use an XML library to read and write XML documents, create your own objects based on the documents, an

  • Software development projects Experience of risk management 2009-09-30

    Involved in large-scale software projects will realize that many things can go wrong, but mistakes can be a project can be adversely affected, loss or other adverse effects. In the project risk is a series of events or the possibility of adverse resu

  • Java parsing XML documents (2): sax read xml file export excel 2010-03-22

    1. Concept SAX (Simple API for XML), event-based XML Simple API, parsing XML documents is one of the two API. 2. Sax parsing 1. Use to the package: javax.xml.parsers: parser factory tools org.xml.sax: provides the core SAX API For example: import jav

  • DOM4J on XML documents to read and write operations such as additions and deletions to change 2010-03-16

    XML documents with DOM4J on CRUD operations such as reading and writing is my own exercises, and notes there is no order and only later see use. Main method in the constructor to do the simple instructions, involved XML, XSD, DTD document is no longe

  • (Transfer) the use of PL / SQL DOM API parsing of XML documents 2010-04-17

    This program demonstrates the use of PL / SQL DOM API for parsing XML documents, - Use the SYS.XMLDOM and SYS.XMLPARSER package - Program Analysis of the input XML file, print the document for all elements and element attributes connect scott / tiger

  • The risk of software development projects 2010-06-02

    Participated in the project made people know that a project development process will encounter many difficulties, many things will affect the risk of failure of a software development project took place in a series of events or the possibility of adv

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.038 (s). 13 q(s)