Hibernate - on the stack or on the heap?

Posted by Stephano on Stack Overflow See other posts from Stack Overflow or by Stephano
Published on 2010-03-16T21:12:18Z Indexed on 2010/03/16 21:21 UTC
Read the original article Hit count: 390

Filed under:
|
|
|

As a Java programmer, you usually keep two truths in your pocket:

  • Instance variables and Objects lie on Heap.
  • Local variables and methods lie on the Stack.

Now that I use Hibernate in just about everything, I realize I'm not as sure of myself.

Are there some good rules of thumb for using hibernate and knowing where your memory lives?

© Stack Overflow or respective owner

Related posts about stack

Related posts about heap