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

etc.postgres.xml Maven / Gradle / Ivy

The newest version!
<?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.xsd">

    <!--MAIN START CONFIG-->
    <bean id="start_config" class="com.wizarius.orm.database.DBConnectionPool">
        <constructor-arg name="driver" ref="database_driver"/>
        <constructor-arg name="clazz" value="com.wizarius.orm.database.postgres.PostgresConnection"/>
    </bean>
    <!--END MAIN START CONFIG-->

    <!--DB DRIVER-->
    <bean id="database_driver" class="com.wizarius.orm.database.postgres.driver.PostgresSpringDriver">
        <constructor-arg name="driver" value="org.postgresql.Driver"/>
        <constructor-arg name="username" value="postgres"/>
        <constructor-arg name="password" value="12345"/>
        <constructor-arg name="databaseName" value="manatee_orm"/>
        <constructor-arg name="hostname" value="127.0.0.1"/>
        <constructor-arg name="port" value="5432"/>
        <constructor-arg name="params">
            <null/>
        </constructor-arg>
    </bean>
    <!--END DB DRIVER-->
</beans>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy