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

Cristian Fabiano (JIRA) jira-events at lists.jboss.org
Fri May 15 07:57:58 EDT 2009

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 a one <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>
    		<id name="id">
    			<column name="gru_id"/>
    			<generated-value strategy="IDENTITY"/>
    		<basic name="nome">
    			<column name="gru_nome"/>
    		<basic name="descricao">
    			<column name="gru_descricao"/>
    		<basic name="condicional">
    			<column name="gru_condicional"/>
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