ibatis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgbut...@apache.org
Subject svn commit: r833772 [25/25] - in /ibatis/java/ibator/trunk/core: ./ ibator-core/doc/ ibator-core/doc/html/ ibator-core/doc/html/configreference/ ibator-core/doc/html/generatedobjects/ ibator-core/doc/html/reference/ ibator-core/doc/html/usage/ ibator-m...
Date Sat, 07 Nov 2009 22:59:05 GMT
Added: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/SqlMapConfig.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/SqlMapConfig.xml?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/SqlMapConfig.xml
(added)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java2/SqlMapConfig.xml
Sat Nov  7 22:59:00 2009
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sqlMapConfig
+  PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
+  "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
+
+<sqlMapConfig>
+
+  <settings useStatementNamespaces="true" />
+
+  <transactionManager type="JDBC">
+    <dataSource type="SIMPLE">
+      <property name="JDBC.Driver" value="org.hsqldb.jdbcDriver"/>
+      <property name="JDBC.ConnectionURL" value="jdbc:hsqldb:mem:aname"/>
+      <property name="JDBC.Username" value="sa"/>
+      <property name="JDBC.Password" value=""/>
+      <property name="JDBC.DefaultAutoCommit" value="true"/>
+    </dataSource>
+  </transactionManager>
+
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/FIELDSBLOBS_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/FIELDSONLY_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/PKBLOBS_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/PKFIELDS_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/PKFIELDSBLOBS_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/PKONLY_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java2/xml/awful table_SqlMap.xml"
/>
+
+</sqlMapConfig>

Added: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SpringBeans.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SpringBeans.xml?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SpringBeans.xml
(added)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SpringBeans.xml
Sat Nov  7 22:59:00 2009
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+
+  <bean id="dataSource" class="com.ibatis.common.jdbc.SimpleDataSource">
+    <constructor-arg>
+      <map>
+        <entry key="JDBC.Driver"><value>org.hsqldb.jdbcDriver</value></entry>
+        <entry key="JDBC.ConnectionURL"><value>jdbc:hsqldb:mem:aname</value></entry>
+        <entry key="JDBC.Username"><value>sa</value></entry>
+        <entry key="JDBC.Password"><value></value></entry>
+        <entry key="JDBC.DefaultAutoCommit"><value>true</value></entry>
+      </map> 
+    </constructor-arg>
+  </bean>
+
+  <bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
+    <property name="configLocation" value="classpath:/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml"/>
+    <property name="dataSource" ref="dataSource"/>
+  </bean>
+
+  <bean id="FieldsonlyDAO" class="ibatortest.generated.hierarchical.java5.dao.FieldsonlyDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="PkonlyDAO" class="ibatortest.generated.hierarchical.java5.dao.PkonlyDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="PkfieldsDAO" class="ibatortest.generated.hierarchical.java5.dao.PkfieldsDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="PkblobsDAO" class="ibatortest.generated.hierarchical.java5.dao.PkblobsDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="PkfieldsblobsDAO" class="ibatortest.generated.hierarchical.java5.dao.PkfieldsblobsDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="FieldsblobsDAO" class="ibatortest.generated.hierarchical.java5.dao.FieldsblobsDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+  <bean id="AwfulTableDAO" class="ibatortest.generated.hierarchical.java5.dao.AwfulTableDAOImpl">
+    <property name="sqlMapClient" ref="sqlMapClient" />
+  </bean>
+  
+</beans>

Added: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml
(added)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/hierarchical/java5/SqlMapConfig.xml
Sat Nov  7 22:59:00 2009
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sqlMapConfig
+  PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
+  "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
+
+<sqlMapConfig>
+
+  <settings useStatementNamespaces="true" />
+
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/FIELDSBLOBS_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/FIELDSONLY_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/PKBLOBS_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/PKFIELDS_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/PKFIELDSBLOBS_SqlMap.xml"
/>
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/PKONLY_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/hierarchical/java5/xml/awful table_SqlMap.xml"
/>
+
+</sqlMapConfig>

Added: ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/SqlMapConfig.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/SqlMapConfig.xml?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/SqlMapConfig.xml
(added)
+++ ibatis/java/ibator/trunk/core/ibator-systests-ibatis2-java5/src/test/resources/ibatortest/execute/miscellaneous/SqlMapConfig.xml
Sat Nov  7 22:59:00 2009
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE sqlMapConfig
+  PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
+  "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
+
+<sqlMapConfig>
+
+  <settings useStatementNamespaces="true" />
+
+  <transactionManager type="JDBC">
+    <dataSource type="SIMPLE">
+      <property name="JDBC.Driver" value="org.hsqldb.jdbcDriver"/>
+      <property name="JDBC.ConnectionURL" value="jdbc:hsqldb:mem:aname"/>
+      <property name="JDBC.Username" value="sa"/>
+      <property name="JDBC.Password" value=""/>
+      <property name="JDBC.DefaultAutoCommit" value="true"/>
+    </dataSource>
+  </transactionManager>
+
+  <sqlMap resource="ibatortest/generated/miscellaneous/xml/PKFIELDS_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/miscellaneous/xml/REGEXRENAME_SqlMap.xml" />
+  <sqlMap resource="ibatortest/generated/miscellaneous/xml/ANOTHERAWFULTABLE_SqlMap.xml"
/>
+
+</sqlMapConfig>

Added: ibatis/java/ibator/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/ibatis/java/ibator/trunk/core/pom.xml?rev=833772&view=auto
==============================================================================
--- ibatis/java/ibator/trunk/core/pom.xml (added)
+++ ibatis/java/ibator/trunk/core/pom.xml Sat Nov  7 22:59:00 2009
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.ibatis.ibator</groupId>
+  <artifactId>ibator</artifactId>
+  <name>ibator</name>
+  <version>1.2.2-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <modules>
+    <module>ibator-core</module>
+    <module>ibator-maven-plugin</module>
+    <module>ibator-systests-ibatis2-java2</module>
+    <module>ibator-systests-ibatis2-java5</module>
+  </modules>
+</project>
\ No newline at end of file



Mime
View raw message