自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (4)
  • 收藏
  • 关注

原创 MYSQL 的 MyISAM 和 InnoDB 的困惑

今天用JPA生成数据表,虽然在Entity上已经配置好了一对多和多对一的关系,总是奇怪不能生成外键索引。后来发现是MySQL的 storage engine 的问题。默认的MyISAM是不支持外键的。只有改成 InnoDB才支持外键修改方法,找到 my.ini(在Linux中是my.cnf) 在里面添加或修改(如果有的话)default-storage-engine = Inn

2010-05-25 18:15:00 862

MYSQL 的 MyISAM 和 InnoDB 的困惑

今天用JPA生成数据表,虽然在Entity上已经配置好了一对多和多对一的关系,总是奇怪不能生成外键索引。 后来发现是MySQL的 storage engine 的问题。 默认的MyISAM是不支持外键的。 只有改成 InnoDB才支持外键 修改方法,找到 my.ini(在Linux中是my.cnf)在里面添加或修改(如果有的话) default-storage-engine = Inno...

2010-05-25 18:15:00 118

Struts2 Design And Programming

Overview Offering both theoretical explanations and real-world applications, this in-depth guide covers the 2.0 version of Struts, revealing how to design, build, and improve Java-based Web applications within the Struts development framework. Feature functionality is explained in detail to help programmers choose the most appropriate feature to accomplish their objectives, while other chapters are devoted to file uploading, paging, and object caching.

2009-05-17

XML Generation By Java

Different way to generate xml. DOM, SAX, JAXP

2009-05-17

JUnit Recipes

As Test-Driven Development practitioners, we have a tendency to write about JUnit exclusively as a tool for writing Object Tests. Because much of the JUnit community intersects with the TDD community, this seems like a reasonable thing to do; however, you may not be a TDD practitioner. Your current project may use JUnit, but only to write tests for existing code or to write tests at a higher-level view of the system than its objects. We would hate to leave you out of the conversation, as JUnit is certainly suitable for writing other kinds of tests.

2008-11-27

远程镜像与备份SVN 服务器

远程镜像与备份SVN 服务器 此文讲述SVN 如何镜像服务器,注意是单向镜像。众所周知,SVN 有自已的镜像命令

2008-11-27

空空如也

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

TA关注的人

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