[
http://jira.jboss.com/jira/browse/JBSEAM-2743?page=all ]
David Cloutier updated JBSEAM-2743:
-----------------------------------
Attachment: EvolBmPkgDisplayListHome.java
If you look at the import section:
There is a general entity import:
import com.mydomain.cat2.entity.*;
and the class def line is:
public class EvolBmPkgDisplayListHome extends EntityHome<EvolBmPkgDisplayList> {
but the class: EvolBmPkgDisplayList exists in the "entity" package and the
session package, by default, the compiler assumes the session package for the class def
line, but it should be the entity class.
Compilation fails during Seam generate-entities when model class name
matches session ejb name.
-----------------------------------------------------------------------------------------------
Key: JBSEAM-2743
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2743
Project: JBoss Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.1.0.A1, 2.0.1.GA
Environment: win xp, jboss as 4
Reporter: David Cloutier
Priority: Minor
Fix For: 2.1.x
Attachments: EvolBmPkgDisplayListHome.java
If I have two tables TABLE_ONE and TABLE_ONE_LIST saem-gen creates two model classes
TableOne and TableOneList and also creates four session ejb classes, two of which are
called: TableOneList and TableOneListList.
The session ejb TableOneList and the model class TableOneList conflict as the package
names are not qualified in the source.
--
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