Yes the intializeMembers method should be where the job is done (we can rename it later on) You need to store your metadata in PropertiesMetadata (partly because of @IndexedEmbedded, and the fact that associated entity can be indexed in the same document).

On  Sep 2, 2007, at 23:22, John Griffin wrote:

Guys,



I’ve been looking at a new @ClassBridge annotation and where it fits in DocumentBuilder. InitializeMembers grabs both the class’s fields and methods and then proceeds to call InitializeMember on each of them. I propose that this class annotation (and any other that may appear in the future) be looked for in the InitializeMember method before the fields and methods are looked up. Applying this to any single field doesn’t make sense.



If this need to be tracked by propertiesMetadata then so be it. I haven’t looked much beyond the DocumentBuilder class yet.



Thoughts? Suggestions? Ideas?



John G.

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


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

Reply via email to