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.  [ 2 posts ] 
Author Message
 Post subject: Performing XSLT transforms on mapping files
PostPosted: Wed Dec 08, 2004 1:40 pm 
Regular
Regular

Joined: Thu Oct 07, 2004 4:45 pm
Posts: 92
I'm running into a situation where I have a lot of redundant data per class in my mapping file. I could eliminate a lot of it by applying an XSLT transform to each Hibernate mapping file before Hibernate processes it. Has anyone enhanced the Configuration/SessionFactory to support this? I'd love to see the code.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 08, 2004 2:04 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Well just pass the resulting DOM tree to the configuration instead of the mapping file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.