public static void deinitialize ( ) { SqlClosure . setDefaultDataSource ( null ) ; TransactionElf . setUserTransaction ( null ) ; TransactionElf . setTransactionManager ( null ) ; }
You can reset SansOrm to a fresh state if desired . E . g . if you want to call another initializeXXX method .