ClassCastException with two times the same class:
anonymous wrote : javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: java
| .lang.ClassCastException: org.hibernate.collection.PersistentBag
| java.lang.ClassCastException: org.hibernate.collection.PersistentBag
This tells me that you have two different versions of the class that is used. Two imports of hibernate jars, something like that...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067921#4067921
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067921
Thanks for quick answer.
Do you know how to make such a mapping from non-english characters to \uXXXX in painless way in eclipse?
PS.
It's not so obvious that standard for .properties is ISO-8859-1, when everywhere in java world UTF-8 is a standard.
Especially using ISO-8859-1 in files that are used for internationalization is a little bit strange.
I think that this should be explained in reference documentation Chapter 14. Internationalization and themes.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067914#4067914
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067914