自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

度窝-笔记

路遥知马力,走心生活

  • 博客(5)
  • 收藏
  • 关注

原创 一对多hibernate 添加数据(二)

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN""http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"><!-- Mapping file autogenerated by MyEclipse Persiste

2014-10-15 19:15:39 629

转载 一对多··Hibernate添加数据方式(一)

[quote=引用 10 楼 u010054969 的回复:]设置inverse=”true”,由多的一段来来维护关系表以Student(学生)和Class(班级)为例,它们之间的关系为一对多的关系,即一个学生只能属于一个班级,一个班级可以包含多个学生[code=java] 学生类定义代码:Class Student{  private int id; 

2014-10-15 19:14:20 585

原创 对接口的深刻理解

[main] DEBUG org.springframework.context.support.FileSystemXmlApplicationContext - Publishing event in org.springframework.context.support.FileSystemXmlApplicationContext@35960f05: org.springframework

2014-10-07 01:32:39 628

原创 使用DAO时发生空指针错误

2014-10-6 17:38:26 dao.daoImpl.CustomerDAO save严重: save failedjava.lang.NullPointerExceptionat dao.daoImpl.CustomerDAO.save(CustomerDAO.java:51)at test.CustomerDAOtest.testSave(CustomerDAOtest

2014-10-06 17:44:32 2473

原创 SQL语句错误

MySQL Error Nr.1064-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null,   mypassword       varchar      

2014-10-06 12:40:53 535

空空如也

空空如也

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

TA关注的人

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