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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:31:44+00:00 2026-06-10T22:31:44+00:00

I have a table with one row..user can add or delete rows(using javascript to

  • 0

I have a table with one row..user can add or delete rows(using javascript to add dynamically)..

How can I send the data entered in the rows to database and also should retrieve the same when user comes back to see the data in future..using hibernate for mapping..using spring form tags and model attribute..

just need a brief idea on how to send dynamic data to database using hibernate

any suggestion is appreciated…thanks in advance!

  • 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-10T22:31:45+00:00Added an answer on June 10, 2026 at 10:31 pm

    Take a look at this post about spring+hibernate integration. There are plenty of examples of these technologies usage.

    http://www.mkyong.com/spring/maven-spring-hibernate-mysql-example/

    Edited:
    I think the easy way would be:

    1) Retrieve data from your table and send it via Ajax using JQuery, take a look at this example.

    2) Use a Servlet to reive your JSON data, convert it to an object using json-lib, here some snippets from the official page.

    3) Return data as json, and make sure you use the correct “application/json” content type.

    If you are planning to send ajax data in various scenarios in your application, consider to use a framework like Jersey or Restlet to send JSON data via RESTFUL services to implement your server side componentes instead of using just a servlet.

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

Sidebar

Related Questions

I have a table which is filled from a database. The user can delete
I have a table with two columns and one row, and 100% width across
I have a table and I'd like to pull one row per id with
In my html page, I have one table, for every row there are two
I have a table column where each row has one of three states, and
I have a requirement where I have to drop one row from a table
I have table with one of the columns as date in 'YYYY-MM-DD' format. Can
I have one table that has two fields - ID1 and ID2 ID1 can
I have one table having ID and other attributes. How can I get list
i have a very simple table with only one row that has a uiswitch

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.