Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best performance to access relational JDBC

 
sara ghanem
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I am developing back end for mobile application , and i want to insert data in relational JDBC
I can't use Spring as We'll likely need to optimize the SQL and JSON Store calls to perform well, so no point in bringing in a large mapping framework . I also think JPA may add too much complexity.
I think create some writers/readers for the DTOs that hide the SQL or JSON Store details
so any suggestion or any example code can help me
Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sara,
Spring has JDBC template where you do pass in the raw SQL. The benefit is you don't have to write all the plumbing code to access the database.

You may have other reasons not to use Spring, but performance shouldn't be one of them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic