title: Is it OK to use both JPA (for normal CRUDs) and JDBC (for batch update & call stored proc) in the same project
body: <p>I am using JPA/Hibernate to call simple CRUD queries (create, update, findByXAndYAndZ...). However, as I know, JPA doesn't support well on calling stored procedures and batch insert/update, so I consider using old JDBC to do that (like this link: <a href="http://www.java2s.com/Code/Java/Database-SQL-JDBC/BatchUpdateInsert.htm" rel="nofollow">http://www.java2s.com/Code/Java/Database-SQL-JDBC/BatchUpdateInsert.htm</a>). </p>
  
  <p>I just wonder if it causes any problems when I mixing JPA and JDBC. Hope that you may share some real-world experiences on this issue. Thanks.</p>
  
  <p>UPDATE:
  I have tried the Spring Batch like suggestion of Behrang Saeedzadeh and it worked well.
  @Others: you may look at the example of Spring Batch here: <a href="http://mkyong.com/spring/spring-jdbctemplate-batchupdate-example" rel="nofollow">http://mkyong.com/spring/spring-jdbctemplate-batchupdate-example</a> </p>