• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seam / Hibernate persistence problem

 
Andreea Mihaela
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm pretty much new to all things Seam, so please have mercy and help me with this one. I'm using JBoss Seam 2.2 and JBoss Application Server 5.1.0.

This is the scenario:

I've got TestCases and TestSteps. One TestCase has multiple TestSteps. I have a table that displays the steps and actions like "addStep" and "deleteStep".

I use rich:inplaceInput to edit existing steps. This works perfectly.

Adding or deleting a step however does not. When adding, I create an "empty" step which is displayed in the table and the user can then edit it.

I can't explain how it persists changes to existing steps, but doesn't cooperate when list TestCaseHome.testSteps changes in size.

Entity TestStep:

Entity TestCase: Entity CoreTestObject isn't really relevant, TestCase just inherits it's id from it.

TestCaseHome:


EntityHome:


View:

I cut a lot from the code, hope I didn't leave anything relevant out. I also hope this is the right place for this question, excuse me if not (noob here).

I would very much appreciate your help since I'm trying to fix this for weeks. Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic