> @IndexedEmbedded(depth = 1, paths={"livingAddress.countryCode",
> "bornPlace.countryCode"})
> private Person ownedBy

I think leaving out the excludes is a good idea and specifying paths as  
strings seems to be e easier option. However, I still would make it a new  
annotation (@IndexPaths) or add the enum I mentioned. If we skip the  
excludes there is also no conflict adding it.


-- hardy
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to