From ac77c9357f29e73bacc7e0adf736bdbf097d3613 Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Thu, 8 Feb 2007 12:48:10 +0000 Subject: [PATCH] --- mythtv/src/main/resources/beanRefContext.xml | 19 +++++++ .../org.wamblee.beanfactory.properties | 7 +++ .../org.wamblee.mythtv.application.xml | 6 ++ .../org.wamblee.mythtv.datasource.xml | 9 +++ .../org.wamblee.mythtv.hibernate.properties | 20 +++++++ .../org.wamblee.mythtv.hibernate.xml | 56 +++++++++++++++++++ .../org.wamblee.mythtv.hibernatemappings.xml | 9 +++ .../resources/org.wamblee.mythtv.properties | 5 ++ .../org.wamblee.mythtv.properties.xml | 15 +++++ 9 files changed, 146 insertions(+) create mode 100644 mythtv/src/main/resources/beanRefContext.xml create mode 100644 mythtv/src/main/resources/org.wamblee.beanfactory.properties create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.application.xml create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.properties create mode 100644 mythtv/src/main/resources/org.wamblee.mythtv.properties.xml diff --git a/mythtv/src/main/resources/beanRefContext.xml b/mythtv/src/main/resources/beanRefContext.xml new file mode 100644 index 00000000..fff0f4c3 --- /dev/null +++ b/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/mythtv/src/main/resources/org.wamblee.beanfactory.properties b/mythtv/src/main/resources/org.wamblee.beanfactory.properties new file mode 100644 index 00000000..4ffb2ece --- /dev/null +++ b/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/mythtv/src/main/resources/org.wamblee.mythtv.application.xml b/mythtv/src/main/resources/org.wamblee.mythtv.application.xml new file mode 100644 index 00000000..e00a326d --- /dev/null +++ b/mythtv/src/main/resources/org.wamblee.mythtv.application.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml b/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml new file mode 100644 index 00000000..9caa1c88 --- /dev/null +++ b/mythtv/src/main/resources/org.wamblee.mythtv.datasource.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties b/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.properties new file mode 100644 index 00000000..42491b2c --- /dev/null +++ b/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/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml b/mythtv/src/main/resources/org.wamblee.mythtv.hibernate.xml new file mode 100644 index 00000000..4d34ac8d --- /dev/null +++ b/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/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml b/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml new file mode 100644 index 00000000..a8208184 --- /dev/null +++ b/mythtv/src/main/resources/org.wamblee.mythtv.hibernatemappings.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/mythtv/src/main/resources/org.wamblee.mythtv.properties b/mythtv/src/main/resources/org.wamblee.mythtv.properties new file mode 100644 index 00000000..45e303eb --- /dev/null +++ b/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/mythtv/src/main/resources/org.wamblee.mythtv.properties.xml b/mythtv/src/main/resources/org.wamblee.mythtv.properties.xml new file mode 100644 index 00000000..6ba78cef --- /dev/null +++ b/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 -- 2.31.1