This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java and SQL

 
Brandi Love
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey all. I'm working on a project and I would like to use java with a sql database. I don't know a whole lot about sql (though I understand its not too terrible difficult)and I have no idea how to make it interact with java at all. Does anyone know of any guides that might help me get started or what software I might need for the sql side of things? Any help would be more than appreciated!
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what JDBC is good for. See http://java.sun.com/docs/books/tutorial/jdbc/index.html

Moving to our JDBC forum...
 
Brandi Love
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the link, that was very helpful Is there a specific dbms anyone recommends?
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the best type of car?



Sorry, depends on your requirements. There are some extremely light databases like Hypersonic (HSQLDB) but while it is fine playing around it isn't suitable for real systems. MySQL is a good free database with a rich set of features but is harder to set up and maintain. Something large scale like Oracle is so rich you can make a career of learning what it can do, but you run the risk of learning Oracle rather than JDBC.

Helpful?

Dave
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic