Results 1 to 2 of 2
  1. #1
    Join Date
    May 2011

    Unanswered: How to insert a table object using 1 insertion

    I've been told that 1 can insert in C# many objects in 1 insert command using a Table like object.
    Is there an equivalent object in Java ? I'm currently writing a server that has to deal a big amount of insertions every second, and i want to buffer the data and insert 100-1000 records altogether.

  2. #2
    Join Date
    Apr 2008
    Iasi, Romania
    Provided Answers: 3
    You should ask on a Java forum.
    From a SQL Server point of view, an INSERT is just ... an insert. You can't pass an object to the database, as it knows to speak only SQL.
    Florin Aparaschivei
    DB2 9.7, 10.5 on Windows
    Iasi, Romania

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts