[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3880) Can't generate seam entities exception is occured if no one table wasn't included in table filter.

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Sat Feb 28 07:19:54 EST 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454814#action_12454814 ] 

Max Rydahl Andersen commented on JBIDE-3880:
--------------------------------------------

So I did a few tests on this and cannot still explain *why* this bug is now found and I would really like to know - as either the fixes to hibernatetools have caused a different path in execution OR noone have tested Seam Generate entities since CR2 (which can't be true, right ? :)

So I did three tests with the schema attached:

1) With the new hibernatetools.jar and with the indentifier misspelling
Result: Fail! (confirming the bug)

2) With the old hibernatetools.jar and with the indentifier misspelling
Result: Fail! (meaning this scheme should have failed even with CR2)

3) With the old hibernatetools.jar and with the misspelling fixed
Result: Works

4) With the new hibernatetools.jar and with the misspelling fixed
Result Works, and the only change is that now we don't have CascadeType.ALL (which is another issue but should make no difference to this bug)

So i'm a bit confused and need some samples from those who repeated this bug.

Could you please do a run with the old and new and the indentifier misspelling fixed in edit.xhtml.ftl and attach a zip of the src and webcontent  to this issue so I can verify we are running with the same or different setup to figure out where the problem actually is!

Thanks!





> Can't generate seam entities exception is occured if no one table wasn't included in table filter.
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-3880
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-3880
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate, Seam
>    Affects Versions: 3.0.0.GA
>            Reporter: Anton Klimkovich
>            Assignee: Denis Golovin
>         Attachments: exception.txt, exception2.txt, schema.sql, SeamGenerateEntities.PNG
>
>
> EXECUTE: Create Seam web project
> EXECUTE: Connect to existent DB
> EXECUTE: New -> Seam Generate Entities
> EXECUTE: Press Refresh button 
> ASSERT:    All tables from DB should appear
> EXECUTE: Press Finish button without including any table to Table Filter.
> FAILURE:   Can't generate seam entities exception is occured.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list