Why I can't save data in data base?
My web-application consist of servlet and applet. Applet view some table from data base and user can edit and save her. Exactly, applet send query to servlet for getting data from data base. I use DataExpress components.
Getting data from data base. Applet send to the servlet data base's name, table's name, data base's URL, driver's name, login and password. Servlet use this data for making query, send him to the data base and return data to the applet. It's I done and this is working.
Saving data in data base. When user clicked "Save" button, applet send servlet object NewMetaDataDBConnection. NewMetaDataDBConnection has base's name, table's name, data base's URL, driver's name, login, password and, of course, data. I promise that this object has right data, but next code doesn't save in data base
database1.setConnection(new ConnectionDescriptor(NewMetaDataDBConnection.URL, NewMetaDataDBConnection.Login, NewMetaDataDBConnection.Password, false,NewMetaDataDBConnection.Driver));
DataSetData data = DataSetData.extractDataSet( queryDataSet1 );