项目问题
开发过程中遇到的问题
厕所里嗨单词
你的负担将变成礼物,你受的苦将照亮你的路。
展开
-
oracle:PLS-00103
现象:在一个dml文件里面,写了三个存储过程。都是用declare声明的,执行报错PLS-00103。 问题原因:发现两个declare语句之间有个换行。编写存储过程时,它会自动填充空格,空格会有问题的,所以就空格去除,或者在一个sql结束位置加上结束符 ‘/’ 也可。问题解决。...原创 2020-02-13 16:12:42 · 575 阅读 · 0 评论 -
Eclipse中Debug 解决source not found
方法一:点击在页面上显示的Edit Source Lookup Path,选择add,添加Java Project,选中相应的项目即可;方法二:tomcat server.xml debug=0 如果设置的是1 就会显示source not found。原创 2016-12-07 16:19:26 · 324 阅读 · 0 评论 -
下拉框 select option 从数据字典中取值
一般前台我们写 select option,其中option中的value都是前台页面写死的。比如: 我的包包 我的本本 我的油油 我的担子 最近做一个项目,采用数据字典的方式,其好处就是以后新增选项的时候,只需要在数据库中新增一条数据,而不需要一个页面一个页面的改动。现在从后台到前台来体现一下代码数据原创 2016-12-23 16:23:48 · 9848 阅读 · 2 评论 -
Mybatis 时间段查询 和 模糊查询
select * from t_branch b left join (select branchno as num, advancedays from t_warning w) w on w.num = b.branchno where 1=1 and branchName like '%'||#{params.branchName}||'%' and li原创 2016-12-07 11:30:29 · 2774 阅读 · 0 评论 -
spring boot引入JPA,出现a bean named 'entityManagerFactory' that could not be found
原文地址:https://blog.csdn.net/babyyaoyao/article/details/81132016原文作者的思路是去除spring-boot-start-data-jpa的版本号。问题的原因就是hibernate的jar包版本冲突。作者的提供的方法不适合我,因为我本就没有写版本号。所以我把.m2下 org/hibernate/hibernate-core的文件删...翻译 2020-01-05 15:03:07 · 876 阅读 · 1 评论