[JBoss JIRA] Created: (JBPM-1412) QA: set up PVM DB continuous integration testing
by Tom Baeyens (JIRA)
QA: set up PVM DB continuous integration testing
------------------------------------------------
Key: JBPM-1412
URL: https://jira.jboss.org/jira/browse/JBPM-1412
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: PVM
Reporter: Tom Baeyens
Fix For: PVM 1.0 alpha3
# Architecture OS JVM DB and DB Driver
1 X86 RHEL4 Sun JVM 1.5 latest Oracle 9i - Oracle thin driver
2 X86 RHEL4 Sun JVM 1.5 latest Oracle 10g R2 - Oracle thin driver
3 X86 RHEL4 Sun JVM 1.5 latest MySQL 4.0 - MySQL Driver
4 X86 RHEL4 Sun JVM 1.5 latest Postgres SQL 7 - Postgres driver
5 X86 RHEL5 Sun JVM 1.5 latest MySQL 5.0 - MySQL Driver
6 X86 RHEL5 Sun JVM 1.5 latest Postgres SQL 8.1 - Postgres driver
7 X86 MS-Windows 2003 Sun JVM 1.5 latest Oracle 9i - Oracle thin driver
8 X86 MS-Windows 2003 Sun JVM 1.5 latest Oracle 10g R2 - Oracle thin driver
8 X86 MS-Windows 2003 Sun JVM 1.5 latest MySQL 5.0 - MySQL Driver
10 X86 MS-Windows 2003 Sun JVM 1.5 latest Postgres SQL 8.1 - Postgres driver
The same for Java 6 would have to be validated too.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 11 months
[JBoss JIRA] Created: (JBPM-1375) Provide a way to determine the node type
by Mauro Molinari (JIRA)
Provide a way to determine the node type
----------------------------------------
Key: JBPM-1375
URL: http://jira.jboss.com/jira/browse/JBPM-1375
Project: JBoss jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: API
Affects Versions: jPDL 3.2.3
Reporter: Mauro Molinari
If you need to iterate over the nodes of a ProcessDefinition:
final List processNodes = processDefinition.getNodes ();
for (int x = 0; x < processNodes.size (); x++) {
final org.jbpm.graph.def.Node node = (org.jbpm.graph.def.Node) processNodes.get (x);
// ...
}
and you need to determine the actual type of a node, you cannot use instanceof because of the potential use of CGLIB proxies.
So, there's no *clean* way to determine the actual type of a node!!
Using the HibernateProxy workaround cited in the JBoss Forum reference attached, is not acceptable IMHO, because you're loosing the transparency against the underlying persistence technology. Moreover, it doesn't seem to work in the tests we're doing.
Using the alternative toString() workaround is also a dirty trick, because the toString() implementation might change and toString() shouldn't be used for this kind of things.
In another discussion:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4156233
another user is experiencing our exact problem with the StartState: but we're not guaranteed that the same issue doesn't happen with other node types.
I can hardly accept the fact that a XXNode instance can't be cast to an XXNode object reference, however if this is the case, I think a clean way to determine the type of a node should then be provided by the jBPM API.
--
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
15 years, 11 months