• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

ways of accessing database through java

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

As per my knowledge there are two APIs to access database through java
i.e JDBC and Hibernate

Are there any other APIs to access database through java?

Thanks
 
Marshal
Posts: 25812
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that's not quite right. Because Hibernate uses JDBC to access the databases. So from one point of view there's only one API being used, namely JDBC.

However there are several other ORM (Object Relational Model) tools similar to Hibernate. I expect they all use JDBC under the covers as well. You could count them as "APIs to access databases through Java" as well if you like that point of view. However in that case you won't get an exact answer because anybody can write code which acts as a wrapper for JDBC.

There may be products which access databases in some way other than JDBC, but I'm not aware of them.
 
Rajiv KumarRai
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to brush up on java database programming.
Hence i wanted to know what all topics I need to cover
and i came up with just JDBC and Hibernate as these
are the most prevalent tools/APIs for java database programming..

Hope I am not missing anything
 
Master Rancher
Posts: 4663
49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can replace Hibernate with JPA, which Hibernate implements.
That way you cover a lot more bases than a Hibernate-specific study.
 
Rajiv KumarRai
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for your replies

Regards
 
Their achilles heel is the noogie! Give them noogies tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic