[
http://jira.jboss.com/jira/browse/JBPM-643?page=all ]
Thomas Diesler resolved JBPM-643.
---------------------------------
Resolution: Out of Date
Change "load" methods to indicate when an entity is
"not found"
---------------------------------------------------------------
Key: JBPM-643
URL:
http://jira.jboss.com/jira/browse/JBPM-643
Project: JBoss jBPM
Issue Type: Feature Request
Components: Core Engine
Affects Versions: jBPM 3.1
Environment: All
Reporter: Jim Rigsbee
Assigned To: Tom Baeyens
Original Estimate: 1 week
Remaining Estimate: 1 week
For example, context.getGraphSession( ).loadProcessInstance uses a hiberate session.load
to retrieve the instance. This method does not indicate if the entity is not found in the
database. Hibernate documentation suggests using the get( ) method instead.
We need to make sure that the user can tell when entity is not found. This applies to
all of the entity loading in the core engine.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira