0 Replies Latest reply on Nov 22, 2001 11:01 AM by banigreyling

    InvalidateOnError parameter

    banigreyling

      Hi,

      Can someone tell me what the "InvalidateOnError" attribute is for? This attribute can be set on the JDBC Driver properties in jboss.jcml

      As I understand it, it is suppose to throw away the connection if an error occured on it. If this is the case, then how do you get it to work. Doing the following does not seem to do the trick.


      com.jnetdirect.jsql.JSQLXADataSource
      Shipping
      jdbc:JSQLConnect://DBServer/database=Shipping
      user
      password
      150000
      true
      150000
      true
      true
      true
      0.5


      If my connection die and supsequently give an exception, it is not discarded.

      Regards
      Bani