[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2348) seam generate-ui fails for @OneToOne @PrimaryKeyJoinColumn annotated fields
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Jul 29 17:24:58 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pete Muir updated JBSEAM-2348:
------------------------------
Fix Version/s: 2.1.0.BETA2
(was: 2.1.0.GA)
Assignee: Dan Allen
Dan do you have time to look at this? If not, please unassign it.
> seam generate-ui fails for @OneToOne @PrimaryKeyJoinColumn annotated fields
> ---------------------------------------------------------------------------
>
> Key: JBSEAM-2348
> URL: https://jira.jboss.org/jira/browse/JBSEAM-2348
> Project: Seam
> Issue Type: Bug
> Components: Tools
> Affects Versions: 2.0.0.GA
> Environment: Seam 2.0.0.GA
> JBoss Tools
> Reporter: Thorsten Kunz
> Assignee: Dan Allen
> Fix For: 2.1.0.BETA2
>
>
> Since I do use JBoss Tool I assume that this is cause by an error in the underlying seam generate-ui. It fails if you have entities annotated like this:
> public class User implements Serializable {
> @Id
> @GeneratedValue
> private Long id;
> @OneToOne
> @PrimaryKeyJoinColumn
> private UserData userData;
> }
> public class UserData implements Serializable {
> @Id
> private Long id;
> @OneToOne
> @PrimaryKeyJoinColumn
> private User user;
> }
> This will result in this Exception:
> org.eclipse.core.runtime.CoreException: org.hibernate.tool.hbm2x.ExporterException: Error while processing template view/list.xhtml.ftl
> org.eclipse.core.runtime.CoreException[666]: org.hibernate.tool.hbm2x.ExporterException: Error while processing template view/list.xhtml.ftl
> Caused by: freemarker.core.InvalidReferenceException: Expression property.value.typeName is undefined on line 39, column 6 in view/list.xhtml.ftl
--
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 seam-issues
mailing list