App Mapping fail when there is class with multiple @Id
1/ Everything is ok with Hibernate Search 5.x
2/ migrate to 6.0.2 final generate this error :
Caused by: org.hibernate.MappingException: property [imei] not found on entity [net.octoplus.db.UserPush]
with UserPush class not Indexed :
NB : if i comment // @Id on imei property... it's fail on the next table with multiple @Id even if i didn't use these tables on a related on which is @Indexed
After one day of searching a solution... i came back to hibernate search 5.x
May be i miss something in my configuration...
Thanks for your help
The complete exception :
Spring boot 2.3.9 or 2.4.4. Hibernate 5.4.28 spring-orm
how can i send it directly to you ?
Can I ask you the full code of the classes: UserPush and User?
there’s no @Id on User entity field of UserPush ( cf. pb description )
actually , there’s no reference on User entity to UserPush (no @OneToMany List<UserPush) or something else )
problem occurs in every entity’s with multiple @Id
at org.hibernate.search.mapper.orm.mapping.impl.HibernateOrmMetatadaContributor.resolveMappedByPath(HibernateOrmMetatadaContributor.java:226) fail when it try to find a property name on entity with multiple @id