Can't map class to Hibernate without xml with “.setAnnotatedClasses()” Getting “2QuerySyntaxException: FileEntity is not mapped” error

后端 未结 0 1097
鱼传尺愫
鱼传尺愫 2020-11-22 08:56

Hi everyone. I am trying to map class (FileEntity) to Hibernate using .setAnnotatedClasses() or .setPackagesToScan()

相关标签:
回答
  • 消灭零回复
提交回复
热议问题