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