- 博客(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
2011-05-17
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人