but as I need some field extra in history_grocery and some missing from grocery
it this case what i should do???
some values are come using ajax and js in view(jsp page)like quantity and total_amount....
posted 5 years ago
you can actually pass all the values which are coming from view to the SQL statement. If you need to select one field from another table and other 10 values coming from view then your SELECT part of INSERT statement would look like SELECT ?,?,?........., col1, col2 FROM table where ....
You would set the values which you retrieved from the view using statement.set... methods.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads