Guys,

Something very strange is happening. I have a manySelectCheckbox
component binded to a List<Long> property. Ok. The problem is that JSF
can apply, I don't know how, a list of numeric values to this
property. When JPA try to persist, it saves as a List of Strings!

To investigate how it accepts a List of String in a List of Long, I
iterated the list of Long values. When I did this, it threw a cast
exception (java.lang.String cannot be cast to java.lang.Long) in the
first iteration (the first value).

How is it possible???

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to