| <component-set> |
| <components> |
| <component> |
| <role>org.codehaus.plexus.jdo.JdoFactory</role> |
| <role-hint>continuum</role-hint> |
| <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation> |
| <configuration> |
| <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass> |
| </configuration> |
| </component> |
| <component> |
| <role>org.codehaus.plexus.jdo.JdoFactory</role> |
| <role-hint>users</role-hint> |
| <implementation>org.codehaus.plexus.jdo.DefaultConfigurableJdoFactory</implementation> |
| <configuration> |
| <!-- Database Configuration --> |
| <driverName>org.hsqldb.jdbcDriver</driverName> |
| <url>jdbc:hsqldb:${plexus.home}/database</url> |
| <userName>sa</userName> |
| <password></password> |
| <persistenceManagerFactoryClass>org.jpox.PersistenceManagerFactoryImpl</persistenceManagerFactoryClass> |
| |
| <otherProperties> |
| <!-- JPOX and JDO configuration --> |
| <property> |
| <name>org.jpox.autoCreateSchema</name> |
| <value>true</value> |
| </property> |
| <property> |
| <name>org.jpox.validateTables</name> |
| <value>false</value> |
| </property> |
| <property> |
| <name>org.jpox.validateColumns</name> |
| <value>false</value> |
| </property> |
| <property> |
| <name>org.jpox.validateConstraints</name> |
| <value>false</value> |
| </property> |
| |
| <property> |
| <name>org.jpox.autoStartMechanism</name> |
| <value>SchemaTable</value> |
| </property> |
| <property> |
| <name>org.jpox.autoStartMechanismMode</name> |
| <value>Ignored</value> |
| </property> |
| <property> |
| <name>org.jpox.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| <property> |
| <name>org.jpox.poid.transactionIsolation</name> |
| <value>READ_UNCOMMITTED</value> |
| </property> |
| </otherProperties> |
| </configuration> |
| </component> |
| </components> |
| </component-set> |