| <?xml version="1.0" encoding="UTF-8"?> |
| <beans xmlns="http://www.springframework.org/schema/beans" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:p="http://www.springframework.org/schema/p" |
| xmlns:aop="http://www.springframework.org/schema/aop" |
| xmlns:util="http://www.springframework.org/schema/util" |
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
| http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd |
| http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd"> |
| |
| <!-- |
| <bean id="jdoProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> |
| <property name="location" value="classpath:jdo.properties"/> |
| </bean> |
| --> |
| <util:properties id="jdoProperties" location="classpath:jdo.properties"/> |
| |
| <bean name="jdoFactory#continuum" depends-on="jdoProperties" |
| class="org.apache.maven.continuum.jdo.MemoryJdoFactory" |
| p:persistenceManagerFactoryClass="org.jpox.PersistenceManagerFactoryImpl" |
| p:driverName="org.hsqldb.jdbcDriver" |
| p:userName="sa" |
| p:password="" |
| p:url="jdbc:hsqldb:mem:test"> |
| |
| <!-- |
| <property name="persistenceManagerFactoryClass" value="org.jpox.PersistenceManagerFactoryImpl"/> |
| --> |
| <property name="otherProperties" ref="jdoProperties"/> |
| </bean> |
| <!-- |
| p:url="jdbc:hsqldb:${plexus.home}/database" |
| --> |
| |
| </beans> |