摘要:
一对一 一个账户对应一个用户: 账户实体: public class Account { private Integer id; private Double money; private User user; } 用户实体: public class User { private Integer 阅读全文
posted @ 2021-03-09 17:43
ttpfx
阅读(115)
评论(0)
推荐(0)
摘要:
if 和 where public interface UserDao { List<User> getUserListByCondition(User user); } <select id="getUserListByCondition" parameterType="User" resultT 阅读全文
posted @ 2021-03-09 11:53
ttpfx
阅读(55)
评论(0)
推荐(0)
摘要:
属性(properties) 通过properties的子元素设置配置项: <properties> <property name="driver" value="com.mysql.cj.jdbc.Driver"/> <property name="url" value="jdbc:mysql:/ 阅读全文
posted @ 2021-03-09 10:00
ttpfx
阅读(103)
评论(0)
推荐(0)
浙公网安备 33010602011771号