Gavin King wrote:
The property is

hibernate.connection.datasource


you are not allowed to abbreviate outside of the .cfg.xml.

Thanks!


I can understand the use of the prefix and then supporting an abbreviation in the config file. Two comments:

1. Could you mention this a bit in the docs? It's somewhat obvious now that I review the configuration page, but as I was used to using just the XML configuration, I didn't realize there was a prepending going on.

2. When you add properties from the XML file, Configuration adds them with *and without* the "hibernate." prefix. This made the above confusion harder to resolve because hiberate.cfg.xml's property "connection.datasource" did appear in the properties as "connection.datasource". It just also appeared as "hibernate.connection.datasource".

Thanks again.

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to