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 7681723
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:24:23+00:00 2026-05-31T18:24:23+00:00

I want to create and maintain a relatively simple relational database in my java

  • 0

I want to create and maintain a relatively simple relational database in my java app, to save info between web sessions, and do SQL-like queries on. I have read up on JPA, Hibernate, Eclipselink etc – none seem all that simplistic. What’s the simplest option to get up and running?

  • 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-05-31T18:24:24+00:00Added an answer on May 31, 2026 at 6:24 pm

    If you do not want to use an ORM (which are necessarily complex since they are generic and need to cover a lot of cases), you have quite a few choices if you are willing to look at non-relational,

    • The historical relational solution: do it yourself by mapping your object properties to table columns and calling the DB through the JDBC layer. It cannot be much faster and efficient but is the hardest to maintain. Spring JDBC may ease your pain.

    • If you do not really care about doing elaborate queries: serialize your object using Java serialization or a framework like Kryo (fast), XStream (xml) or Jackson (json) then save your blob/properties to the DB. You may actually look at a non-SQL db to store this very efficiently, like CouchDB

    • A (very hype :-)) NO-SQL like serialization: serialize to JSON and store in MongoDB or serialize to XML then store in DB2 or MS-SQL in XML columns or in a native XML server like eXist. All these DBs provide query languages on the stored object:

      • MongoDB Query Language
      • Introduction to SQL/XML and XQuery
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to create a jar file of my java web application. This web
I want create a excel with Apache POI in java and I must insert
I want to create a process control application. Events update the database and that
Let say I want to create comic reader app where the user can download
I want create a drop shadow around the canvas component in flex. Technically speaking
i want create image animation , i have 50 images with png format now
I want create module which update list of usb devices automatically (not only mass
I want to create rows and cells in the CDHtmlDialog. Here is the code
I want to create a button which will run a previously ran function. ie
I want to create a class structure that can represent the following heirarchichal structure

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.