From: erik Date: Thu, 8 Feb 2007 12:48:10 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.2@603~286 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=54fed485f086612759791bdd74fbe1145f4852f5;p=utils --- diff --git a/trunk/mythtv/src/main/resources/beanRefContext.xml b/trunk/mythtv/src/main/resources/beanRefContext.xml new file mode 100644 index 00000000..fff0f4c3 --- /dev/null +++ b/trunk/mythtv/src/main/resources/beanRefContext.xml @@ -0,0 +1,19 @@ + + + + + + + + + org.wamblee.mythtv.properties.xml + org.wamblee.mythtv.datasource.xml + org.wamblee.mythtv.hibernatemappings.xml + org.wamblee.mythtv.hibernate.xml + org.wamblee.mythtv.application.xml + + + + + \ No newline at end of file diff --git a/trunk/mythtv/src/main/resources/org.wamblee.beanfactory.properties b/trunk/mythtv/src/main/resources/org.wamblee.beanfactory.properties new file mode 100644 index 00000000..4ffb2ece --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.beanfactory.properties @@ -0,0 +1,7 @@ + +############################################################################## +# Class name of the beanfactory used by the crawler application +############################################################################## + +org.wamblee.beanfactory.class=org.wamblee.mythtv.MythtvBeanFactory + diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.application.xml b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.application.xml new file mode 100644 index 00000000..e00a326d --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.application.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml new file mode 100644 index 00000000..9caa1c88 --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties new file mode 100644 index 00000000..42491b2c --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties @@ -0,0 +1,20 @@ + +################################################################################### +# dialect +################################################################################### +hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect + +################################################################################### +# debugging settings: Log4j configuration can provide more detail. +################################################################################### +hibernate.show_sql=false + +################################################################################### +# hibernate cache provider +################################################################################### +hibernate.cache.provider=org.hibernate.cache.EhCacheProvider + +################################################################################### +# query cache +################################################################################### +hibernate.cache.use_query_cache=true \ No newline at end of file diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml new file mode 100644 index 00000000..4d34ac8d --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml @@ -0,0 +1,56 @@ + + + + + + + + + + + + + ${hibernate.dialect} + ${hibernate.cache.provider} + ${hibernate.show_sql} + ${hibernate.cache.use_query_cache} + true 1, false 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + PROPAGATION_REQUIRED + + + + + + diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml new file mode 100644 index 00000000..a8208184 --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties new file mode 100644 index 00000000..45e303eb --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties @@ -0,0 +1,5 @@ + +org.wamblee.mythtv.datasource=java:mythtv +org.wamblee.mythtv.pollinterval=30 +org.wamblee.mythtv.monitordir=/data/vcr +org.wamblee.mythtv.linkdir=/data/vcr/links diff --git a/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties.xml b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties.xml new file mode 100644 index 00000000..6ba78cef --- /dev/null +++ b/trunk/mythtv/src/main/resources/org.wamblee.mythtv.properties.xml @@ -0,0 +1,15 @@ + + + + + + + + + org.wamblee.mythtv.hibernate.properties + org.wamblee.mythtv.properties + + + + \ No newline at end of file