最近帮同学做毕设,一个物流管理系统,一个点餐系统,用注解开发起来还是很快的,就是刚开始搭环境费了点事,今天把物流管理系统的一部分跟环境都贴出来,有什么不足的,请大神不吝赐教。
1、结构如下 2、jar包如下 3、首先是spring.xml ...
分类:
编程语言 时间:
2014-05-07 19:44:39
阅读次数:
565
Spring @Transactional声明式事务管理
getCurrentSession在Spring
@Transactional声明式事务管理的配置中,hibernate.current_session_context_class=thread…这一句是不能加的…加了就会出错..那为什么不能...
分类:
编程语言 时间:
2014-05-07 17:48:14
阅读次数:
482
这里是windows下 使用1.4.3版本时候出现的问题。
问题1
I:\git\orangle.github.io>jekyll serve --watch
Configuration file: I:/git/orangle.github.io/_config.yml
Source: I:/git/orangle.github.io
Destinat...
分类:
其他好文 时间:
2014-05-07 08:04:31
阅读次数:
486
Problem Description
You are given a sequence of n integers a1 , a2 , ... , an in non-decreasing order. In addition to that, you are given several queries consisting of indices i and j (1 ≤ i ≤ j ≤ ...
分类:
其他好文 时间:
2014-05-07 07:59:11
阅读次数:
309
给你一个数组,O(N)时间找出某些个数,这些题如果没见过,还真不是很好想。做了这些题,我觉得有下面两个个比较常见的思路:
1. 用两个指针,可以从一边开始,走某个距离停止,也可能是一头一尾两个指针,定义一种大小关系,他俩比较之后移动,直到相遇。
2. 用其他的辅助的数据结构,可能是hash表,可能是map,可能是栈或者队列。这种通常用在访问了现在的不能确定他们是不是有用,是不是能影响最后的结果...
分类:
其他好文 时间:
2014-05-07 07:50:33
阅读次数:
392
paip.取当天记录的方法sql跟hql hibernate
#------两个方法...函数法和日期计算法..
函数法: DATEDIFF(d,createTime,GETDATE())=0 //d指定为day
hb也有一样的函数..
日期 计算法: where createTime>='2014-5-4 00:00:01' and createTime
where cre...
分类:
数据库 时间:
2014-05-07 06:39:29
阅读次数:
436
Subtraction Game 1
Chef is playing a game on a sequence of N positive integers, say A1, A2, ... AN. The game is played as follows.
If all the numbers are equal, the game ends.Otherwise
Sele...
分类:
其他好文 时间:
2014-05-07 03:14:01
阅读次数:
280
今天把19节剩下的看完了毕向东java基础 25天 停在这里的19天毕向东html
29天方立勋javaweb 11天冯威ajax 25天张孝祥 struts1.3 6天黎活明struct2.1 3天李勇Hibernate
4天黎活明_Spring2.5 3天黎活明android 8天
分类:
其他好文 时间:
2014-05-06 12:44:21
阅读次数:
255