-->
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: Does hibernate set javax.xml.transformer.TransformerFactory
PostPosted: Wed Jun 14, 2006 9:45 am 
Newbie

Joined: Wed Jun 14, 2006 9:34 am
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:3.1

Hi,
I'm using JDK1.5.0_04 and wish to use updated XSLT processor. I set the system property -Djavax.xml.transformer.TransformerFactory but the call to

configuration.buildSessionFactory() sets the system property to be something else. The configuration is built using addJar with several JARS containing mapping files. What is making buildSessionFactory set the System property javax.xml.transformer.TransformerFactory?

Thanks for any help


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 14, 2006 11:51 am 
Newbie

Joined: Wed Jun 14, 2006 9:34 am
Posts: 2
Sorry, resolved this now.

It would appear that our code was setting the system property in the default constructor of one of the mapped classes!. When the buildsession ran it instantiated the class to check the mappings and therefore changed the system property


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.