Plz sir,
I need a help.Im a student doing my final year project.
Im currently doing a project in Internet Banking portal using JSP,Servlets,Oracle.
When im handling the post dated cheques of candidates,im maintaining a separate temporary table.so when the particular date mentioned in the cheque arrives,i'll have to transfer the details from this temporary table to account_transaction table where im maintaining the details of all account transactions.so can u help me to work out this.Should i maintain any timer to note the date or use any trigger to automatically transfer the data from temporary table to account_transaction table and check out the balance?
plz help me out to do this.how to handle this? I'll be very thankful if u can help me in this.
thank u.
your's faithfully
S.kokila
-
Query (6 messages)
- Posted by: kokila s
- Posted on: January 25 2004 08:40 EST
Threaded Messages (6)
- Query by Suprasanna Addanki on January 25 2004 15:33 EST
- Query by Thandaveswaran Venkatraman on January 27 2004 23:50 EST
- Thanks for Reply by kokila s on January 30 2004 23:20 EST
-
Plz help me sir by kokila s on February 02 2004 09:37 EST
- Solution by Amarnadh Babu Veldi on February 10 2004 05:13 EST
-
Plz help me sir by kokila s on February 02 2004 09:37 EST
- Thanks for Reply by kokila s on January 30 2004 23:20 EST
-
Query[ Go to top ]
- Posted by: Suprasanna Addanki
- Posted on: January 25 2004 15:33 EST
- in response to kokila s
Hi Kokila
For your problem, better use the Trigger. Because always try to apply business login in Database objects. That is more FASTER and very easy to maintain further any business logic.
If you have been implementing the JAVA BEANS please embbed the same in some bean. That is also good practice.
Kind Regards
Suprasanna -
Query[ Go to top ]
- Posted by: kokila s
- Posted on: January 26 2004 01:03 EST
- in response to Suprasanna Addanki
Hi Kokila
> For your problem, better use the Trigger. Because always try to apply business login in Database objects. That is more FASTER and very easy to maintain further any business logic.
>
> If you have been implementing the JAVA BEANS please embbed the same in some bean. That is also good practice.
>
> Kind Regards
> Suprasanna
Thank u Sir,
Im really thankful to u for replying.Plz tell me when using triggers how can i make it to check automatically.that is it must check daily to see whether the sysdate is matching the date in the post dated cheque.
so plz help me to write that trigger.I have used triggers only for insert,update etc.so kindly help me in this regard.
thank u
your's faithfully
s.kokila -
Query[ Go to top ]
- Posted by: Thandaveswaran Venkatraman
- Posted on: January 27 2004 23:50 EST
- in response to kokila s
I think u can better write a procedure that runs at the begining of the day. Then you can update/insert the data to your main table from the temporary table. This would help in updating the data based on the Date.
regards
Thandaveswaran.V -
Thanks for Reply[ Go to top ]
- Posted by: kokila s
- Posted on: January 30 2004 23:20 EST
- in response to Thandaveswaran Venkatraman
Thanks for replying Sir.
Is there any keyword to mention the start of day.
i heard only startup on database,login,shutdown,server error etc.,
how to write that trigger?Please help me.
Thanking you.
your's faithfully
s.kokila -
Plz help me sir[ Go to top ]
- Posted by: kokila s
- Posted on: February 02 2004 09:37 EST
- in response to kokila s
Respected Sir,
Im really thankful to u for answering me very patiently.but still im not clarified with my doubt.please tell me,
Is there any keyword to mention the start of day.
i heard only startup on database,login,shutdown,server error etc.,
how to write that trigger?Please help me.
Thanking you.
your's faithfully
s.kokila -
Solution[ Go to top ]
- Posted by: Amarnadh Babu Veldi
- Posted on: February 10 2004 05:13 EST
- in response to kokila s
Hi Kokila,
You can create a procedure which moves the records from temporary table to transaction table. Then you pass that procedure as a parameter to the DBMS_JOB(in oracle) package and you can secify with what frequency the job has to be run. hope this'll help you.
Regards,
Amar