-
Easier team management and division of labor -
Modern large-scale system design -
Support the persistence, mapping and convenient addition, deletion, modification and query of objects like hibernate -
Support complex database operation and optimization involving dba in sql design like ibatis -
Support a large number of databases and separation of master and slave -
Support horizontal distribution of data tables in multiple groups of machines (Shard) -
Component based service (SOA), building enterprise basic service platform -
Support configuration management server to manage the configuration of all applications uniformly
TransactionManager tm = guzzContext.getTransactionManager() ; ReadonlyTranSession session = getTransactionManager().openDelayReadTran() ; try{ SearchExpression se = SearchExpression.forClass(SystemLog.class) ; se.and(Terms.eq("categoryId", 18)) ; se.setOrderBy("importance desc, id asc") ; return session.list(se) ; }finally{ session.close() ; }