The dynamic proxy and classes include a simple implementation

**

Dynamic Proxy DAO and its class have a simple implementation

1. Project Reference

Second, the mybatis-config.xml configuration file

<mappers>
    <!--<mapper resource="com/wj/mapper/UserMapper.xml"/>-->
    <package name="com.wj.mapper"></package>
</mappers>

3. DB.Properties configuration file
jdbc.driver = com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1/book
jdbc. username = root
jdbc. password = root

Four, burst bag



5. Map Designer Bag





6. Service Pack


7. Util package

8. Test bag

Leave a Comment