All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.datanucleus-connectionpool.2.0.3.source-code.plugin.xml Maven / Gradle / Ivy

Go to download

DataNucleus can be used with a connection pool internally. This plugin provides this capability for C3P0, DBCP, Proxool and BoneCP.

The newest version!
<?xml version="1.0"?>
<plugin id="org.datanucleus.connectionpool" name="DataNucleus ConnectionPool plugin" provider-name="DataNucleus">
    <extension point="org.datanucleus.store.rdbms.datasource">
	    <datasource-factory name="BoneCP" class-name="org.datanucleus.store.rdbms.datasource.bonecp.BoneCPDataSourceFactory"/>
	    <datasource-factory name="C3P0" class-name="org.datanucleus.store.rdbms.datasource.c3p0.C3P0DataSourceFactory"/>
	    <datasource-factory name="DBCP" class-name="org.datanucleus.store.rdbms.datasource.dbcp.DBCPDataSourceFactory"/>
	    <datasource-factory name="Proxool" class-name="org.datanucleus.store.rdbms.datasource.proxool.ProxoolDataSourceFactory"/>
    </extension>

    <!-- PERSISTENCE PROPERTIES -->
    <extension point="org.datanucleus.persistence_properties">
        <persistence-property name="datanucleus.connectionPool.maxStatements"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.maxPoolSize"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.minPoolSize"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.initialPoolSize"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.maxIdle"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.minIdle"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.maxActive"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.maxWait"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.testSQL"
            validator="org.datanucleus.properties.StringPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.timeBetweenEvictionRunsMillis"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.minEvictableIdleTimeMillis"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
        <persistence-property name="datanucleus.connectionPool.maxConnections"
            validator="org.datanucleus.properties.IntegerPropertyValidator"/>
    </extension>
</plugin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy