- 2018-01-06
处留香
评价历史人物往往是:喜欢的所有好词集于一身,不喜欢的所有贬低词语也集于一身。若是听过易中天老师讲曹操这一段,才是把曹操讲成了人,也是曹操长脸活成了人,活出了自己。东汉末年,董卓进京,挟天子以令诸侯,天下是槌骨沥髓,民不聊生。曹操便是在此时展露头角,刺杀董卓未遂,逃之从长计议,建立了自己的团队,他挑选人才是:采光剖璞,藏垢纳污,郭嘉便是其中一个足智多谋,但行为上不检点,深得曹操喜爱的人。所以他身边的
- 高效能慢生活践行377天(周检)
霞光依依
高效能慢生活践行377天(周检)2018-01-06(周日)❤️远粗近细。清单日历排程。清晨反复看12个好习惯,感觉自己差好远,晨会天荣主持,大家都超赞,随手拿来建军分享的文字版12个好习惯。易效能12个好习惯(用图标帮大家记住)-1.早睡早起;-2.写晨间日记;-3.阅读;-4.运动;-5.随时收集记录事务到清单;-6.每天查看与检视清单;-7.用番茄工作法专注工作;-9.定期整理;-8.要事第
- JS 根据数组对象属性值分类,把一个数组拆分为多个数组
前端里程
在工作中有时前台展示需求的不同要把后台的数组对象进行再分类。举个栗子:letarr=[{date:'2018-01-06',SW:'90.95',LL:'136',XXSW:'80.22',CKLL:'500'},{date:'2018-01-06',SW:'164.95',LL:'137',XXSW:'99.22',CKLL:'93'},{date:'2018-01-07',SW:'176.95
- 2018-01-06
戏精的坦诚
图片发自App不知道这几天是怎么熬过来的,也不知道自己什么时候回会崩溃,天天没完没了做实验会疯
- 2018-01-06
彭克军
坚信知组7彭克军家书2018-1-27日《昂首逆境》《学习要点》1.稻盛和夫老先生在征得董事会同意后,为了打破电子通信垄断市场,决定进军电子通信行业,尽管这被看作草率的冒险行为。2.尽管如此,我心里仍有疑虑,即存大型企业有胆量同电电公社正面交锋,为了降低长途话费而披肝沥胆吗?3.为了审视自己动机的真假善恶,每天晚上入睡前我都会扪心自问,是不是“动机至善私心了无”。是为了表现自己,“哗众取宠”吗?真
- 2018-01-06
罗聪_0270
善与恶“恶”就是违背自己的良心做事给无辜的人带来灾难。“善”就是要求人们不但不要做有损于他人利益的事,还要多做有利于他人及社会的事,不计报酬,不计名利.也就是说,做善人,要有善心,这样我们的社会才会更和谐,更温暖.我们不管在任何时候都要多做善事,善事有好报。正因为恶的存在我们才知道善的存在,正因为恶的存在我们才知道善的难能可贵,我们才拥有了对善的向往。
- 2018-01-06
waterfront
吹C14用了5分钟(常规1-3min),使出了吃奶的劲,还扭疼了腰。[捂脸]到老领导办公室玩没说几句话开始抽筋。先从左上肢开始然后双上肢嘴唇下肢,接着眼花头晕,喉咙无力呼吸,腹腔内痉挛。大约40min左右才好。肺活量低的人伤不起。高原估计严重缺氧地震先撤。最搞笑我就服你,吹气把自己吹倒了。图片发自App
- 2018-01-06
TYF_b294
下午闲来没事去湖边走走!本想着下雪湖边没有人,没想到湖边散步的人挺多。图片发自App一路上帮一家三口拍了照,在湖边拉了坐在地上的小朋友。图片发自App怀念小时候的雪!图片发自App图片发自App上传中,请稍候...
- 2018-01-06
王小沫的日记
今日完成1.今天背了一篇英语课文。先听写,因为比较简单,所以大部分都写对了,只有两个词没有听清,只因为对这个词组不熟悉。感觉这个方式还挺好的。2.做了一天的生物信息学实验。进展缓慢,数据可以读到了,但是要转化成标准格式。我现在在下载数据格式的模板,下载了一下午也没成功。不论用什么方法都超级慢,不知道是网速的原因,还是因为这个网站的原因。3.看了马原复习资料的前三章,做了三组选择题。选择题错误率在三
- 2018-01-06
没心没肺不太相信爱情的人
成了最后的倾诉的地方,朋友圈,空间,微博,熟人太多,很多事不愿意吗讲给他们听的。所以就留下这片地方吧。
- 2018-01-06
三景叔
匆匆那年,乔燃喜欢上了方茴,一朵丁香花,这个春天,我记住了,她会忘记吗?最好的朋友,路星河的56次求婚抵不过余淮的一句我来晚了。男主是让女主喜欢的,男配是让我们心疼的。剧本是让我们泪目,剧情那样。也曾爱过一个女孩,她叫晓,初一对美好事物的憧憬,她是那种爱笑的女孩,短发,
- 2018-01-06(7)AI欣赏式面谈
Sophie_zz
AI(Appreciativeinterview)即欣赏式面谈,是一对一深度对话,设计个人的高峰,珍视的事物以及赋予事业辉煌的意义。第一部分:探索欣赏什么是最好的,对于个人或者团队。找到对于个人和团队最重要的是什么。这个不是一开始就可以达到的。暖场非常重要,需要让大家放下彼此的防备,让自己和学员或者被教练者构建出良好和相互信任的关系。对于放下学员防备非常重要的过程,暖场和放下之间的戒备心理非常非常
- 2018-01-06
TA76喜凤儿
当今天义母问到我三个问题,1、是什么吸引你去参加年会?2、重要人物排序?3、你对别人贡献了什么?改变了同学什么?或者你重要同学对你有哪些贡献?让你收获了什么?有没有监督过你?当时脑子一片空白,答不上,因为确实没想这么深!其实同学们走三阶都特别忙,特别辛苦,我心里明白觉得和你们还是有距离的,所以有空就会看看你们的日志,想要和你们不要走隔太远!追不上被你们嫌弃忘记!之前李莹删了所有没有上三阶的同学,她
- 经验分享:python利用关键字做字典切片
zhyuli
python
Python中dataFrame或者Series类型可以使用标准方式按选定关键字对数据进行切片,但是字典类型就比较麻烦了,有没有比较简洁的方式完成呢?例如:字典按{日期:列表}方式构成,日期是Key,字典:buy‘2018-01-05’:[a1,a2,a3]‘2018-01-06’:[a3,a5,a6,a9]…‘2019-01-04’:[a1,a2,a6,a10]‘2019-01-05’:[a3,
- 萤火虫小巷
小飞鱼摆摆
书名:萤火虫小巷(FireflyLane)作者:[美]克莉丝汀·汉娜(KristinHannah)图片发自App摘录2018-01-06原文:被动等待别人帮你改变人生是行不通的。想法:TaketheInitiative.2018-01-06原文:为了让你知道你有无限可能。你这一代非常幸运,想成为什么样的人都没问题,但是你必须勇于尝试、主动出击,有个道理绝不会错:人生中只有没做过的事会让我们遗憾。”
- 2018-01-06
H_c0ac
其实不想离你们那们远,大概连自己都忘了小时的自己有多害怕离别。越长大越容易忘记,有多害怕自己一个人。是谁说人的一生都在回家的路上的,明明每个人都在离家的路上。
- 2018-01-06
被遗忘的时光小6
老大,我说的不是真正意义上的老大,而是在排列顺序上的老大。老大的位置是变化的,老大去了老二为大,它的位置为大责任和义务就很多。老大,在父母的眼里是可以托付重任的人,是弟弟、妹妹的主心骨和依靠,这是我们的祖宗立下的规矩。家里的老大很辛苦,特别是六、七十年代的老大,每天要帮助父母做很多事,难事、苦事老大去做,凡是出现差错老大都要承担责任,老大付出多,得到的少从来不图回报,在老大的心里觉得都是应该做的。
- PHP计算两个时间戳相差多少个月
微齐天大圣.
PHPphp
$strtotime=strtotime('2018-01-06');$y=date('Y',$strtotime);$ys=date('Y',time());$m=(int)date('m',$strtotime);$ms=(int)date('m',time());$chaY=$ys-$y;//月份相差多少$chaM=12-$m+$ms;//相差一年就加12$yearmeth=$chaM+((
- 2018-01-06
邱小雪
图片发自App2017年一月六号无事在宾馆梨城的雪还是没那么随意的来过昨晚飘过几丝灰尘他们都说是雪我默不作声有没有试过同时喜欢两个人当然是偷偷摸摸后来在顾及星星的时候月亮也走了一个人久了你就会怀疑起来是自己不正常了还是这世界真的不那么温柔了我不知道我只知道我很孤独楼下新开一家小面渝味的居然提供免费豆浆每次去都热腾腾的回家一样S今天找我说了四句话第一句问我过年啥时候回家我隔了许久回他一是我自己不知道
- 2018-01-06
听风雨1982
黎明总是从黑暗中一步步走来就像许多时候人们努力去忘却的恰恰是源于心底最深沉的怀念~图片发自App
- 2018-01-06
朶淇
2018开始启程,时隔多年,之前的朋友无论在哪,经常还会翻看我的就文章,然后一次次的问为什么现在都不写文字了,对文字的感觉,一直认为那是我心里最美的地方,里面有最美的感情。只是因为随着时间,发现很多东西都在变,而实在,自己内心并不是喜欢改变的人,喜怀旧,念过往,追求温暖宁静美好的事物。过去的时光里,从大学毕业后,奔波在几个城市中,而后婚后生子养育,这一系列的过程,和平常人一样,在适龄的年纪,完成了
- 2018-01-06
一只未央
1、涤生,涤,取涤其旧染之污;生,取明代袁之凡之言“从前种种,譬如昨日死;以后种种,譬如今日生也”2、内圣外王,相交以诚,与人为善,大度宽容,胸襟坦荡,不苟求于人。3、谨言:处处留心,是功夫第一。4、穆章阿向曾国藩索取应试诗赋,曾国藩随即回到往处誊清,亲自送往穆宅。这次拜访似乎成为曾国藩仕途的起点。从此后,几乎年年升迁,岁岁加衔。5、畏我远过于畏敌,才能达到孤立太平军的目的。曾剃头。6、发觉自己处
- 2018-01-06
徐鑫悦妈妈
1月5日星期五晴因为昨天下了一场大雪,所以道路上都是积雪给大家带来很多的不便。孩子们上学推迟了一些。早上起床后送孩子上学,家长们大多数都是步行,一路上都能看到家长们和孩子们小心翼翼地行走在湿滑的道路上。虽然这场大雪让我们出行不方便,但是它好像又让我们回到了过去低碳环保的时代。
- 2018-01-06
简简smile
有些时候,我们无法为每个孩子规定选择相同的人生路线,她们有着自己的航向,小鸟离巢,注定要远走高飞。两年前随手插在地上的爬山虎已经从一楼爬到三楼之上,日新有成,每一朵花都有盛开的花期,我们做的只需是等待,等待……喂,说你呢,蹲下身子,骨得着(方言音译),别动。
- 2018-01-06
一树繁花_649d
今夜,许下最美的愿文/一树繁花窗外小城的灯火相约亮起风中飘着雪晃然回到二十五年再也找不到当初那腔豪情壮志尤如找不到我青春的好友在年过半百之后无论好与不好请检视每一片雪!每一片雪花有我最美的愿
- 2018-01-06
Abbycby
今天午睡后,宝宝说想看小会电视,于是我提议看,看到其中一只瓢虫宝宝迷路后,我的宝宝立马带着哭腔说要找瓢虫爸爸妈妈,说了两句话后眼泪开始下滑。看来宝宝是入戏了,角色代入感很强!然后宝贝说不想看了,要看汽车总动员。事后我问他刚才为什么哭,他说看不到ladybird的爸爸妈妈,我想他们了。于是顺势问他,如果你迷路了怎么办呢?宝贝儿说找警察叔叔。我说如果找不到警察叔叔呢?宝宝说我就哭!确实,在那情况下,哭
- 2018-01-06
乾立风中
阅读不能改变人生的长度,但可以改变人生的宽度;阅读不能改变人生的起点,但可以改变人生的终点。让阅读成为一种习惯!读最好的书,做最好的自己!给
- 2018-01-06
空白格n
2018.01.05星期五雨天5°~7°时间真快,又是凌晨一点多。躺在床上没有睡意,脑子徘徊不定的事情最让人揪心。1.妈妈今天咳嗽严重了些,我心里有些担心害怕,因为这个化疗药用完后白细胞下降了,准备进入骨髓抑制期。已经第五疗程,为妈妈祷告2.工作状态集中不了,每每想认真点,可感觉脑子有点恍惚。因此想学点新知识也特费劲。3.今天脾气有点压不住。希望改变一下,能控制好自己的情绪。每天早上都是希望,因为
- 2018-01-06
Abbycby
数周没去森林公园了,昨天过去徒步,发现我喜欢的那片宁静给打破了,工人们在大兴土木,在一片片的草地上圈地围建类似于凉亭的建筑物。周边草木兴旺的观赏地,草和灌木全给铲除,望着干枯残留在地上的草,我仿佛听到一片哀嚎!看到这些,我高兴不起来,没觉得那些建筑会给公园带来多少美感,我只感觉人类再次更深度的侵略了大自然!在人类的面前,植物的生命是那么的轻贱!而我,除了伤感,依然无能为力!也罢,做好自己,养植好每
- 2018-01-06
无花果小姐
满地都是落叶呢好快一瞬间从夏天到了冬天呢和你相遇的情景仿佛就好像还在昨天那天下午的阳光很好心里满是假日的喜悦我打扮的美美的遇见了你我们好像又一周没有说话了呢从我说完要moveon开始心里有不舍却也有对未来更好生活的勇气还是很想你想和你在一起手牵手走在江边两个人都吃的鼓鼓囊囊的看看老爷爷老奶奶打起所有的精神跳广场舞我收集了很多很多有意思的小店告诉你想要和你一起去我对着你傻笑你把蛋糕的第一口喂给我吃那
- html
周华华
html
js
1,数组的排列
var arr=[1,4,234,43,52,];
for(var x=0;x<arr.length;x++){
for(var y=x-1;y<arr.length;y++){
if(arr[x]<arr[y]){
&
- 【Struts2 四】Struts2拦截器
bit1129
struts2拦截器
Struts2框架是基于拦截器实现的,可以对某个Action进行拦截,然后某些逻辑处理,拦截器相当于AOP里面的环绕通知,即在Action方法的执行之前和之后根据需要添加相应的逻辑。事实上,即使struts.xml没有任何关于拦截器的配置,Struts2也会为我们添加一组默认的拦截器,最常见的是,请求参数自动绑定到Action对应的字段上。
Struts2中自定义拦截器的步骤是:
- make:cc 命令未找到解决方法
daizj
linux命令未知make cc
安装rz sz程序时,报下面错误:
[root@slave2 src]# make posix
cc -O -DPOSIX -DMD=2 rz.c -o rz
make: cc:命令未找到
make: *** [posix] 错误 127
系统:centos 6.6
环境:虚拟机
错误原因:系统未安装gcc,这个是由于在安
- Oracle之Job应用
周凡杨
oracle job
最近写服务,服务上线后,需要写一个定时执行的SQL脚本,清理并更新数据库表里的数据,应用到了Oracle 的 Job的相关知识。在此总结一下。
一:查看相关job信息
1、相关视图
dba_jobs
all_jobs
user_jobs
dba_jobs_running 包含正在运行
- 多线程机制
朱辉辉33
多线程
转至http://blog.csdn.net/lj70024/archive/2010/04/06/5455790.aspx
程序、进程和线程:
程序是一段静态的代码,它是应用程序执行的蓝本。进程是程序的一次动态执行过程,它对应了从代码加载、执行至执行完毕的一个完整过程,这个过程也是进程本身从产生、发展至消亡的过程。线程是比进程更小的单位,一个进程执行过程中可以产生多个线程,每个线程有自身的
- web报表工具FineReport使用中遇到的常见报错及解决办法(一)
老A不折腾
web报表finereportjava报表报表工具
FineReport使用中遇到的常见报错及解决办法(一)
这里写点抛砖引玉,希望大家能把自己整理的问题及解决方法晾出来,Mark一下,利人利己。
出现问题先搜一下文档上有没有,再看看度娘有没有,再看看论坛有没有。有报错要看日志。下面简单罗列下常见的问题,大多文档上都有提到的。
1、address pool is full:
含义:地址池满,连接数超过并发数上
- mysql rpm安装后没有my.cnf
林鹤霄
没有my.cnf
Linux下用rpm包安装的MySQL是不会安装/etc/my.cnf文件的,
至于为什么没有这个文件而MySQL却也能正常启动和作用,在这儿有两个说法,
第一种说法,my.cnf只是MySQL启动时的一个参数文件,可以没有它,这时MySQL会用内置的默认参数启动,
第二种说法,MySQL在启动时自动使用/usr/share/mysql目录下的my-medium.cnf文件,这种说法仅限于r
- Kindle Fire HDX root并安装谷歌服务框架之后仍无法登陆谷歌账号的问题
aigo
root
原文:http://kindlefireforkid.com/how-to-setup-a-google-account-on-amazon-fire-tablet/
Step 4: Run ADB command from your PC
On the PC, you need install Amazon Fire ADB driver and instal
- javascript 中var提升的典型实例
alxw4616
JavaScript
// 刚刚在书上看到的一个小问题,很有意思.大家一起思考下吧
myname = 'global';
var fn = function () {
console.log(myname); // undefined
var myname = 'local';
console.log(myname); // local
};
fn()
// 上述代码实际上等同于以下代码
m
- 定时器和获取时间的使用
百合不是茶
时间的转换定时器
定时器:定时创建任务在游戏设计的时候用的比较多
Timer();定时器
TImerTask();Timer的子类 由 Timer 安排为一次执行或重复执行的任务。
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定
- JDK1.5 Queue
bijian1013
javathreadjava多线程Queue
JDK1.5 Queue
LinkedList:
LinkedList不是同步的。如果多个线程同时访问列表,而其中至少一个线程从结构上修改了该列表,则它必须 保持外部同步。(结构修改指添加或删除一个或多个元素的任何操作;仅设置元素的值不是结构修改。)这一般通过对自然封装该列表的对象进行同步操作来完成。如果不存在这样的对象,则应该使用 Collections.synchronizedList 方
- http认证原理和https
bijian1013
httphttps
一.基础介绍
在URL前加https://前缀表明是用SSL加密的。 你的电脑与服务器之间收发的信息传输将更加安全。
Web服务器启用SSL需要获得一个服务器证书并将该证书与要使用SSL的服务器绑定。
http和https使用的是完全不同的连接方式,用的端口也不一样,前者是80,后
- 【Java范型五】范型继承
bit1129
java
定义如下一个抽象的范型类,其中定义了两个范型参数,T1,T2
package com.tom.lang.generics;
public abstract class SuperGenerics<T1, T2> {
private T1 t1;
private T2 t2;
public abstract void doIt(T
- 【Nginx六】nginx.conf常用指令(Directive)
bit1129
Directive
1. worker_processes 8;
表示Nginx将启动8个工作者进程,通过ps -ef|grep nginx,会发现有8个Nginx Worker Process在运行
nobody 53879 118449 0 Apr22 ? 00:26:15 nginx: worker process
- lua 遍历Header头部
ronin47
lua header 遍历
local headers = ngx.req.get_headers()
ngx.say("headers begin", "<br/>")
ngx.say("Host : ", he
- java-32.通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小(两数组的差最小)。
bylijinnan
java
import java.util.Arrays;
public class MinSumASumB {
/**
* Q32.有两个序列a,b,大小都为n,序列元素的值任意整数,无序.
*
* 要求:通过交换a,b中的元素,使[序列a元素的和]与[序列b元素的和]之间的差最小。
* 例如:
* int[] a = {100,99,98,1,2,3
- redis
开窍的石头
redis
在redis的redis.conf配置文件中找到# requirepass foobared
把它替换成requirepass 12356789 后边的12356789就是你的密码
打开redis客户端输入config get requirepass
返回
redis 127.0.0.1:6379> config get requirepass
1) "require
- [JAVA图像与图形]现有的GPU架构支持JAVA语言吗?
comsci
java语言
无论是opengl还是cuda,都是建立在C语言体系架构基础上的,在未来,图像图形处理业务快速发展,相关领域市场不断扩大的情况下,我们JAVA语言系统怎么从这么庞大,且还在不断扩大的市场上分到一块蛋糕,是值得每个JAVAER认真思考和行动的事情
- 安装ubuntu14.04登录后花屏了怎么办
cuiyadll
ubuntu
这个情况,一般属于显卡驱动问题。
可以先尝试安装显卡的官方闭源驱动。
按键盘三个键:CTRL + ALT + F1
进入终端,输入用户名和密码登录终端:
安装amd的显卡驱动
sudo
apt-get
install
fglrx
安装nvidia显卡驱动
sudo
ap
- SSL 与 数字证书 的基本概念和工作原理
darrenzhu
加密ssl证书密钥签名
SSL 与 数字证书 的基本概念和工作原理
http://www.linuxde.net/2012/03/8301.html
SSL握手协议的目的是或最终结果是让客户端和服务器拥有一个共同的密钥,握手协议本身是基于非对称加密机制的,之后就使用共同的密钥基于对称加密机制进行信息交换。
http://www.ibm.com/developerworks/cn/webspher
- Ubuntu设置ip的步骤
dcj3sjt126com
ubuntu
在单位的一台机器完全装了Ubuntu Server,但回家只能在XP上VM一个,装的时候网卡是DHCP的,用ifconfig查了一下ip是192.168.92.128,可以ping通。
转载不是错:
Ubuntu命令行修改网络配置方法
/etc/network/interfaces打开后里面可设置DHCP或手动设置静态ip。前面auto eth0,让网卡开机自动挂载.
1. 以D
- php包管理工具推荐
dcj3sjt126com
PHPComposer
http://www.phpcomposer.com/
Composer是 PHP 用来管理依赖(dependency)关系的工具。你可以在自己的项目中声明所依赖的外部工具库(libraries),Composer 会帮你安装这些依赖的库文件。
中文文档
入门指南
下载
安装包列表
Composer 中国镜像
- Gson使用四(TypeAdapter)
eksliang
jsongsonGson自定义转换器gsonTypeAdapter
转载请出自出处:http://eksliang.iteye.com/blog/2175595 一.概述
Gson的TypeAapter可以理解成自定义序列化和返序列化 二、应用场景举例
例如我们通常去注册时(那些外国网站),会让我们输入firstName,lastName,但是转到我们都
- JQM控件之Navbar和Tabs
gundumw100
htmlxmlcss
在JQM中使用导航栏Navbar是简单的。
只需要将data-role="navbar"赋给div即可:
<div data-role="navbar">
<ul>
<li><a href="#" class="ui-btn-active&qu
- 利用归并排序算法对大文件进行排序
iwindyforest
java归并排序大文件分治法Merge sort
归并排序算法介绍,请参照Wikipeida
zh.wikipedia.org/wiki/%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F
基本思想:
大文件分割成行数相等的两个子文件,递归(归并排序)两个子文件,直到递归到分割成的子文件低于限制行数
低于限制行数的子文件直接排序
两个排序好的子文件归并到父文件
直到最后所有排序好的父文件归并到输入
- iOS UIWebView URL拦截
啸笑天
UIWebView
本文译者:candeladiao,原文:URL filtering for UIWebView on the iPhone说明:译者在做app开发时,因为页面的javascript文件比较大导致加载速度很慢,所以想把javascript文件打包在app里,当UIWebView需要加载该脚本时就从app本地读取,但UIWebView并不支持加载本地资源。最后从下文中找到了解决方法,第一次翻译,难免有
- 索引的碎片整理SQL语句
macroli
sql
SET NOCOUNT ON
DECLARE @tablename VARCHAR (128)
DECLARE @execstr VARCHAR (255)
DECLARE @objectid INT
DECLARE @indexid INT
DECLARE @frag DECIMAL
DECLARE @maxfrag DECIMAL
--设置最大允许的碎片数量,超过则对索引进行碎片
- Angularjs同步操作http请求with $promise
qiaolevip
每天进步一点点学习永无止境AngularJS纵观千象
// Define a factory
app.factory('profilePromise', ['$q', 'AccountService', function($q, AccountService) {
var deferred = $q.defer();
AccountService.getProfile().then(function(res) {
- hibernate联合查询问题
sxj19881213
sqlHibernateHQL联合查询
最近在用hibernate做项目,遇到了联合查询的问题,以及联合查询中的N+1问题。
针对无外键关联的联合查询,我做了HQL和SQL的实验,希望能帮助到大家。(我使用的版本是hibernate3.3.2)
1 几个常识:
(1)hql中的几种join查询,只有在外键关联、并且作了相应配置时才能使用。
(2)hql的默认查询策略,在进行联合查询时,会产
- struts2.xml
wuai
struts
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache