Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7914199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:01:56+00:00 2026-06-03T14:01:56+00:00

This is my first time programming and I’m struggling to understand what should be

  • 0

This is my first time programming and I’m struggling to understand what should be done with mysql commands and what should be done with Java (I’m programming the database with Java because it doesn’t need to be used over the web).

Say I have the following pipeline:

  1. get excel file from user. This excel file is identifiable under an ID number.
  2. extract info from the excel file.
  3. save the extracted info into the database. This info needs to remain identifiable by the aforementioned ID number.
  4. find the relevant ID number and get the saved extracted info
  5. create a text document with the info.

What I need help with is part 2.
Should I save the info under an instance of a java class?
Or should I immediately save all the info in the database in a table?

Right now I’m having a hard time even seeing the point of using a database since I’m so accustomed to seeing everything in classes. Please help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:01:57+00:00Added an answer on June 3, 2026 at 2:01 pm

    Right now I’m having a hard time even seeing the point of using a database since I’m so accustomed to seeing everything in classes.

    Databases help with persistence. If you need to store information between 2 runs of your program, or you need to deal with more data than you can fit in memory at once (including virtual memory) then you need to persist data. If you don’t, then you don’t need a database.

    MySQL in particular is a relational database, so you can often easily retrieve and manipulate portions of data based on relations — all the widgets that have more than 5 teeth for example.

    If you’re used to classes, you’re used to classes having 1 to 1, 1 to many, and many to many relations with other classes. Databases can have the same. In a 1:1 relation, the columns are in the same table. In 1:many and many:many relations, you have relations between tables that can be joined.

    See http://www.databasejournal.com/sqletc/article.php/1469521/Introduction-to-Relational-Databases.htm for an intro to relations in the context of databases.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It's my first time programming network in java. I want to use it in
Not a programming question, but the first time I see something like this. UNR
This is my first time do programming; i have a project that requires netwok
this is my first time using Eclipse, and my first time programming in a
I am doing this first time so I need some help. I am using
This is first time I am doing a project in other then English Language
This is my first time I ever created an air installer. When I clicked
This is my first time building an iOS project using any kind of advanced
This is my first time attempting to call an ASP.NET page method from jQuery.
This is my first time using joomla. I don't know if I'm using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.