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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:08:36+00:00 2026-06-11T16:08:36+00:00

I am working in Java project with Spring and Hibernate framework. The database used

  • 0

I am working in Java project with Spring and Hibernate framework. The database used is Oracle and application server is JBoss 4 and OS is Unix.

I have to write a logic that will delete the data from all the tables older than 180 days.There is a date column in a particular table using which I have to determine if it is older than 180 days or not. if it is I will have to delete all rows from that table and any associated row from any other table as well.I can use hibernate to delete such data from the tables.

This functionality will be scheduled i.e. the delete logic will be called at some periodic time may be daily at 3:00 p.m., exact time client will inform me soon.This logic has to be separated from the application war that I usually make of my actual project source code.

I don’t have any issue in writing the persistence related code that will delete the data but I am confused about how to put this logic separately in JBoss. Shall I make jar of the code and put that in JBoss? And also how will the delete logic be called? Do I need to configure/write some scheduler that will do this job?

Can somebody please help me with this?

  • 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-11T16:08:38+00:00Added an answer on June 11, 2026 at 4:08 pm

    Have a look at Quartz. It’s a relatively easy to use scheduler for Java. You should be able to get this up and running very quickly.

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

Sidebar

Related Questions

When I was working with java spring hibernate struts2 eclipse project. I used buildpath->
We are working on Java web project based on JPA 2, Hibernate, Spring 3
I am working on a largish Java web application with Spring, Hibernate, and some
I'm working in a Java EE web application using Hibernate, Spring, JSF and Primefaces.
i've been working on a project in java+maven+spring+hibernate and i wanted to automatically assign
I'm working on particular application, a spring+hibernate setup. I have one front end in
I was working with Java, Struts 2, Spring and Hibernate project in eclipse.. The
I'm working on code for a Java project, I currently have replaceAll(String, int) in
I am working on a Java project and need to have a keypress simulate
I'm currently working on a Java web project (Spring) which involves heavy use of

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.