Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Object Relational Mapping
What is persistencecontext and EntityManager ?
Soumya Ranjan Mohanty
Ranch Hand
Posts: 44
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is persistencecontext and EntityManager ? what does it mean as
@PersistenceContext
EntityManager
I have Searched in google but couldn't find a appropriate solution.
Thiago Alves de Moraes
Greenhorn
Posts: 8
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi!
Take a look at
http://download.oracle.com/javaee/5/api/javax/persistence/EntityManager.html
EntityManager is an interface with methods for interacting with the persistence context, such as persist, update, delete and so on...
Good definition here
http://docs.jboss.org/hibernate/entitymanager/3.5/reference/en/html/architecture.html
The @PersistenceContext is the anotation for the injection of the current persistence context
--
thiago moraes
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Container OR Application Managed EntityManager s
spring wont inject the entitymanager
EntityManagerFactory vs EntityManager
EJB3 Beta Certification - EntityManager BASIC notes.
Transaction Scoped Persistence Contexts
More...