Skip to main content
/
SoftwareEngineering
/
Group items matching "getReference" in title, tags, annotations or url
Group items matching
in title, tags, annotations or url
Sort By:
Relevance
|
Date
Filter:
All
|
Bookmarks
|
Topics
Simple
Middle
5
More
jpa - When to use EntityManager.find() vs EntityManager.
getReference
() - Stack Overflow
- 0 views
stackoverflow.com/...-vs-entitymanager-getreference
java
JPA
EntityManager
find
getReference
shared by
kuni katsuya
on 20 Nov 12
-
No Cached
When to use EntityManager.find() vs EntityManager.
getReference
()
...
Cancel
use
getReference
method when i do not need to access database state
...
Cancel
getReference
returns a proxy object which uses a powerful feature called
...
Cancel
...1 more annotation...
automatic dirty checking
...
Cancel
kuni katsuya
on 20 Nov 12
"When to use EntityManager.find() vs EntityManager.
getReference
()"
"When to use EntityManager.find() vs EntityManager.getReference()"
...
Cancel
...
Cancel
9
More
java - what is difference between EntityManager.find() and EntityManger.
getReference
()?...
- 0 views
stackoverflow.com/...-and-entitymanger-getreference
java
JPA
EntityManager
find
getReference
shared by
kuni katsuya
on 20 Nov 12
-
No Cached
what is difference between EntityManager.find() and EntityManger.
getReference
()?
...
Cancel
find()
...
Cancel
return an initialized instance of your object
...
Cancel
...6 more annotations...
If it is not already loaded in the EntityManager, it is retrieved from the database
...
Cancel
getReference
()
...
Cancel
is allowed to return a proxy instread of an initialized instance, if the entity has not been loaded in the EntityManager before
...
Cancel
In this proxy,
...
Cancel
only the primary key attribute is initialized
...
Cancel
Proxies can be created without hitting the database
...
Cancel
...
Cancel
1
-
2
of
2
Showing
20
▼
items per page
20
50
100
Related searches
See group items tagged
getReference
»
Search in Google »