自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

转载 hibernate中Restrictions的用法

Expression是底层的,能够支持嵌套查询。 Restrictions是已实现的基础的查询方式,一般用这个得多。

2014-05-20 09:39:30 1060

原创 hibernate.TypeMismatchException: Provided id of the wrong type for class

2014-08-14 15:27:46 ERROR org.apache.struts2.dispatcher.Dispatcher:38 - Exception occurred during processing request: Provided id of the wrong type for class com.yun.entity.fm.Account. Expected: class

2014-08-14 15:32:33 6069

转载 mysql各种复制表结构

1、复制表结构及数据到新表 CREATE TABLE 新表SELECT * FROM 旧表 这种方法会将oldtable中所有的内容都拷贝过来,当然我们可以用delete from newtable;来删除。 不过这种方法的一个最不好的地方就是新表中没有了旧表的primary key、Extra(auto_increment)等属性。需要自己用"alter"添加,而且容易

2014-07-18 10:11:06 447

原创 ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at o

2014-07-17 08:55:42 556

原创 Field 'id' doesn't have a default value

2014-06-10 17:19:03 ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper:146 - Field 'id' doesn't have a default value 2014-06-10 17:19:10 ERROR org.apache.struts2.dispatcher.Dispatcher:38 - Excepti

2014-07-17 08:51:34 2398

原创 The given object has a null identifier:

2014-06-07 16:14:03 ERROR org.apache.struts2.dispatcher.Dispatcher:38 - Exception occurred during processing request: The given object has a null identifier: com.qt.entity.UserTopic org.hibernate.Tran

2014-07-17 08:49:21 1998

转载 s:property的用法

1,访问Action值栈中的普通属性: 2,访问Action值栈中的对象属性(要有get set方法): 3,访问值栈中对象属性的方法 4,访问值栈中action的普通方法: 5,访问静态方法: 6,访问静态属性: 配置属性文件,允许ognl访问静态方法struts.ognl.allow...=true 7,访问Math类的静态方法: 8,访问普通类

2014-06-12 16:44:58 435

转载 struts2标签

要在jsp中使用Struts2的标志,先要指明标志的引入。通过jsp的代码的顶部加入以下的代码: taglib prefix="s" uri="/struts-tags"%>   If elseif  else 描述: 执行基本的条件流转。 参数: 名称 必需 默认 类型 描述 备注 test

2014-05-26 17:15:37 597

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除