modify methods of Db4oTemplate and gen default setting