-->
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.  [ 1 post ] 
Author Message
 Post subject: system-level properties: which ones are?
PostPosted: Mon Feb 05, 2007 5:21 pm 
Newbie

Joined: Mon Feb 05, 2007 4:41 pm
Posts: 1
Location: CMU
I've read the documentation, FAQs, and forums, and feel something is missing, and could be improved in section 3.4, Configuration: Optional Configuration Properties.

There are several nice lists of properties prefaced by this:

Code:
Warning: some of these properties are "system-level" only.  System-level properties can be set only via java -Dproperty=value or hibernate.properties. They may not be set by the other techniques described above.

"system-level = true or false" would be a WONDERFUL addition to the tables!
I've been trying to establish whether or not some of the properties are configuarble at runtime programmatically using something like:

Code:
Configuration.setProperty("propertyname", value);

If I write code to set these properties, and nothing happens, how am I to know whether or not the code is broken or there's a "bug in Hibernate?" ;)

I understand there are lots of properties in the tables, and the source code that establishes the system-level-ness of each property is probably spread out throughout a repository, and it would take Significant Effort to establish the status of each and every property, and therefore the blanket Warning statement was given instead. But it really ties the hands of developers by shrouding this information in mystery, leaving it to us to find out by trial-and-error when it could be spelled out in the documentation. :)

Thanks,

-er


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

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.