码迷,mamicode.com
首页 >  
搜索关键字:hibernate sequence    ( 17951个结果
strtok函数的使用与实现
一个用来分割字符串的函数: strtok char * strtok ( char * str, const char * delimiters ); Split string into tokens A sequence of calls to this function split str into tokens, which are sequences of co...
分类:其他好文   时间:2014-05-07 16:18:12    阅读次数:273
Gray Code
The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative integer n representing the total number of bits in the code, print the sequence of gr...
分类:其他好文   时间:2014-05-07 06:10:17    阅读次数:370
菜鸟学SSH(十一)——Hibernate之SchemaExport+配置文件生成表结构
今天说点基础的东西,说说如何通过SchemaExport跟Hibernate的配置文件生成表结构。其实方法非常简单,只需要两个配置文件,两个Java类就可以完成。 首先要生成表,得先有实体类,以Person.java为例: /** * * @author Administrator * @hibernate.class table="T_Person" */ public...
分类:系统相关   时间:2014-05-07 05:30:24    阅读次数:358
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)类型错误...
分类:数据库   时间:2014-05-07 05:15:51    阅读次数:332
HDU 1711 Number Sequence(算法验证)
请不要随便指点别人该怎么做、每个人的人生都应该自己掌握、你给不了别人一切、你也不懂别人的忧伤、                                                                                                  微笑不代表快乐、哭泣不一定悲伤                不努力怎么让那些关心你的人幸福、不努...
分类:其他好文   时间:2014-05-07 05:02:04    阅读次数:263
Hibernate复习(一)ORM
Hibernate复习一ORM...
分类:系统相关   时间:2014-05-07 04:44:05    阅读次数:362
ProjectEuler_P12
Problem:The sequence of triangle numbers is generated by adding the natural numbers. So the 7thtriangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28...
分类:其他好文   时间:2014-05-07 00:28:01    阅读次数:365
Hibernate 错误解决(TransactionException: Transaction not successfully started)
【关键的错误信息】: TransactionException: Transaction not successfully started 和一个 doCommit 从该关键字看,是使用Hibernate事务管理器(而不是Spring,下面详细log的绿色字体)处理事务的commit时抛出的, 【具体解决】:       //下面的代码段会报错 Session sessio...
分类:系统相关   时间:2014-05-06 22:44:10    阅读次数:628
【SSH2(理论+实践)】--图说Struts2的运行
Struts2的使用相较Hibernate来说简单的很,它的基本内容很少,核心也采用的是Webwork,所以在使用时只需要读WebWork了解清楚就可以很快上手开发,它的映射机制也很简单,下篇文章使用Struts2来做一个文件上传和下载的例子。...
分类:其他好文   时间:2014-05-06 22:28:04    阅读次数:433
struts2 hibernate 在jsp页面上面显示多个图片
最近需要在一个jsp页面上面遍历出多个图片,平时做的比较多的是stringinteger等类型的遍历,图片是二进制的与原来常用的类型有很大的不同。BBFSeal.javapublicclassBBFSeal{privateBlobcontent;privateStringid;privateStringname;privateBBFUseruser;privateBlobp_w_picpathSe..
分类:Web程序   时间:2014-05-06 17:51:09    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!