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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T08:00:27+00:00 2026-06-16T08:00:27+00:00

Environment Spring/hibernate/MySQL web application Problem I have a multi-step form which should be savable

  • 0

Environment
Spring/hibernate/MySQL web application

Problem
I have a multi-step form which should be savable at every step for completing later. But incomplete steps may contain fields that are required for the model, making it not possible to save the model.

What I have tried or thought about trying

  1. Making fields nullable.
  2. Using a temporary table to save incomplete forms

But..
Solution 1 disrupts database design, and solution 2 will bloat my code with fragments to convert between the temporary model and the permanent one, and this will get ugly if I add the ability to edit the form after saving it.

How to implement the complete later feature in a way that is seamless and elegant?

  • 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-16T08:00:28+00:00Added an answer on June 16, 2026 at 8:00 am

    Another option is to have a boolean column in your database table complete_edit . and for those columns that are not entered in first place during save, either store default value or a string like “NOT_COMPLETE” and set complete_edit column as false. Only on submit this column should be true.

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

Sidebar

Related Questions

The environment of my application: web-based, Spring MVC+Security, Hibernate, MySQL(InnoDB) I am working on
We have a Java web application that uses Spring and Hibernate and has a
I have an application which are using Hibernate / Spring and Spring MVC, but
We (will) have the following architecture: Base.war will be a self-contained spring-hibernate application All
I'm interested in porting an existing application which was written using Spring/Struts2/Hibernate to GAE.
I do a project merging Hibernate and Spring in a Java web application, using
I'm setting up a maven-spring-hibernate-mysql-tomcat environment. I would like to inject my Entity manager
in my web application developped with GWT, Hibernate ans Spring, I encounter when setting
I have Roo-generated Spring MVC application connected to PostgreSQL using Hibernate. I am trying
Environment Jboss 6 flyway 1.5 spring core 2.5.6 structure of the war ei-web-1.0.1-SNAPSHOT.war |WEB-INF

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.