-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Mapping Entities to Index Structures by XML files planned ?
PostPosted: Mon Oct 29, 2007 9:20 am 
Newbie

Joined: Wed Dec 07, 2005 3:00 pm
Posts: 2
Hibernate Search:
Right now mapping entities to index structures is only possible by
java annotations. Are there plans to enhance Hibernate Search so that
these mappings can be defined by the classical Hibernate XML mapping files ?
I prefer to generate the pojos from the XML mapping files and do not intend
to edit generated pojo code, i.e to enhance it by annotations for Hibernate search.
Thanks in advance for an answer.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 29, 2007 3:22 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
A user is interested in providing a patch for that. I'm not sure how far he went yet.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 19, 2007 1:17 pm 
Newbie

Joined: Tue Dec 19, 2006 11:40 am
Posts: 1
Location: Frankfurt, Germany
I also require this feature! I am currently using annotations, however as I use many core entities (Contact, Address, etc) from a shared library and the search requirements often differ on a per application basis this is really an issue.

Any news on an implementation? Otherwise I guess I will just have to provide one. The only issue there is when looking at the SearchFactroyImpl, FullTextIndexEventListener and DocumentBuilder it seems like I would have to duplicated quite a lot of code to be able to provide an implementation. Although making few methods protected would really help such as DocumentBuilder.initializeMembers called from the DocumentBuilder constructor.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.