自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 C++ -- dynamic_cast

class Widget { };class SpecialWidget: public Widget { };void update(SpecialWidget *psw);int main(){    Widget *pw = new SpecialWidget;    update(dynamic_castSpecialWidget*>(pw));                    

2007-09-05 14:24:00 430

原创 Java persistence with hibernate concept 5 -- Class mapping options

-------------------------------------------------------------------------------------------------------------Class mapping optionsIf you check the and elements in the DTD (or thereference docume

2007-08-27 13:20:00 542

原创 Java persistence with hibernate concept 4 -- Database primary keys

-----------------------------------------------------------------------------------------------------------Database primary keys Selecting a primary keyThe candidate key is a column or set of co

2007-08-27 13:11:00 449

原创 Java persistence with hibernate concept 3 -- Mapping entities with identity

----------------------------------------------------------------------------------------------------------------Understanding Java identity and equality:Along with Java identity (memory location

2007-08-27 11:33:00 547

原创 Java persistence with hibernate concept 2 -- Entity type , Value type

We advocate a design with more classes than tables: One row represents multiple instances. Because database identity is implemented by primary key value, some persistent objects won’t have their own i

2007-08-27 10:52:00 450

原创 oracle tip 1 -- rownum, row_number()

what if you wanted to get the “top” rows from an ordered result set? You would think the following query would work: SELECT ROWNUM, ENAME, SAL FROM SCOTT.EMP WHERE ROWNUM  6 ORDER BY SAL DESC;

2007-08-23 09:54:00 474

原创 Java Persistence with Hibernate concept 1 -- automatic dirty checking, cascading save. transactional write-behind

// Third unit of workSession thirdSession =HibernateUtil.getSessionFactory().openSession();Transaction thirdTransaction = thirdSession.beginTransaction();// msgId holds the identifier value of the f

2007-08-22 09:25:00 727

HTML.5.24.Hour.Trainer.chm

HTML.5.24.Hour.Trainer.chmHTML.5.24.Hour.Trainer.chmHTML.5.24.Hour.Trainer.chmHTML.5.24.Hour.Trainer.chmHTML.5.24.Hour.Trainer.chm

2011-05-17

空空如也

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

TA关注的人

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