[jboss-user] [EJB 3.0] - How engine extract s Generic Type on runtime

snau2005 do-not-reply at jboss.com
Wed Jul 19 23:39:11 EDT 2006


Hi,
 I'm wondering how EJB engine extracts on runtime Class information from List, as I know such info is erased on runtime (Generics rules Java 5), in given example how to get SomeClass.class ?!
	@OneToMany(mappedBy = ?someField?) 
  | 	public List<SomeClass> someClasses;
  | 
Or I'm wrong and this is possible (How?)?

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

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



More information about the jboss-user mailing list