Hibernate Search警告
herowhdl
2009-04-01
WARN org.hibernate.search.engine.DocumentBuilderContainedEntity - @DocumentId specified on an entity which is not indexed by itself. Annotation gets ignored. Use @Field instead
配置了Hibernate Search以后: 1每次启动服务器都会提示这个警告.不知道是什么意思,对功能没什么影响. 2只要对数据库进行了操作,服务器就关闭不了. |
|
herowhdl
2009-04-07
怎么没人回答
|
|
liuzongan
2009-04-25
你是不是在实体类中没有把id设置成@DocumentId啊
|
|
herowhdl
2009-05-07
问题解决了,把外键关联的实体中@DocumentId去掉警告就没有了
|