473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

a typical Q. here ......

dmjpro
2,476 2GB
i made a request database server to run a procedure .... through JDBC

while the the procedure runs on database server then i stop the application server....

now tell me what happens .. i mean whether the procedure stops running or not???

plz explain me ... in detailsssssss

any help is most welcome .... thanxxx in advance
Mar 22 '07 #1
3 1240
sicarie
4,677 Expert Mod 4TB
i made a request database server to run a procedure .... through JDBC

while the the procedure runs on database server then i stop the application server....

now tell me what happens .. i mean whether the procedure stops running or not???

plz explain me ... in detailsssssss

any help is most welcome .... thanxxx in advance
Depends, are you returning a ResultSet, or just updating the db?
Mar 22 '07 #2
dmjpro
2,476 2GB
i m not clear with ur answer .....

i think u didn't get my point ......

when the appliation server is stopped then the all connection related resources closed ... i mean all the database sessions made by application

so how can database server can refer a died session

now i think u got my point ... so plz help
thanxxx
Mar 22 '07 #3
sicarie
4,677 Expert Mod 4TB
i m not clear with ur answer .....

i think u didn't get my point ......

when the appliation server is stopped then the all connection related resources closed ... i mean all the database sessions made by application

so how can database server can refer a died session

now i think u got my point ... so plz help
thanxxx
A resultSet will keep the connection open and pooint to the record you are working with, while an update query will jsut update, then close. As far as i know, if the RS gets cut, you can't restore the session.
Mar 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: davmonster | last post by:
Hello, I am trying to write a server-side PHP application that will be eventually open-sourced. We want to know what a typical distribution of PHP has compiled in. Will they have DOM support?...
1
by: Bulba! | last post by:
OK. I have reworked this program (below) to use just the data manipulation capabilities of Python (training was largely the motivation). I've tried to manipulate the data just in Python and not in...
55
by: Haines Brown | last post by:
I've been setting font-size 1em; as the default in my style sheets. Until now, that seemed to be ok. But now I'm beginning to wonder. My aim is to have an easily readable, but not overly large...
2
by: Zlatko Matić | last post by:
I tried to implement triggers for filling audit-trail table on this way. Everything works fine as long as I don't update the primary key field value. When I try to update PK value, an error...
3
by: Dave Rahardja | last post by:
Don't know if this is a C++ /language/ question, but I think this may be the best place to ask. What's a typical implementation of the exception handling mechanism in C++? Specifically... 1....
3
by: John Thomas | last post by:
Hey, I was wondering what the typical time to get up and running to comfortably program ASP.NET with C#. I have done PHP, but no ASP. I have used C++ in the past and familar with the language...
3
by: Rick | last post by:
Hello, I ran Microsoft's free "Web Application Stress" tool to see how asp.net/c# performed against html. Are these results typical? Network: WAS ran on a server with a t3 Internet...
9
by: James Radke | last post by:
Hello, I would like to create a sorted listbox which has one property that I can set to true or false to show if the listbox should be sorted (I may potentially add another one for the sort...
2
by: Roman Mashak | last post by:
Hello, All! I wonder are there any typical, common used practises to organize all #include's in the large/medium size project. Try to explain what I mean: suppose I have three tranlsation units...
8
by: me | last post by:
The subject line says it all really. Any figures for the size of a typical JS interpreter?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.