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

ancis-pang.expense-tally-expense-manager.75.source-code.mybatis-config.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
<configuration>
    <settings>
        <!-- Globally enables or disables any caches configured in any mapper under this configuration. -->
        <setting name="cacheEnabled" value="false"/>
        <!-- Globally enables or disables lazy loading. When enabled, all relations will be lazily loaded. -->
        <setting name="lazyLoadingEnabled" value="true"/>
        <!-- When enabled, any method call will load all the lazy properties of the object. Otherwise, each
        property is loaded on demand -->
        <setting name="aggressiveLazyLoading" value="false"/>
        <!-- 	Sets the number of seconds the driver will wait for a response from the database. -->
        <setting name="defaultStatementTimeout" value="30"/>
    </settings>
    <typeHandlers>
        <typeHandler handler="org.apache.ibatis.type.EnumTypeHandler" javaType="expense_tally.model.persistence.transformation.ExpenseCategory"/>
        <typeHandler handler="org.apache.ibatis.type.EnumTypeHandler" javaType="expense_tally.model.persistence.transformation.ExpenseSubCategory"/>
        <typeHandler handler="org.apache.ibatis.type.EnumTypeHandler" javaType="expense_tally.model.persistence.transformation.PaymentMethod"/>
    </typeHandlers>
    <databaseIdProvider type="DB_VENDOR">
        <property name="mysql" value="mysql" />
    </databaseIdProvider>
    <mappers>
        <mapper class="expense_tally.expense_manager.persistence.database.mapper.ExpenseReportMapper" />
        <mapper class="expense_tally.expense_manager.persistence.database.mapper.ExpenseManagerTransactionMapper" />
    </mappers>
</configuration>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy