saveOrUpdate() issue
--------------------
Key: JBSEAM-96
URL:
http://jira.jboss.com/jira/browse/JBSEAM-96
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.0 beta 1
Reporter: nusa
Attachments: SeamTest.war, SeamTest.zip
When using saveOrUpdate(), it's only commit for a new record, not a modifed one.
I attache a war file and the source as well.
These are steps to produce the problem :
1. unzip the source
2. copy josss-seam.jar into
<your_jboss_location>/jboss-4.0.3/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/
3. start jboss
4. run <seamtest_location>/SeamTest/setup/setup_hsql.sql
5. deploy SeamTest.war
6. point your browser to
http://localhost:8080/SeamTest/faces/index.jsp
7.this is optional, click on New button, then put some data.
8. back twice, if you do 7
9. click on Update button
10 modified any row, then click Update button. If you check this through HSQL Database
Manager, your modified row is not commited.
I suspect it's just the way I'm using @In and/or @Out, but maybe something else.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: