fix hibernate cache issue when print pdf file