[jboss-user] [EJB 3.0] - Pesistent entity and Iterable

jc7442 do-not-reply at jboss.com
Thu Feb 15 04:19:43 EST 2007


I write an entity bean:
public class AuditSnapshotPE implements Iterable<Map.Entry<String, String>> 
  | ...

All the methods of Iterable are @Transient. When I deploy my EJB in JBoss embedded, I have the following warning.
-Original type of property public abstract java.util.Iterator java.lang.Iterable.iterator() is unbound and has been approximated.

That is just a warning, everything works fine. What can I change in my source code to remove this warning at deployment ? It pollutes a lot the logs.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016910#4016910

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016910



More information about the jboss-user mailing list