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

dozer.globalDozerBeanMapping.xml Maven / Gradle / Ivy

Go to download

commonutil是一个功能丰富的Java工具类库,通过封装静态方法,降低学习成本,提升工作效率。

There is a newer version: 4.4.6
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<mappings xmlns="http://dozer.sourceforge.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://dozer.sourceforge.net http://dozer.sourceforge.net/schema/beanmapping.xsd">

    <!-- dozer全局配置文件 -->
    <configuration>
        <!-- 抛出异常停止转换 -->
        <stop-on-errors>true</stop-on-errors>
        <!-- 字符串类型和日期类型互转默认指定格式 -->
        <date-format>yyyy-MM-dd HH:mm:ss</date-format>
        <!-- 默认隐式转换 -->
        <wildcard>true</wildcard>
        <!-- 默认不去字符串左右两边空格 -->
        <trim-strings>false</trim-strings>
    </configuration>

</mappings>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy