Results 1 to 10 of 10
Thread: how to perform soft delete?
- 02-25-2014, 01:38 PM #1
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
- 02-25-2014, 01:43 PM #2
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: how to perform soft delete?
Generally when you post a question consisting of one short line, it does not contain enough actual information and context. Try asking your question a tiny bit more elaborate.
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 02-25-2014, 01:48 PM #3
Senior Member
- Join Date
- Feb 2014
- Posts
- 219
- Rep Power
- 8
Re: how to perform soft delete?
I know soft delete as to mark something for deletion, take it out of use, but is not yet actually deleted. In a database record context it's so that it is easy to recover from, e.g., accidental deletion. Is this what you meant by "soft delete"? You'll need to elaborate the context - soft delete what, purpose, etc., taking into account this is a Java programming forum.
- 02-25-2014, 01:53 PM #4
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
Re: how to perform soft delete?
i am trying simple crud operation using jsp/servlet. i want the values to be delete in jsp, when i perform delete operation. but the values wont be delete in database. i am using postgresql.
- 02-25-2014, 01:57 PM #5
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
Re: how to perform soft delete?
You are right jashburn
- 02-25-2014, 01:58 PM #6
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 13
Re: how to perform soft delete?
... So you have the problem of records not being deleted (A) and you then ask about a soft delete (B). If you want help with A, ask about A.
Why don't you just share the code that you have so we can see where your bug is."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 02-25-2014, 02:03 PM #7
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
Re: how to perform soft delete?
Actually I have no idea about soft delete. I just need some guidance, how to perform soft delete operation.
- 02-25-2014, 02:24 PM #8
Senior Member
- Join Date
- Feb 2014
- Posts
- 219
- Rep Power
- 8
Re: how to perform soft delete?
It seems that this is more of a design question rather than a coding question. For that, you'd want to go through The trouble with soft delete | Richard Dingwall to find out the approaches that might be suitable in your context.
Soft deletes can be done at the database itself. For PostgreSQL, see:
or just google using the search term postgresql "soft delete" (include the double-quotes in the search term). My knowledge on the database side of things is quite limited, I'm afraid.
- 02-25-2014, 02:27 PM #9
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
Re: how to perform soft delete?
Thanks for your reply
- 02-26-2014, 01:13 PM #10
Member
- Join Date
- Feb 2014
- Posts
- 17
- Rep Power
- 0
Similar Threads
-
Soft Token Source Code
By Svangorden in forum AndroidReplies: 1Last Post: 07-27-2012, 02:21 PM -
Soft Coding.
By Cruncher in forum Advanced JavaReplies: 5Last Post: 06-13-2010, 10:56 PM -
Soft HashMap
By Java Tip in forum java.langReplies: 0Last Post: 04-12-2008, 09:45 PM -
Soft References
By rickcharles_b in forum Advanced JavaReplies: 0Last Post: 06-20-2007, 09:27 PM
Bookmarks