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?