[ http://jira.jboss.com/jira/browse/EJBTHREE-106?page=history ]
     
Bill Burke closed EJBTHREE-106:
-------------------------------

    Resolution: Out of Date

Fixed in CVS, but we merged with HB3 annotations project and 
EntityToHibernateXML is no longer being used.

> 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

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> 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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to