Bug in EntityToHibernateXml.java:convert()
------------------------------------------

         Key: EJBTHREE-106
         URL: http://jira.jboss.com/jira/browse/EJBTHREE-106
     Project: EJB 3.0
        Type: Bug
  Components: EJB3 Extensions  
    Versions: Preview 4    
 Environment: Redhat 9
    Reporter: jojo9876


Around line 131, I believe it should read:
if (clazz.isAnnotationPresent(GeneratedIdTable.class)) 
{
   GeneratedIdTable gen = (GeneratedIdTable) 
      clazz.getAnnotation(GeneratedIdTable.class);
   generatorTables.put(gen.name(), gen);
}

instead of:
if (clazz.isAnnotationPresent(GeneratedIdTable.class)) 
{
   GeneratedIdTable gen = (GeneratedIdTable) 
      clazz.getAnnotation(TableGenerator.class);
   generatorTables.put(gen.name(), gen);
}

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to