原创 Sequences

Sequences         A sequence is a schema object from which multiple users can generate unique integers. A sequence gene

原创 Index Scans

Index Scans        In an index scan, the database retrieves a row by traversing the index, using the indexed column val

原创 Spring bean 註解方式注入

對於Spring bean 註解裝配 目前已經有大量的文章包括文檔,現總結一下。 1. 在applicationContext中引入命名空間         對於命名空間,可以在eclipse中安裝Spring IDE 插件,打開配置

原创 Oracle Database Locking Mechanism

       A lock is a mechanism that prevents destructive interactions, which are interactions that incorrectly update dat

原创 The "Double-Checked Locking is Broken" Declaration

英文費勁的看這個,http://wenku.baidu.com/view/e6156bcc05087632311212a1.html Signed by: David Bacon (IBM Research) Joshua Blo

原创 Object-Relational Structural Patterns

Single Table Inheritance Represents an inheritance hierarchy of classes as a single table that has columns for all the

原创 Pessimistic locking----PoEAA

Benefits and drawbacks     Pessimistic locking has several advantages:         ■ Unlike optimistic locking, pessimis

原创 DDD Reference

原创 Optimistic locking---PoEAA

Benefits and drawbacks     Optimistic locking has a couple of advantages:            ■ It is easy to implement in a

原创 Oracle數據建模器---data modeler 簡介

          目前以下幾個功能可以提高工作當中的數據庫開發效率,以及可以利用此工具理解現有數據的關係。其他功能未做深入調研。 1、根據數據字典生成關係模型。 2、關係模型與邏輯模型的相互轉化。 3、通過設計邏輯模型轉化爲關

原创 SpringMVC 集成 Bean Validation

Bean Validation是一套標準規範,JSR 303 ,而在Spring中提供了一套自己的Validation接口與實現,不要搞混。 1、Spring自己提供的 例子 org.springframework.validation.

原创 RAD 極速應用開發 Spring ROO 入門例子

官網                                      http://projects.spring.io/spring-roo/ Spring ROO in action        http://www.k

原创 Scala 方法定義及控制語法

scala> def max(a: Int, b: Int) = if(a > b) a else b max: (a: Int,b: Int)Int scala> max(5, 4) res8: Int = 5 scala> ma

原创 Tablespaces

        A tablespace is a logical storage container for segments. Segments are database objects, such as tables and ind

原创 Scala 類型

val 不可變 var 可變 val x:int = 1 val x = 1 scala> val decimal = 11235L decimal: Long = 11235 scala> val hexa = 0x23 hexa: