aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-database/src/test/resources/ibatis-config.xml
blob: b7013e013f34bbf948ddc1bacb61702f9d60646f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?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
    cacheModelsEnabled="true"
    enhancementEnabled="true"
    lazyLoadingEnabled="false"
    maxRequests="32"
    maxSessions="10"
    maxTransactions="5"
    useStatementNamespaces="false"
    />

  <transactionManager type="JDBC">
    <dataSource type="SIMPLE">
      <property name="JDBC.Driver" value="${jdbc.driver}"/>
      <property name="JDBC.ConnectionURL" value="${jdbc.url}"/>
      <property name="JDBC.Username" value="${jdbc.username}"/>
      <property name="JDBC.Password" value="${jdbc.password}"/>
    </dataSource>
  </transactionManager>

  <!--
  <resultObjectFactory type="org.codehaus.plexus.ibatis.PlexusResultObjectFactory" >
  	<property name="foo" value="bar"/>
  </resultObjectFactory> 
  -->

  <sqlMap resource="org/apache/maven/archiva/database/ManageTables.xml"/>
  <sqlMap resource="org/apache/maven/archiva/database/MetadataKey.xml"/>
  <sqlMap resource="org/apache/maven/archiva/database/ArtifactKey.xml"/>
  <sqlMap resource="org/apache/maven/archiva/database/RepositoryMetadata.xml"/>
  
</sqlMapConfig>