Whether prompt, it is possible to interpose in one connection the data in two connected table? How to do it better?

  • Can. Better to do this in a transaction. - Sergey Gornostaev
  • in this case, if you use a lot of statements, it is better to use executeBanch ()? or just every time executeUpdate ()? - lutsik
  • one
    When it is possible to package requests, it is better to do this, but when inserting data with relationships, there is usually no such possibility. - Sergey Gornostaev
  • well, thank you - lutsik

0