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.  [ 5 posts ] 
Author Message
 Post subject: hibernate.use_reflection_optimizer has no impact...
PostPosted: Fri Jul 07, 2006 8:04 am 
Beginner
Beginner

Joined: Thu Jul 06, 2006 4:44 am
Posts: 31
Hi.

Setting this property programatically has no impact on the optimization. The optimization variable is set in the global environment and setting it to false in the configuration object does not change anything.

Greetings
Markov


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 07, 2006 8:12 pm 
Regular
Regular

Joined: Thu May 26, 2005 12:20 am
Posts: 72
Is there a question in there?

hibernate.user_reflection_optimizer has to be set as a JVM parameter, not in the runtime Hibernate object config.

_________________
_________________
dan

If what I say is helpful, please rate the post as such by clicking 'Y'. I appreciate it.


Top
 Profile  
 
 Post subject: -
PostPosted: Mon Jul 10, 2006 2:26 am 
Beginner
Beginner

Joined: Thu Jul 06, 2006 4:44 am
Posts: 31
we are here in nhibernate forum folder and not java...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 10, 2006 5:03 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
It's the same in NH. The property only has effect if set globally (either in <nhibernate> section in app.config, or by setting Environment.UseReflectionOptimizer to false before creating a session factory).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 12, 2006 1:09 pm 
Regular
Regular

Joined: Thu May 26, 2005 12:20 am
Posts: 72
Sorry for the confusion -- I was looking at unanswered posts and crossed the line. Still, as Sergey pointed out, it's the same.

Were you able to get it working with the environment variable?

Please rate posts...

_________________
_________________
dan

If what I say is helpful, please rate the post as such by clicking 'Y'. I appreciate it.


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