Hi guys,
I'm trying to temporarily hack my way around JBSEAM-1487 so I can finish my
half-completed upgrade to 2.0 BETA. I've come across the following code in
org.jboss.seam.Entity and it looks a bit weird:
| for ( Class<?> clazz=beanClass; clazz!=Object.class; clazz =
clazz.getSuperclass() )
| {
|
| for ( Method method: getBeanClass().getDeclaredMethods() )
| {
| .....
|
The loop iterates up the object hierarchy, but instead of using the "clazz"
variable, the contents of the loop always call getBeanClass().
In my particular situation, this means the @Id getId() method in a superclass
is not being picked up at all... WTF??
thanks,
Daniel.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058947#4058947
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058947
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user