[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-4180) Error in <s:convertEntity/> when orm.xml is the only mechanism for persistence

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue May 19 10:10:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-4180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12468192#action_12468192 ] 

Pete Muir commented on JBSEAM-4180:
-----------------------------------

It does read orm.xml, so you'll need to upload an test case.

> Error in <s:convertEntity/> when orm.xml is the only mechanism for persistence
> ------------------------------------------------------------------------------
>
>                 Key: JBSEAM-4180
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4180
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.1.1.GA
>         Environment: Windows XP SP2
>            Reporter: Cristian Fabiano
>
> When my entities are mapped only in orm.xml, they do not have the @Entity annotation, and I use <s:convertEntity/> with one, I got the exception:
> org.jboss.seam.Entity $ NotEntityException: Unable to establish name of entity class com.emmsistemas.emmvendas.entidade.Grupo
> my orml.xml for this Entity:
>     <entity class="com.emmsistemas.emmvendas.entidade.Grupo">
>     	<table name="GRUPO"></table>
>     	<attributes>
>     		<id name="id">
>     			<column name="gru_id"/>
>     			<generated-value strategy="IDENTITY"/>
>     		</id>
>     		<basic name="nome">
>     			<column name="gru_nome"/>
>     		</basic>
>     		<basic name="descricao">
>     			<column name="gru_descricao"/>
>     		</basic>
>     		<basic name="condicional">
>     			<column name="gru_condicional"/>
>     		</basic>
>     	</attributes>
>     </entity>
> 	
> Seam does not recognize the Entity when it not have a @Entity?

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