Unable to get values in database which passed as an object from java.
I am Using Strut framework with following Tech:-
Database : Oracle 10gR2,
JDK : Java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing).
I am unable to get values in database which passed as an object from java while calling Procedure from java class for multiple times submit from same browser
I have created java classes corresponding to oracle “types” by JPublisher.
And object of these classes used for submitting values from front end to the database.
From java class I am calling a store procedure, which updates the database as per values of object (Oracle “type” class generated by JPublisher), which I am passing as a parameter in this procedure.
From browser when I submit page for first time, it set all values (coming from page) in object of class(“type”) and
it save values into the database corresponding to this object.
But when I again submit this page, it set values in object but does not update database.
I log this object in java class as well as in database. In java class just before executing procedure (in which I passed this object as parameter) it shows all values but in database it does not shows these value. This problem only occur in same browser but when try submit page multiple time (each time open new browser) to submit page it update database and shows all values in java class as well as database.
If any one have solution please send me.
Thanks in Advance.
By dppalepu in forum Java
Last Post: 07-27-2006, 03:15 AM
By zarien in forum Database
Last Post: 05-17-2006, 03:27 AM
Last Post: 12-11-2005, 04:18 AM
By blake in forum VB Classic
Last Post: 02-21-2002, 12:43 PM
By Erin in forum VB Classic
Last Post: 03-14-2001, 05:02 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center