Changes for page Best Practices-Properties Files
Last modified by Markus Ruggiero on 2025/10/24 16:07
From version 22.1
edited by David Avendasora
on 2009/06/25 10:47
on 2009/06/25 10:47
Change comment:
There is no comment for this version
To version 30.1
edited by Markus Ruggiero
on 2025/10/24 16:07
on 2025/10/24 16:07
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Best Practices 1 +Best Practices-Properties Files - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +documentation.Home.Best Practices.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. avendasora1 +XWiki.ruggiero - Content
-
... ... @@ -14,27 +14,27 @@ 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. 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. 18 18 19 19 ==== Model-Specific Connection Properties ==== 20 20 21 -MyEOModel.URL = 22 -MyEOModel.DBUser = 23 -MyEOModel.DBPassword = 21 +{{code}} 22 +MyEOModel.URL = 23 +MyEOModel.DBUser = 24 +MyEOModel.DBPassword = 24 24 MyEOModel.DBDriver = 25 25 MyEOModel.DBPlugin = 26 26 MyEOModel.DBJDBCInfo = 28 +{{/code}} 27 27 28 28 ==== Global Connection Properties ==== 29 29 30 30 These settings will allow you to set the connection properties for all the EOModels in your project. 31 31 32 -{{noformat}} 33 - 34 +{{code}} 34 34 dbConnectURLGLOBAL = 35 35 dbConnectUserGLOBAL = 36 36 dbConnectPasswordGLOBAL = 37 37 dbConnectDriverGLOBAL = 38 38 dbEOPrototypesEntityGLOBAL = 39 - 40 -{{/noformat}} 40 +{{/code}}