about jdbc with batch updates
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   swati_malla
Posted On:   Thursday, April 24, 2008 02:54 AM

Hi folks, I am very new to JDBC . I have two tables in my database and wanted to insert in the two tables as a group.so i got to know we can use batch updates but how to use batch updates with two insert commands like); INSERT INTO person values(.......); and); INSERT INTO student values(.....); i can use create statement for grouping these two queries is it possible to do in prepares statements? can anyone reply me i am working on a project i could not figure it out how to do with prepared statement I would really appreciate if some one replies me Thanks, swati    More>>

Hi folks,
I am very new to JDBC .
I have two tables in my database and wanted to insert in the
two tables as a group.so i got to know we can use batch updates
but how to use batch updates with two insert commands like);
INSERT INTO person values(.......);
and);
INSERT INTO student values(.....);
i can use create statement for grouping these two queries
is it possible to do in prepares statements?
can anyone reply me
i am working on a project i could not figure it
out how to do with prepared statement

I would really appreciate if some one replies me
Thanks,
swati

   <<Less
About | Sitemap | Contact