Why would Hibernate ignore package-info.java?

后端 未结 4 2125
误落风尘
误落风尘 2021-01-06 16:29

I\'m trying to use Hibernate @TypeDef annotation on a package level, exactly as it is described in the Hibernate documentation. I\'m using Hibernate 3.6 and

4条回答
  •  春和景丽
    2021-01-06 17:10

    You probably need to add a

    
    

    to your Hibernate config file, or to call configuration.addPackage("com.foo.bar.thepackage").

提交回复
热议问题