xxxDataProvider.commitChanges() deesn't change the content of database
Hi
I am using Java Studio Creator 2 with MySQL database. I bind a text component with a field of a table (xxx) in my database, then used xxxDataProvider.commitChanges() to save any change I made to the text field into the table but nothing changed in the table. Could anybody help? Many thanks.
[307 byte] By [
janekang] at [2007-11-26 9:21:11]

# 1
I was having the same problem but with ObjectListDataProviders...
As usual, 90% of the problems we have are our fault, not the IDE's.
Are you storing the DataProvider object as a Session attribute? Or request?
Take a look at this post at Winston's Blog:
http://blogs.sun.com/roller/page/winston?entry=is_objectlistdataprovider_transa ctional