USE [test]
GO
/****** Object: Table [dbo].[admin] Script Date: 2017/10/13 9:23:16 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[admin](
[id] [int] IDENTITY(1,1) NOT NULL,
[username] [varchar](255) NOT NULL,
[userpwd] [varchar](255) NOT NULL,
[deptid] [int] NULL,
PRIMARY KEY CLUSTERED
(
[id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
ALTER TABLE [dbo].[admin] WITH CHECK ADD CONSTRAINT [fk_adm_dept] FOREIGN KEY([deptid])
REFERENCES [dbo].[dept] ([deptid])
GO
ALTER TABLE [dbo].[admin] CHECK CONSTRAINT [fk_adm_dept]
GO
--Dept
USE [test]
GO
/****** Object: Table [dbo].[dept] Script Date: 2017/10/13 9:24:27 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[dept](
[deptid] [int] NOT NULL,
[deptname] [varchar](50) NOT NULL,
CONSTRAINT [PK_dept] PRIMARY KEY CLUSTERED
(
[deptid] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
没有合适的资源?快使用搜索试试~ 我知道了~
Maven+SSM(spring4+mybaties3)+Sql Server查询分页
共68个文件
xml:12个
java:9个
class:9个
1星 需积分: 10 34 下载量 143 浏览量
2017-10-13
09:29:38
上传
评论
收藏 171KB 7Z 举报
温馨提示
采用Maven+SSM(spring4+mybaties3)+Sql Server进行简单的查询分页操作!
资源推荐
资源详情
资源评论
收起资源包目录
SSM.7z (68个子文件)
SSM
.project 1KB
pom.xml 5KB
target
test-classes
TestMybaties.class 384B
m2e-wtp
web-resources
META-INF
maven
cn.wang.ssm
SSM
pom.xml 5KB
pom.properties 200B
MANIFEST.MF 114B
classes
spring-mybatis.xml 2KB
cn
wang
utils
StringUtils.class 649B
PageBean.class 2KB
ssm
dao
AdminMapper.class 731B
AdminMapper.xml 2KB
controller
AdminController.class 2KB
service
AdminService.class 520B
impl
AdminServiceImpl.class 2KB
entity
Admin.class 2KB
Dept.class 1KB
log4j.properties 938B
mybatis-configuration.xml 266B
spring-mvc.xml 1KB
jdbc.properties 156B
sql.txt 1KB
.settings
.jsdtscope 639B
org.eclipse.core.resources.prefs 221B
org.eclipse.wst.common.component 665B
org.eclipse.wst.validation.prefs 50B
org.eclipse.jdt.core.prefs 430B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.jsdt.ui.superType.name 6B
src
test
resources
java
TestMybaties.java 290B
main
resources
spring-mybatis.xml 2KB
log4j.properties 938B
mybatis-configuration.xml 266B
spring-mvc.xml 1KB
jdbc.properties 156B
sql.txt 1KB
java
cn
wang
utils
PageBean.java 1KB
StringUtils.java 234B
ssm
dao
AdminMapper.java 475B
AdminMapper.xml 2KB
controller
AdminController.java 1KB
service
AdminService.java 313B
impl
AdminServiceImpl.java 1KB
entity
Admin.java 762B
Dept.java 471B
webapp
css
bootstrap.min.css 122KB
bootstrap.css.map 370KB
bootstrap-grid.min.css 21KB
bootstrap-grid.min.css.map 51KB
bootstrap.min.css.map 491KB
bootstrap-reboot.min.css 4KB
bootstrap-reboot.css.map 50KB
bootstrap-grid.css 28KB
bootstrap-reboot.min.css.map 24KB
bootstrap-grid.css.map 72KB
bootstrap-reboot.css 4KB
bootstrap.css 153KB
WEB-INF
views
list.jsp 2KB
1.jsp 1KB
web.xml 2KB
lib
index.jsp 365B
META-INF
MANIFEST.MF 39B
jq
jquery.js 155KB
js
bootstrap.js 109KB
bootstrap.min.js 50KB
.springBeans 529B
.classpath 1KB
共 68 条
- 1
资源评论
- installing2018-05-09呵呵,不仅没有sql文件,导入项目也报错h158117174422018-05-12sql里面在项目里面啊,导入项目报错的原因应该是你没把sqljdbc4.jar导入到maven仓库吧,这个jar在中央仓库找不到的!
h15811717442
- 粉丝: 1
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功