0

Need I care about hibernate session cache while I am doing just insert(write) operations?

Ignore what's down, just to meet SO quality standard:

    BiteMe bite=new BiteMeToo("");
bite=null;
bite.letsBite(); //NullPointerException
1
  • what is your question? please elaborate Commented Nov 12, 2014 at 12:59

1 Answer 1

1

If you never ever read from the DB during the same session/transaction and do not use extended persistence contexts, you do not have to care about cache contents.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.