• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

best performance to access relational JDBC

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic