| Summary: | [tech review] Add a testing and debugging chapter to the guide | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | lcarlon <lcarlon> |
| Component: | doc-BRMS_Business_Process_Management_Guide | Assignee: | lcarlon <lcarlon> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Synek <rsynek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | BRMS 5.3.0.GA | CC: | lpetrovi |
| Target Milestone: | --- | ||
| Target Release: | BRMS 5.3.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-25 02:54:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
lcarlon
2012-03-21 04:02:33 UTC
Hi Lee,
I have found wrong information in chapter 11.1.4. Configuring Persistence.
By default, persistence is turned off and processes exists just in memory. To turn persistence on, the user has to do this:
public class MyProcessTest extends JbpmJUnitTestCase {
public MyProcessTest() {
// configure this tests to use persistence in this case
super(true);
setPersistence(true);
}
...
Passing true to constructor of JbpmJUnitTestCase starts H2 server, creates data source and entity manager factory.
setPersistence(true) turns on creation of JPA enabled knowledge session instead of common stateful knowledge session.
In addition - just to be sure - this documentation should be based on the project documentation version 5.2, not 5.1.
Regards,
Radek
Thanks Radovan, Changes have been made to section to section 11.1.14 Lee Closing as status already set to verified. |