setter « Load « JPA Q&A

1. I dont want setter update database after load!!!

Actually, I am using jta . so I dont handle transaction management in my code. But I tried session.close() , session.evict(CreditCard) , session.clear() before set , but none of them worked. Right now I tried session.setFlushMode(FlushMode.NEVER) and COMMIT as you said, but didnt work also. I tried false in my jboss-service.xml. It didnt work also.