Changes for page Best Practices-Properties Files
Last modified by Markus Ruggiero on 2025/10/24 16:07
From version 18.1
edited by David Avendasora
on 2009/06/25 09:49
on 2009/06/25 09:49
Change comment:
There is no comment for this version
To version 20.1
edited by David Avendasora
on 2009/06/25 10:48
on 2009/06/25 10:48
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,3 +11,34 @@ 11 11 ==== Development Only Properties File ==== 12 12 13 13 You can set properties that will only be active if the project is run in Development mode by creating a **Properties.dev** file. It will be loaded for all users. 14 + 15 +=== Database Connection Properties === 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. 18 + 19 +==== Model-Specific Connection Properties ==== 20 + 21 +{{noformat}} 22 + 23 +MyEOModel.URL = 24 +MyEOModel.DBUser = 25 +MyEOModel.DBPassword = 26 +MyEOModel.DBDriver = 27 +MyEOModel.DBPlugin = 28 +MyEOModel.DBJDBCInfo = 29 + 30 +{{/noformat}} 31 + 32 +==== Global Connection Properties ==== 33 + 34 +These settings will allow you to set the connection properties for all the EOModels in your project. 35 + 36 +{{noformat}} 37 + 38 +dbConnectURLGLOBAL = 39 +dbConnectUserGLOBAL = 40 +dbConnectPasswordGLOBAL = 41 +dbConnectDriverGLOBAL = 42 +dbEOPrototypesEntityGLOBAL = 43 + 44 +{{/noformat}}