aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main/resources
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2018-02-23 13:35:12 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2018-02-23 13:35:12 +0100
commit80ea041e0240eb3d9291eb0d699bb09c90aaa2a9 (patch)
treec1d950bbdfbc40991e2bcfc7822ff3e181951688 /id/server/moa-id-commons/src/main/resources
parentf35737cbb27dda96caf0435c4bac7d279832e4fd (diff)
downloadmoa-id-spss-80ea041e0240eb3d9291eb0d699bb09c90aaa2a9.tar.gz
moa-id-spss-80ea041e0240eb3d9291eb0d699bb09c90aaa2a9.tar.bz2
moa-id-spss-80ea041e0240eb3d9291eb0d699bb09c90aaa2a9.zip
first untested unfactoring for Postgresql suppport
The scheme of configuration DB changed, therefore this version is incompatible to 3.3.2 configuration
Diffstat (limited to 'id/server/moa-id-commons/src/main/resources')
-rw-r--r--id/server/moa-id-commons/src/main/resources/configuration.beans.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/id/server/moa-id-commons/src/main/resources/configuration.beans.xml b/id/server/moa-id-commons/src/main/resources/configuration.beans.xml
index b97b1c88b..1251cf406 100644
--- a/id/server/moa-id-commons/src/main/resources/configuration.beans.xml
+++ b/id/server/moa-id-commons/src/main/resources/configuration.beans.xml
@@ -10,6 +10,16 @@
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
<context:annotation-config />
+ <beans profile="!byteBasedConfig">
+ <bean id="StringBasedConfigProperty"
+ class="at.gv.egovernment.moa.id.commons.db.dao.config.ConfigProperty"/>
+ </beans>
+
+ <beans profile="byteBasedConfig">
+ <bean id="ByteBasedConfigProperty"
+ class="at.gv.egovernment.moa.id.commons.db.dao.config.ConfigPropertyByteValues"
+ />
+ </beans>
<bean id="configPropertyDao"
class="at.gv.egovernment.moa.id.commons.db.dao.config.DatabaseConfigPropertyImpl"/>