code: private void makeReadWrite(final Session session)
  	{
  		session.doWork(SetJDBCConnectionReadOnlyWork.READ_WRITE);
  		session.setHibernateFlushMode(FlushMode.AUTO);
  	}
docs: Make the {@link java.sql.Connection} underlying this {@link Session} read/write
  
  @param session