well, this question mostly related to understanding locking mech rather then practical use.
On Saturday, March 8, 2014 11:22:44 AM UTC+1, Alejandro Villamarin wrote: > > Hi, > > I'm wondering why you'd need to have 2 instances of DriverManager in a > single app...kinda hard to think in a scenario that has such requirement... > > > On Sat, Mar 8, 2014 at 6:50 AM, Ryan How <[email protected]<javascript:> > > wrote: > >> Hi, >> >> I'm not sure multithreaded is 100% safe yet. I wonder if it was caused by >> an issue with that. >> >> >> >> On 7/03/2014 2:06 PM, Alex wrote: >> >> hi >> >> db 1.3.172 >> >> >> FILE_LOCK=FS;PAGE_SIZE=1024;CACHE_SIZE=400072;MULTI_THREADED=TRUE;DATABASE_TO_UPPER=FALSE >> >> i guess, some unclear way unique index has been updated with duplicate >> value. thus, when i try to **connect** >> to database error message "Unique index or primary key violation: >> "SYS_ID ON PUBLIC.SYS(ID)" >> [23505-172]<http://127.0.1.1:8082/login.do?jsessionid=ce7b028e906119f96bd4a7d225166a1e#>23505/23505" >> is thrown. >> >> db file has been used by single app. >> >> any comments to avoid such issue? >> >> btw, is it safe to use two instances of DriverManager in one app? >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "H2 Database" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/h2-database. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
