The selected victim is XID

2012-02-13 Thread Pavel Bortnovskiy
Hello: Today my application threw and exception I haven't seen before: --REFDATA.INSTYPE in ('M','P','T','G','A') AND BOOK.ID NOT LIKE 'MD%' AND BOOK.ID NOT LIKE 'LC%' AND BOOK.ID NOT LIKE 'P_%'

Re: Why does the query optimiser not use the tables index?

2012-02-13 Thread Rick Hillegas
On 2/12/12 9:10 AM, anthonyri wrote: I have a table with and index and yet the optimiser chooses a full table scan instead of using it - why does this happen? Can I force it to use the index? create table test(id smallint, seq smallint, type smallint); select id, seq, type from test where type

Re: Encrypted db

2012-02-13 Thread Knut Anders Hatlen
jesusaplsoft je...@aplsoftware.com writes: Is there any way to unencrypt a working encrypted db? As far as I know, the only way to do this currently is to create a new, unencrypted database and manually migrate the data from the encrypted database. Maybe you can use DdlUtils

Derby Embedded losing connection ?

2012-02-13 Thread bruehlicke
I am happy using Derby Embedded DB. Currently we are on 10.5.3.0 no issues, but ... from time to time (currently not reproduceable) we get reports (and also felt it our self) that our app simply is losing its connection to the DB. We are using standard JDBC to get a connection and hold this guy

Re: Derby Embedded losing connection ?

2012-02-13 Thread Bryan Pendleton
get reports (and also felt it our self) that our app simply is losing its connection to the DB. What are the symptoms, exactly? That is, what is it that makes you think you are losing your connection? One thing that occurs to me is a bit of a long-shot: are you using a connection pooling

RE: Derby Embedded losing connection ?

2012-02-13 Thread Bartosz, Jan (NSN - PL/Wroclaw)
Which derby version? Can you provide some stacktrace? .. Regards / Pozdrowienia Jan Bartosz My contact info in Phonebook Click to call me by using Softphone -Original Message- From: ext Bryan Pendleton [mailto:bpendleton.de...@gmail.com] Sent: Tuesday, February