My backing
bean has some
method to get
data from database. Like;
public Collection getClients() {
Collection c = accountEntityBean.getClients();
return c;
}
In my web page, there will be a
client list to show out.
The problem is after I created a new client, the new client data could
added to database. But the client list is still the old list. Only
after I redeploy my project I could see that new data.
My backing bean is a
session bean. So how could I get the updated data
from database.
Thanks a lot!
Hi,
Thanks for your reply.
Yes, I create a new client in the web application. After I create it, I
go to showClients page to see. There are only old data. What do you
mean to refresh the page. Click the refresh
button of the browser? It's
useless. Still the old data. When I go to the databse. I refresh the
database and see my new data there.
Thanks again.
wrote in message:
Hi,
I'm not sure that I exactly understand your question.
Do you create the new client over the web application?
If so you've to do a refresh of the page and call the method
getClients() again.
Regards, Simon
Blogs related to How to get the updated data from database.
Ruby on Rails, First Impressions
Since I run Fedora, I did a yum install to
get the necessary stuff, and grabbed the
... Even worse, since I am a
Java programmer primarily, I called my model
... where the default value would
update data into the
database with no issue.
...
excel how to get web data?
Hello, I'm use Office XP (Excel ) to
update my excel
data, via
Database (D)-> Import other
data (D) -> New WEB quote (W) , to
update data Because if HTML file, is oke to
get that
data. But If that website
data is via/use
JAVA, ...
JDBC FAQs - 2
How can you find out whether a row is
updated or not? 19. How do you debug PL/SQL code?
... Database - JDBC (
java.sql). Connecting to a
Database ... Get data using colunm names. ResultSet rs = stmt.executeQuery(
...
Getting Started with Sunopsis Data Conductor
Data Conductor is written in
Java, and therefore communicates with source and
... module to
get my
data out and across, and then the “SQL Incremental
Update”
... Like OWB, it’s
Java-based and uses the target
database to do the
data ...
UWC Mediawiki Notes (updated)
If you're Mediawiki uses a different
database than MySQL, you will need to
... If you disagree with the way the exporter pulls out the
data from the
database,
... You don't want the _TOC_ syntax to
get changed to the Table of Contents
...
JDBC FAQs - 1
The JDBC API can be used to interact with multiple
data sources in a distributed, heterogenous environment.
... to enable programs to write pure
Java Database applications.
... The JDBC 2.0 API is the latest
update of the JDBC API.
...