History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-689
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matt Raible
Reporter: Chris Love
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

Roles not loaded into DB with Oracle

Created: 10/Mar/07 05:48 PM   Updated: 15/Sep/07 12:50 PM
Component/s: Persistence Layer
Affects Version/s: 2.0-M4
Fix Version/s: 2.0 Final

File Attachments: 1. File mvn.out (4 kb)
2. File mvn.out (2 kb)

Environment:
Windows Pro
mvn 2.04
bea sun jdk 1.5.0.6
Issue Links:
Duplicate
 
This issue is duplicated by:
APF-718 Unique constraint violated when runni... Major Resolved


 Description  « Hide
When the war is build the role table is not populated. When is this table populated? I populated the table by hand and the application works like a champ.

Chris

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 10/Mar/07 06:49 PM
It should be created by the hibernate3 plugin and populated by dbunit. What happens if you run "dbunit:operation"?

Chris Love - 10/Mar/07 11:41 PM
So mvn dbunit:operation fails. The output is attached.

Chris

Chris Love - 10/Mar/07 11:48 PM
This is maven output with debug on. Which pom files do you want too see? This is happening with the appfuse source as well, and I do not believe that I have made any changes too the pom file.

Matt Raible - 10/Apr/07 12:00 AM
I believe this is related to APF-718.

Matt Raible - 28/Aug/07 06:46 PM
Moving to future release. I suggesting using the following workaround in the meantime:

Set your hibernate_sequence to a high enough value so that future insertions do not produce unique key constraint violations. For instance, if your highest key value in any of your tables is 182974, then the following statement would work for you -

SQL> alter sequence hibernate_sequence increment by 182975 minvalue 0;

Matt Raible - 15/Sep/07 12:50 PM
Resolved by APF-718.