dozer.globalDozerBeanMapping.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commonutil Show documentation
Show all versions of commonutil Show documentation
commonutil是一个功能丰富的Java工具类库,通过封装静态方法,降低学习成本,提升工作效率。
<?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>