2019年8月14日
摘要:
1需求 向客户中插入一条数据 如果使用Jpa框架可以不用先建表 可以使用框架生成表 2 实现步骤 a 创建工程 使用maven管理工程 b 创键一个配置文件 配置文件的路径必须是:META-INF/persistence.xml 配置连接数据库的相关配置 c: 创键一
阅读全文
posted @ 2019-08-14 12:16
李俊互联网技术传播者
阅读(165)
推荐(1)
摘要:
<?xml version="1.0" encoding="UTF-8"?><persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0"></persistence>
阅读全文
posted @ 2019-08-14 09:50
李俊互联网技术传播者
阅读(153)
推荐(0)
2019年8月11日
摘要:
<?xml version="1.0" encoding="UTF-8"?><beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springframework.org/
阅读全文
posted @ 2019-08-11 09:27
李俊互联网技术传播者
阅读(190)
推荐(0)
2019年8月7日
摘要:
$scope.reloadList=function(){ $scope.findPage( $scope.paginationConf.currentPage, $scope.paginationConf.itemsPerPage); } $scope.paginationConf = { cur
阅读全文
posted @ 2019-08-07 22:10
李俊互联网技术传播者
阅读(141)
推荐(0)
摘要:
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
阅读全文
posted @ 2019-08-07 13:22
李俊互联网技术传播者
阅读(132)
推荐(0)
2019年8月5日
摘要:
<dependencies> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> </dependency> <!-- Mybatis --> <dependency> <
阅读全文
posted @ 2019-08-05 23:27
李俊互联网技术传播者
阅读(343)
推荐(0)
摘要:
<!-- 集中定义依赖版本号 --> <properties> <junit.version>4.12</junit.version> <spring.version>4.2.4.RELEASE</spring.version> <pagehelper.version>4.0.0</pagehelp
阅读全文
posted @ 2019-08-05 23:26
李俊互联网技术传播者
阅读(247)
推荐(0)
2019年8月2日
摘要:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" ><web-app> <!--解决post 乱码--
阅读全文
posted @ 2019-08-02 11:09
李俊互联网技术传播者
阅读(372)
推荐(0)
摘要:
<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2019-08-02 11:06
李俊互联网技术传播者
阅读(190)
推荐(0)
摘要:
1. idea内存优化 -Xms512m -Xmx1024m -XX:ReservedCodeCacheSize=300m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=100 2 idea中使用Tomcat优化 在项目模块中点击projec
阅读全文
posted @ 2019-08-02 11:03
李俊互联网技术传播者
阅读(429)
推荐(0)