Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Help on EJB 2.1 Entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Help on EJB 2.1 Entity" Watch "Help on EJB 2.1 Entity" New topic
Author

Help on EJB 2.1 Entity

Raemond Lee
Greenhorn

Joined: Mar 17, 2009
Posts: 2
I have to maintain web application which using EJB entity. However, everything when we need to update the data in the database, we need to restart the application server to make the EJB entity bean to recongize the new data. Is it the correct way or there is some other way to do to refresh the data?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30138
    
150

No. Once you close a transaction/start a new one, it should pick up the latest rows in the database.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on EJB 2.1 Entity
 
Similar Threads
JDBC in Servlets or EJB
XML data transfer?
Why or (when to) use Entity Relationship ?
Basics
Recommended way of getting entity manager from pojo class