Hibernate 3 - Transaction & Concurrency

JDBC Connection Handling Questions in this category test if :
  • You know how to handle database connection (ConnectionProvider, ConnectionProviderFactory, hibernate.connection.provider_class property)
  • You know connection related properties, possible values and their meaning.
    • how to provide a custom connection using hibernate.connection.provider_class
    • how to change default isolation level with hibernate.connection.isolation
    • how to change autocommit mode with hibernate.connection.autocommit
    • how to specify when Hibernate should release JDBC connections with hibernate.connection.release_mode
Optimistic Locking Questions in this category test if :
  • you understand optimistic locking mechanism
  • you know how to implement versioning (both number and timestamp based) in mapping files and Java classes
  • you understand SQL generated by hibernate to achieve optimistic locking
  • you understand first level cache / dirty checking interaction with optimistic locking
Pessimistic Locking Strategy Questions in this category test if :
  • you understand pessimistic locking mechanism
  • you can Differentiate LockModes and their meaning
  • you know the different ways (APIs) to get a pessimistic lock on entity
  • you know when the lock is released
  • you can detect code that causes deadlocks
TransactionFactory & TransactionManagerLookup Questions in this category test if :
  • you know how to configure TransactionFactory
  • you know what "out of the box" transaction factories are
  • you know how threads and sessions interact

你可能感兴趣的:(sql,Hibernate,jdbc,cache)