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 ?
-
2See this answered question: stackoverflow.com/questions/14358425/…AppLend– AppLend2014-02-27 09:32:23 +00:00Commented Feb 27, 2014 at 9:32
-
See this: stackoverflow.com/questions/16826524/…Lucas– Lucas2014-02-27 09:32:26 +00:00Commented Feb 27, 2014 at 9:32
-
1Why 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.Gimby– Gimby2014-02-27 09:37:00 +00:00Commented 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.user3351014– user33510142014-02-27 09:43:14 +00:00Commented Feb 27, 2014 at 9:43
Add a comment
|