6

I need to perform bulk insert i have a .sql script file generated by reading excel file. Now i need to execute the script . How to do this in hibernate JPA ?

4
  • 2
    See this answered question: stackoverflow.com/questions/14358425/… Commented Feb 27, 2014 at 9:32
  • See this: stackoverflow.com/questions/16826524/… Commented Feb 27, 2014 at 9:32
  • 1
    Why do you want to use JPA for plain database stuff and thus not use any beneficial feature of JPA? This is better suited for JDBC and a bit of regular Java file/IO. Commented Feb 27, 2014 at 9:37
  • I already have Hibernate ORM which deals with the other process. So if i am going to use plain JDBC to run script then i need to get the JDBC connection for executing script. Commented Feb 27, 2014 at 9:43

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.