问题1:异常:in expected: (possibly an invalid or unmapped class name was used in the query) [from Customer]解决方案:查看HQL语句查询的是否是实体类,映射文件属性是否正确:复制到输出目录à始终复制 。....
分类:
系统相关 时间:
2014-06-27 20:57:29
阅读次数:
606
题目:Tuhao and his two small partners participated in the tournament.But in the end, they lost the chance to finish a mathematical problem.After the com...
分类:
其他好文 时间:
2014-06-25 18:07:35
阅读次数:
333
I experienced this error while trying to alter one of my stored procedures remotely on a master server. After some research, I ended up getting inform...
分类:
数据库 时间:
2014-06-25 15:34:33
阅读次数:
471
Well , you know. As a college student who want to find a good job after graduating like me , scores are not that important. I just want to have some low scores which can help me graduate successfully...
分类:
其他好文 时间:
2014-06-25 09:59:37
阅读次数:
202
/**
* Method 1: Delete the input element x
* and meanwhile keep the length of array after deleted n
* @param a the array
* @param n the length of array after deleted.
* @param x the element t...
分类:
其他好文 时间:
2014-06-25 08:27:27
阅读次数:
171
【题目】
Given a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.
A region is captured by flipping all 'O's into 'X's in that surrounded region.
For example,
X X X X
X O O X
X X O X
X O X X
After running your function, the board shou...
分类:
其他好文 时间:
2014-06-25 08:02:30
阅读次数:
205
我们在开发注册界面的时候,最后几个注册条件常常容易被系统弹出的键盘遮挡,如下图:
可以看见,邮箱条件被遮挡掉了,怎么解决呢?我是通过UITextField的代理加计算偏移量:
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, ty...
分类:
移动开发 时间:
2014-06-25 07:28:37
阅读次数:
232
If you feel like crying you shouldn’t hold back your tears. You should let it all out while you still can, because when you get bigger sometimes you ....
分类:
其他好文 时间:
2014-06-24 14:53:38
阅读次数:
255
Erlang消息接收函数,一般都会设计成尾递归调用自己的模式。但是这样的模式,如果没有消息则会无限的等待下去,所以为了不无限等待,这里可以加个超时设定,例如:flush() -> receive _ -> flush() after 1000 -> ok ...
分类:
其他好文 时间:
2014-06-24 11:02:14
阅读次数:
213
今天做一个Android的刮刮乐项目,里面用到很多的地方用到了getResources。
// 获得图片
//参数1:res是资源的引用,参数2:id是图片的id
after = BitmapFactory.decodeResource(getResources(), R.drawable.b);
before = BitmapFactory.decodeResource(get...
分类:
移动开发 时间:
2014-06-22 22:15:06
阅读次数:
278