Last modified by Markus Ruggiero on 2025/10/24 16:07

From version 29.1
edited by Ray Kiddy
on 2009/07/29 13:11
Change comment: Migrated to Confluence 5.3
To version 22.1
edited by David Avendasora
on 2009/06/25 10:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Best Practices-Properties Files
1 +Best Practices
Parent
... ... @@ -1,1 +1,0 @@
1 -Best Practices
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kiddyr
1 +XWiki.avendasora
Content
... ... @@ -14,21 +14,17 @@
14 14  
15 15  === Database Connection Properties ===
16 16  
17 -While the easiest place to set connection properties is in the EOModel, a better place to put them is in the Properties system, that way you can leverage the flexibility of launch-time loading of Properties so that you set connection info for each user, for development or for deployment.
17 +While the easiest place to set connection properties is in the EOModel, a better place to put them is in the Properties system, that way you can leverage the flexibility of launch-time loading of Properties.
18 18  
19 19  ==== Model-Specific Connection Properties ====
20 20  
21 -{{noformat}}
22 -
23 -MyEOModel.URL =
24 -MyEOModel.DBUser =
25 -MyEOModel.DBPassword =
21 +MyEOModel.URL =
22 +MyEOModel.DBUser =
23 +MyEOModel.DBPassword =
26 26  MyEOModel.DBDriver =
27 27  MyEOModel.DBPlugin =
28 28  MyEOModel.DBJDBCInfo =
29 29  
30 -{{/noformat}}
31 -
32 32  ==== Global Connection Properties ====
33 33  
34 34  These settings will allow you to set the connection properties for all the EOModels in your project.