This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

best performance to access relational JDBC  RSS feed

 
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
 
author & internet detective
Marshal
Posts: 37714
579
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
Boost this thread!