• 大小: 15.66MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-30
  • 语言: 其他
  • 标签: demo  

资源简介

SpringMVC + Spring + SpringData\JPA 整合Demo,下载后直接可以在本地跑起来,涉及的技术比较全面

资源截图

代码片段和文件信息

package com.wangh.sssp.entity;

import javax.persistence.Cacheable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Cacheable
@Table(name=“SSSP_DEPARTMENTS“)
@Entity
public class Department {

private Integer id;
private String departmentName;

@GeneratedValue
@Id
public Integer getId() {
return id;
}

public void setId(Integer id) {
this.id = id;
}

public String getDepartmentName() {
return departmentName;
}

public void setDepartmentName(String departmentName) {
this.departmentName = departmentName;
}

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        975  2018-06-15 00:31  sssp\.classpath

     文件       1245  2018-05-26 23:08  sssp\.project

     文件        503  2015-09-05 22:15  sssp\.settings\.jsdtscope

     文件        670  2018-05-25 22:06  sssp\.settings\org.eclipse.jdt.core.prefs

     文件        466  2018-05-26 23:17  sssp\.settings\org.eclipse.wst.common.component

     文件        355  2018-05-25 22:06  sssp\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2015-09-05 22:15  sssp\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2015-09-05 22:15  sssp\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件        506  2015-09-05 22:17  sssp\.springBeans

     文件       3291  2018-05-26 22:55  sssp\build\classes\applicationContext.xml

     文件       1072  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\entity\Department.class

     文件       2342  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\entity\Employee.class

     文件       4527  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\handler\EmployeeHandler.class

     文件        736  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\repository\DepartmentRepository.class

     文件        654  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\repository\EmployeeRepository.class

     文件        897  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\service\DepartmentService.class

     文件       2300  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\service\EmployeeService.class

     文件       1312  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\test\compareTo$1.class

     文件       1897  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\test\compareTo.class

     文件       1861  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\test\SSSPTest.class

     文件       2936  2018-06-25 00:21  sssp\build\classes\com\wangh\sssp\test\Test.class

     文件        187  2018-05-26 23:27  sssp\build\classes\db.properties

     文件       3873  2015-09-06 20:29  sssp\build\classes\ehcache.xml

     文件       3291  2018-05-26 22:55  sssp\src\applicationContext.xml

     文件        657  2018-05-26 22:51  sssp\src\com\wangh\sssp\entity\Department.java

     文件       1672  2018-05-26 22:51  sssp\src\com\wangh\sssp\entity\Employee.java

     文件       3041  2018-05-26 22:52  sssp\src\com\wangh\sssp\handler\EmployeeHandler.java

     文件        568  2018-05-26 22:52  sssp\src\com\wangh\sssp\repository\DepartmentRepository.java

     文件        663  2018-06-24 13:59  sssp\src\com\wangh\sssp\repository\EmployeeRepository.java

     文件        572  2018-05-26 22:53  sssp\src\com\wangh\sssp\service\DepartmentService.java

............此处省略81个文件信息

评论

共有 条评论