diff options
Diffstat (limited to 'webservice/src/main/resources/mybatis-config.xml')
-rw-r--r-- | webservice/src/main/resources/mybatis-config.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/webservice/src/main/resources/mybatis-config.xml b/webservice/src/main/resources/mybatis-config.xml new file mode 100644 index 0000000..4537ceb --- /dev/null +++ b/webservice/src/main/resources/mybatis-config.xml @@ -0,0 +1,38 @@ +<?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> + <typeAliases> + <typeAlias alias="Authority" type="app.market.model.authority.Authority" /> + <typeAlias alias="AuthorityExample" type="app.market.model.authority.AuthorityExample" /> + <typeAlias alias="AuthorityResourceLinkExample" type="app.market.model.authority.AuthorityResourceLinkExample" /> + <typeAlias alias="AuthorityResourceLinkKey" type="app.market.model.authority.AuthorityResourceLinkKey" /> + + <typeAlias alias="Resource" type="app.market.model.resource.Resource" /> + <typeAlias alias="ResourceExample" type="app.market.model.resource.ResourceExample" /> + <typeAlias alias="Dictionary" type="app.market.model.resource.Dictionary" /> + <typeAlias alias="DictionaryExample" type="app.market.model.resource.DictionaryExample" /> + + <typeAlias alias="User" type="app.market.model.user.User" /> + <typeAlias alias="UserExample" type="app.market.model.user.UserExample" /> + <typeAlias alias="UserAuthorityLinkExample" type="app.market.model.user.UserAuthorityLinkExample" /> + <typeAlias alias="UserAuthorityLinkKey" type="app.market.model.user.UserAuthorityLinkKey" /> + + <typeAlias alias="App" type="app.market.model.app.App" /> + <typeAlias alias="AppExample" type="app.market.model.app.AppExample" /> + <typeAlias alias="AppVersion" type="app.market.model.app.AppVersion" /> + <typeAlias alias="AppVersionExample" type="app.market.model.app.AppVersionExample" /> + </typeAliases> + + <mappers> + <mapper resource="app/market/persistence/xml/app/AppMapper.xml" /> + <mapper resource="app/market/persistence/xml/app/AppVersionMapper.xml" /> + <mapper resource="app/market/persistence/xml/authority/AuthorityMapper.xml" /> + <mapper resource="app/market/persistence/xml/authority/AuthorityResourceLinkMapper.xml" /> + <mapper resource="app/market/persistence/xml/resource/ResourceMapper.xml" /> + <mapper resource="app/market/persistence/xml/resource/DictionaryMapper.xml" /> + <mapper resource="app/market/persistence/xml/user/UserAuthorityLinkMapper.xml" /> + <mapper resource="app/market/persistence/xml/user/UserMapper.xml" /> + </mappers> +</configuration>
\ No newline at end of file |