码迷,mamicode.com
首页 >  
搜索关键字:person    ( 6232个结果
Could not synchronize database state with session问题,说保存空
Could not synchronize database state with session问题,说保存空,可以在post.hbm.xml文件里设置inverse="true",这样就可以完美的解决这个问题,主要是person_post里的post为联合主键,它不能为空
分类:数据库   时间:2014-08-25 14:53:34    阅读次数:291
cheap ghd straighteners to ladies with shorter hair tar
A person decide cheap ghd straighteners to ladies with shorter hair tar and feather me for stating my Belief on this matter, Ok, i'll offer a catch: A...
分类:其他好文   时间:2014-08-25 14:45:44    阅读次数:249
oracle 通过查询灵活插入数据 insert into ...select..
insert into reg_user (id,name,password,area_code,reg_time,first_pswd,record_type) select l.reg_user_id,l.entry_person,'4QrcOUm6Wau+VuBX8g+IPg==',l.area_code,sysdate,'123456',l.type from lo...
分类:数据库   时间:2014-08-25 13:27:04    阅读次数:248
Hibernate之SchemaExport+配置文件生成表结构
首先要生成表,得先有实体类,以Person.java为例:/** * * @author Administrator * @hibernate.class table="T_Person" */public class Person { /** * @hibernate.id...
分类:系统相关   时间:2014-08-25 11:21:44    阅读次数:242
List集合详解
================================Person.csusingSystem; usingSystem.Collections.Generic; usingSystem.Linq; usingSystem.Text; usingSystem.Threading.Tasks; usingSystem.Collections; namespaceConsoleApplication2 { publicclassPerson:IComparable<Person>,IForm..
分类:其他好文   时间:2014-08-25 02:20:54    阅读次数:197
js面向对象-继承
定义父类// 原型模式与构造函数组合function Person(name,age,job) { // 构造函数模式定义实例属性 this.name = name; this.age = age; this.job = job;}Person.prototype = { //原型模式定义方法和共享...
分类:Web程序   时间:2014-08-24 17:57:52    阅读次数:123
11.7 马戏团叠罗汉
思路:定义好Person的数据结构,按照身高和体重排好序。solutions[i]代表以person[i]结尾的能够叠起的最多人的解。solutions[0]初始化,然后求从1~n的情况。import java.util.ArrayList;import java.util.Collections;...
分类:其他好文   时间:2014-08-24 16:37:32    阅读次数:241
条款42: 明智地使用私有继承
第一个规则是,和公有继承相反,如果两个类之间的继承关系为私有,编译器一般不会将派生类对象(如Student)转换成基类对象(如Person)第二个规则是,从私有基类继承而来的成员都成为了派生类的私有成员,即使它们在基类中是保护或公有成员,即派生类对象不能访问基类的所有成员class person{}...
分类:其他好文   时间:2014-08-24 14:07:32    阅读次数:126
Ext JS学习第七天 Ext自定义类,继承(二)
此文来记录学习笔记一个简单ext继承的栗子Ext.onReady(function () {Ext.define('Person',{ config:{ name:'z3' } , constructor:function(config){ var me...
分类:Web程序   时间:2014-08-24 00:15:01    阅读次数:227
GO的MAP字典简单用法示例
package mainimport "fmt"type PersonInfo struct { ID string Name string Address string}func main() { var personDB map[string]Person...
分类:其他好文   时间:2014-08-21 14:51:34    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!