摘要:
SpringMVC 入门知识一、SpringMVC入门介绍 springMVC代替struts2去整合hibernate实现功能的框架。使用springMVC有两个配置文件需要配置,一 个是applicationContext.xml、另一个是web.xml,在applicationContext... 阅读全文
摘要:
Hibernate基数映射关系一、基数映射——一对一关系映射 每个账户对应一个地址的数据库关系为例:1、SQL脚本: -- 一对一(唯一外键) drop table t_addr; drop table t_act; create table t_act( id int primary key ... 阅读全文