• 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

Java and MySQL

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

this for our thesis so please help me out.

It's my first time using java with a DB program but I know the basics of java and MySQL.
What my program needs to do is that it should be able to store data as well as a corresponding image for that specific data.
So where should I start? I already have MySQL up and running also Netbeans for java programming.

I already have a user interface using java swing.

Thanks in advance!
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well if you want your Java application to communicate with a dabase you should start by taking a look at the JDBC API. You should avoid JPA providers like Hibernate and other abstractions on top of plain JDBC for now, at least that would be my recommendation. Here's a basic JDBC tutorial, which would be a good place to start. For MySQL you'll need to download its JDBC driver, which they call Connector/J.

 
John Malto
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks a lot! i know there's a tutorial about this somewhere but i just couldn't find it. Hmm. I have MySQL 5.5. I think it already has Connector/J.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic