Results 1 to 5 of 5
  1. #1
    teckno101 is offline Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    0

    Question Program/Database

    Hi everyone!

    In order to better explain my question I first need to explain my program and its purpose. I am writing a program that you would enter a tagger id in and enter in the amount of tags given. At the end of the day you would enter in how many tags were sold, how much cash was returned, and the program would return if they were over or under. This part works great, my problem is how to store the data.

    Now for my dilemma, working with/storing this data. I want this data to be stored in an accessible way as more info will be added everyday. I also want to be able to work with it for trends, totals, reports, etc. Another thing is that there will be multiple computers adding data. My first major question is how do I store the data entered into the computer(via my program) into a database? How do I set up the database on the server? How do I enter data into the database? I know these are a lot of questions, and I am an experienced java programer but have only touched in databases. If you could recommend a database program (I think that is the right term) and a tutorial or book.

    Thank you very much in advance for your help.

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    You have no idea what google said when I typed "sun jdbc tutorial".

  3. #3
    teckno101 is offline Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    0

    Default I'm headed in the right direction but....

    Okay, now that I have done some research I am understanding it a little more. Can someone post an example of a java program that gets input from the user then stores that in their database. I am a little fuzzy of how the information gets entered into the computer via a GUI in java, then is stored into the database....

    And thank you for the comment r035198x, but I don't appreciate the way it was worded (I'm not trying to pick a fight)
    Last edited by teckno101; 09-29-2009 at 11:08 PM. Reason: Bad title

  4. #4
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    The first hit from google for those words is Sun's JDBC tutorial which has lots of code examples. I doubt anyone will give you boiler plate codes to copy and paste from here.

    P.S I'm not going to change the way I post in forums to suit your tastes.

  5. #5
    teckno101 is offline Member
    Join Date
    Sep 2009
    Posts
    9
    Rep Power
    0

    Default Thanks

    Thank you very much r035198x. I don't know what "boiler" codes are, and was not looking to copy and paste, but I like to teach my self by example.

    And I was not asking you to change the post, just be a little bit politer.

Similar Threads

  1. Replies: 2
    Last Post: 02-11-2009, 04:43 AM
  2. Replies: 2
    Last Post: 06-12-2008, 07:09 AM
  3. Replies: 2
    Last Post: 04-17-2008, 05:02 PM
  4. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •