... depending on the context as in (5) In the WYSINNWYG approach, words are allowed to have their "meanings" vary in context In other words, the literal meaning(s) coded in the lexicon is/are the "closest" ... the (financial-institution OR river-shore), whatever this object might be!, instead of a) going to the financialinstitution OR b) going to the river-shore...
Ngày tải lên: 08/03/2014, 06:20
... identifier 14 0 Introducing HQL 14 1 Query by criteria 14 2 Query by example 14 3 Fetching strategies 14 3 Selecting a fetching strategy in mappings 14 6 Tuning object retrieval 15 1 ■ ■ ■ ■ 4.5 Summary 15 2 ... 3.8 Summary 11 2 Working with persistent objects 4 .1 114 The persistence lifecycle 11 5 Transient objects 11 6 Persistent objects 11 7 Detached objects 11 8 The scope...
Ngày tải lên: 06/08/2014, 02:20
manning Hibernate in Action phần 2 ppsx
... Note that Hibernate 2. 0
Ngày tải lên: 06/08/2014, 02:20
manning Hibernate in Action phần 3 pot
... tion elements in our mapping files This approach is time-consuming and easily forgotten Instead, we can implement Hibernate s NamingStrategy interface, as in listing 3. 5 Listing 3. 5 NamingStrategy ... CATEGORY table in the database To that, we use the XML mapping document in listing 3. 4 Listing 3. 4 Hibernate XML mapping of the Category class
Ngày tải lên: 06/08/2014, 02:20
manning Hibernate in Action phần 4 potx
... version="1.0"?> ... foreign key pointing to the table of that subclass In Hibernate, we use the element to indicate a table-per-subclass mapping (see listing 3.9) Listing 3.9 Hibernate ... String username : String billing street : String password : String home zipCode : String city : String email : String Figure 3.5 Relationships between User and Address using composition ranking
Ngày tải lên: 06/08/2014, 02:20
manning Hibernate in Action phần 5 pps
... you’re optimizing the default fetching strategies in your application A wrinkle in Hibernate s mapping format means that collection mappings func tion slightly differently than single-point associations; ... Understanding database transactions 157 You may already have experience with two transaction-handling programming interfaces: the JDBC API and the JTA 5. 1.1 JDBC and JTA transacti...
Ngày tải lên: 06/08/2014, 02:20
manning Hibernate in Action phần 6 potx
... mapping types, and string is the name of a built -in Hiber nate mapping type The string mapping type isn’t the only one built into Hibernate; Hibernate comes with various mapping types that define ... achieved using shared read locks and exclusive write locks Reading transactions block writing transactions (but not other reading transactions), and writing transactions block all other tra...
Ngày tải lên: 06/08/2014, 02:20