Hello Cary.Yu, This seems unrelated to Hibernate Search, since it is an issue with loading data from your database. From what I can see, you have a column in your database that contains null values, and you mapped this column to a boolean property, which cannot hold null values. Thus Hibernate ORM fails to load the entity when Hibernate Search asks for this entity in order to index it. This seems to be the expected behavior. You'll probably want to either change your mapping to use a Boolean or to fix you data. Does it make sense? If it's okay to you, I will close the ticket. |