Hibernate unable to instantiate default tuplizer - cannot find getter

后端 未结 7 640
醉梦人生
醉梦人生 2021-01-01 17:41

I\'m trying to use Hibernate to persist a class that looks like this:

public class Item implements Serializable, Comparable {

// Item id
private         


        
7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-01 18:29

    It looks like the problem is probably in the capitalization: setPurchasedate() should be setPurchaseDate() (with a capital "D").

提交回复
热议问题