------------------------3月25日-------------------------------------
老是报这么个异常:
com.google.gwt.user.client.rpc.SerializationException: Type 'org.hibernate.collection.PersistentBag' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.
最后再这里找到了答案:
http://code.google.com/intl/zh-CN/webtoolkit/articles/using_gwt_with_hibernate.html
----------------------3月26日--------------------------------------
决定用Gilead来实现hibernate和gwt的集成了,又遇到异常:
No source code is available for type net.sf.gilead.pojo.java5.LightEntity
可能原因是domain类在extends LightEntity时,导包导错了,导成 net.sf.gilead.pojo.gwt.LightEntity 可能就好了。上帝啊。
老是报这么个异常:
com.google.gwt.user.client.rpc.SerializationException: Type 'org.hibernate.collection.PersistentBag' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.
最后再这里找到了答案:
http://code.google.com/intl/zh-CN/webtoolkit/articles/using_gwt_with_hibernate.html
----------------------3月26日--------------------------------------
决定用Gilead来实现hibernate和gwt的集成了,又遇到异常:
No source code is available for type net.sf.gilead.pojo.java5.LightEntity
可能原因是domain类在extends LightEntity时,导包导错了,导成 net.sf.gilead.pojo.gwt.LightEntity 可能就好了。上帝啊。