[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2947) seam-gen crud app throws exception if duplicate entry added

Jay Balunas (JIRA) jira-events at lists.jboss.org
Tue May 6 10:45:20 EDT 2008


seam-gen crud app throws exception if duplicate entry added
-----------------------------------------------------------

                 Key: JBSEAM-2947
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2947
             Project: Seam
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.2.CR2
            Reporter: Jay Balunas


Create a seam-gen project and reverse engineer a DB (I used the tables from the release-process.txt).

Add an new entry in one of the tables then attempt to add another identical entry ( just the primary key will do it as well).  You will see an exception (jsf error page) that basically says cannot add duplicate entry.

Could just add a simple check instead of throwing the exception. 



-- 
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

        



More information about the seam-issues mailing list