[
https://jira.jboss.org/jira/browse/JBSEAM-3439?page=com.atlassian.jira.pl...
]
djafaka updated JBSEAM-3439:
----------------------------
Attachment: fatpig.rar
Here the complete code in Eclipse for a deployment in the JBoss server i don't put the
lib folder for space reason, you can copy it from another seam project and redeploy it in
your 4.2.1.GA JBoss server with the ant command (1.7.1 version used).
The database used is mysql and you need only to create the database fatpig (the schema is
recreated automatically with hibernate).
When your application is successivelly deployed, you can see that there is a problem in
the Operation list page as i described in my last issue, problem that I resolved by adding
@Scope(ScopeType.CONVERSATION) annotation in the source code of OperationList.
Thanks for your help.
regards.
Karim
Bug in the seam-gen tool of seam
--------------------------------
Key: JBSEAM-3439
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3439
Project: Seam
Issue Type: Bug
Components: EJB3
Environment: Windows / Linux
Reporter: djafaka
Fix For: 2.0.0.GA
Attachments: fatpig.rar
It seem that Seam gen doesn't generate some scope annotation like
@Scope(ScopeType.CONVERSATION) for some master details relation.
In fact in my model i have 3 EJB3 entities:
Account
Operation (Many-To-One to Account/Many-to-One OperationType)
OperationType
When i try to select Operation search parameter, the resulting operation is not correct,
the parameter is still reinitialized and the corresponding result list is not correct.
I found a solution in the code source generation of class OperationList with adding
@Scope(ScopeType.CONVERSATION)
--
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