From 8deaaf2bd087174d6bc0618d6e3303721c826058 Mon Sep 17 00:00:00 2001
From: Menelaos Perdikeas <mperdikeas@mperdikeas.(none)>
Date: Fri, 24 Aug 2012 19:13:33 +0300
Subject: [PATCH] just configured HSQLDB driver for JBoss AS

---
 .../modules/org/hsqldb/main/hsqldb-2.2.9.jar       |  Bin 0 -> 1423646 bytes
 .../modules/org/hsqldb/main/hsqldb-2.2.9.jar.index |   27 ++++++++++++++++++++
 .../modules/org/hsqldb/main/module.xml             |   12 +++++++++
 .../standalone/configuration/standalone.xml        |    3 +++
 .../standalone_xml_history/standalone.boot.xml     |    3 +++
 .../standalone_xml_history/standalone.last.xml     |    3 +++
 6 files changed, 48 insertions(+)
 create mode 100644 jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar
 create mode 100644 jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar.index
 create mode 100644 jboss-as-7.1.1.Final/modules/org/hsqldb/main/module.xml

diff --git a/jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar b/jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar
new file mode 100644
index 0000000000000000000000000000000000000000..b51f653dbd64d48a8b08039bc2d8772a0ffb8472
GIT binary patch
diff --git a/jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar.index b/jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar.index
new file mode 100644
index 0000000..24a3883
--- /dev/null
+++ b/jboss-as-7.1.1.Final/modules/org/hsqldb/main/hsqldb-2.2.9.jar.index
@@ -0,0 +1,27 @@
+
+org/hsqldb/jdbc
+org/hsqldb/persist
+org/hsqldb
+org/hsqldb/auth
+org
+org/hsqldb/lib/tar/rb
+org/hsqldb/scriptio
+org/hsqldb/store
+org/hsqldb/index
+org/hsqldb/types
+org/hsqldb/error
+org/hsqldb/rowio
+org/hsqldb/jdbc/pool
+org/hsqldb/server
+org/hsqldb/lib
+org/hsqldb/lib/tar
+org/hsqldb/util
+org/hsqldb/rights
+META-INF
+org/hsqldb/result
+org/hsqldb/dbinfo
+org/hsqldb/lib/java
+org/hsqldb/sample
+META-INF/services
+org/hsqldb/navigator
+org/hsqldb/resources
diff --git a/jboss-as-7.1.1.Final/modules/org/hsqldb/main/module.xml b/jboss-as-7.1.1.Final/modules/org/hsqldb/main/module.xml
new file mode 100644
index 0000000..d5a225d
--- /dev/null
+++ b/jboss-as-7.1.1.Final/modules/org/hsqldb/main/module.xml
@@ -0,0 +1,12 @@
+<module xmlns="urn:jboss:module:1.1" name="org.hsqldb">
+   <!-- Load with jboss-cli command:
+        /subsystem=datasources/jdbc-driver=postgresql-driver:add(driver-name=postgresql-driver, driver-class-name=org.postgresql.Driver, driver-module-name=org.postgresql)
+   -->
+   <resources>
+     <resource-root path="hsqldb-2.2.9.jar"/>
+   </resources>
+   <dependencies>
+     <module name="javax.api"/>
+     <module name="javax.transaction.api"/>
+   </dependencies>
+</module>
diff --git a/jboss-as-7.1.1.Final/standalone/configuration/standalone.xml b/jboss-as-7.1.1.Final/standalone/configuration/standalone.xml
index 7d16bf9..d9ab0ab 100644
--- a/jboss-as-7.1.1.Final/standalone/configuration/standalone.xml
+++ b/jboss-as-7.1.1.Final/standalone/configuration/standalone.xml
@@ -113,6 +113,9 @@
                     <driver name="postgresql9.1" module="org.postgresql">
                         <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
                     </driver>
+                    <driver name="hsqldb-2.2.9-driver" module="org.hsqldb">
+                        <xa-datasource-class>org.hsqldb.jdbcDriver</xa-datasource-class>
+                    </driver>
                 </drivers>
             </datasources>
         </subsystem>
diff --git a/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.boot.xml b/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.boot.xml
index 7d16bf9..d9ab0ab 100644
--- a/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.boot.xml
+++ b/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.boot.xml
@@ -113,6 +113,9 @@
                     <driver name="postgresql9.1" module="org.postgresql">
                         <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
                     </driver>
+                    <driver name="hsqldb-2.2.9-driver" module="org.hsqldb">
+                        <xa-datasource-class>org.hsqldb.jdbcDriver</xa-datasource-class>
+                    </driver>
                 </drivers>
             </datasources>
         </subsystem>
diff --git a/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.last.xml b/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.last.xml
index 7d16bf9..d9ab0ab 100644
--- a/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.last.xml
+++ b/jboss-as-7.1.1.Final/standalone/configuration/standalone_xml_history/standalone.last.xml
@@ -113,6 +113,9 @@
                     <driver name="postgresql9.1" module="org.postgresql">
                         <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
                     </driver>
+                    <driver name="hsqldb-2.2.9-driver" module="org.hsqldb">
+                        <xa-datasource-class>org.hsqldb.jdbcDriver</xa-datasource-class>
+                    </driver>
                 </drivers>
             </datasources>
         </subsystem>
-- 
1.7.9.5

