Chinaunix首页 | 论坛 | 博客
  • 博客访问: 40116
  • 博文数量: 18
  • 博客积分: 366
  • 博客等级: 一等列兵
  • 技术积分: 200
  • 用 户 组: 普通用户
  • 注册时间: 2012-09-26 10:41
文章分类

全部博文(18)

文章存档

2013年(3)

2012年(15)

我的朋友

发布时间:2012-12-17 20:07:13

在javascript 中没有能够返回特定类型名的函数 如一个对象 console.log(obj);得到的是[object HtmlTableCellElement] 如果想要一个函数能够返回HtmlTableCellElement js中默认没有这样的函数 可以自己实现一个下面是我实现的一个可作参考: 点击(此处)折叠或打开var getObjectClass = function (obj) {            if (obj && ob......【阅读全文】

阅读(4360) | 评论(0) | 转发(0)

发布时间:2012-12-12 15:18:15

@javax.persistence.TableGenerator(    name="my_table_gen",//table生成器本身的名字    table="gen_table",//生成器产生的表的名字    pkColumnName = "pk_key", //表中的主键的字段名 Name of the primary key column in the table.    valueColumnName = "pk_value",    pkColumnVa......【阅读全文】

阅读(386) | 评论(0) | 转发(0)

发布时间:2012-12-10 20:09:25

hibernate 联合主键出现的问题?Exception in thread "main" org.hibernate.id.IdentifierGenerationException: null id generated for:class com.example.hibernate.model.Teacher原因: NULL 不能作为数据库Teacher表达的主键 猜测可能是由于在测试时没有插入主键数据解决: 检查程序 发现程序果然没有插入联合主键的数据 ?插入联合主键数据后重新运行程序后正常。......【阅读全文】

阅读(1179) | 评论(0) | 转发(0)

发布时间:2012-12-08 10:12:35

Junit4 and hamcrest......【阅读全文】

阅读(220) | 评论(0) | 转发(0)

发布时间:2012-12-05 16:10:32

jquery $.get() 读取xml文档......【阅读全文】

阅读(680) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

py超级菜鸟2013-03-10 23:26

Within a character list, a "range expression" consists of two
characters separated by a hyphen.  It matches any single character that
sorts between the two characters, using the locale's collating sequence
and character set.  For example, in the default C locale, `[a-dx-z]' is
equivalent to `[abcdxyz]'.  Many locales sort characters in dictionary
order, and in these locales, `[a-dx-z]' is typically not equivalent to
`[abcdxyz]'; instead it might be equivalent to `[aBbCcDdxXyYz]', for
example.  To obtain the traditional interpretation of bracket
expressions, you can use the C locale by setting the `LC_ALL'
environment variable to the value `C'.

回复  |  举报
留言热议
请登录后留言。

登录 注册