Re: [bdbxml] lock not granted exception
George Feinberg <[email protected]>
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
Michael, That should be the case in 2.1.8. What do you get from XmlException.getDatabaseException() if not com.sleepycat.db.LockNotGrantedException? This behavior was fixed between 2.0.9 and 2.1.8. Regards, George > Hello, > > I'd like to reliably detect when a transaction lock was not granted > for an XmlContainer operation performed with a transaction instance > configured not to wait on locks. > > Currently, what I get is an XmlException with an errorCode of > XmlException.DATABASE_ERROR and a helpful message. Still, could > you initialize the thrown XmlException so that getDatabaseException > () returns an instance of > com.sleepycat.db.LockNotGrantedException? I think that would be > definitive. > > Thanks. > > Michael > ------------------------------------------ To remove yourself from this list, send an email to [email protected]