Hi,

I'm using Phoenix with Cornerstone/Excalibur datasource connection pooling.
Is there any way for me to configure the datasource such that all SQL
exceptions result in the connection involved being marked as dead?

A little background for the curious: the server executes a query using a
PreparedStatement once per day. One day it executed the query while the data
server was being restarted and got a table-not-found error. Now if I run the
query 5 times it'll work 4 times and give me table-not-found once. The table
in question is definitely there so my theory is that one of the connections
in the pool has cached a faulty query plan or something because I'm using
PreparedStatement. Resilience to data server restarts is a fairly important
feature and restarting Phoenix is generally not an option

Thanks

Dan





***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312.       Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB.                                      
Authorised and regulated by the Financial Services Authority     
 
This e-mail message is confidential and for use by the                      
addressee only. If the message is received by anyone other             
than the addressee, please return the message to the sender          
by replying to it and then delete the message from your                    
computer. Internet e-mails are not necessarily secure. The               
Royal Bank of Scotland plc does not accept responsibility for          
changes made to this message after it was sent.                              
                                                                                       
                 
Whilst all reasonable care has been taken to avoid the                   
transmission of viruses, it is the responsibility of the recipient to        
ensure that the onward transmission, opening or use of this             
message and any attachments will not adversely affect its               
systems or data.  No responsibility is accepted by The Royal           
Bank of Scotland plc in this regard and the recipient should carry   
out such virus and other checks as it considers appropriate.           
                                                                                       
                        Visit our websites at:                                         
                                 
http://www.rbs.co.uk/CBFM                                                        
http://www.rbsmarkets.com                                                         
                                                                                       
                
********************************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to