On Wed, Nov 4, 2009 at 4:57 AM, Serdar Genc <serdar.g...@gmail.com> wrote:
> Yes I am aware of that but I need to access an in-memory database from two
> processes which were written in Java and C++.
> I am just looking for a way to do so..

Hey Serdar,

do you have any update on this ? I found your problem quite
interesting, although also difficult.

Stephan

> On Wed, Nov 4, 2009 at 2:50 PM, Jay A. Kreibich <j...@kreibi.ch> wrote:
>
>> On Wed, Nov 04, 2009 at 10:27:57AM +0200, Serdar Genc scratched on the
>> wall:
>>
>> > But when I try to do this for in-memory, everything is getting chunky. A
>> new
>> > database is being created in memory for every attempt to open
>> > database in memory. Now I am trying to switch the database handler
>> between
>> > C++ and Java. It requires some efforts.
>>
>>   Yes, that's how it is supposed to work.  A ":memory:" database can
>>  only be accessed by the database handle that created it.  They're not
>>  designed to be shared.
>>
>>  http://www.sqlite.org/inmemorydb.html
>>
>>   -j
>>
>> --
>> Jay A. Kreibich < J A Y  @  K R E I B I.C H >
>>
>> "Our opponent is an alien starship packed with atomic bombs.  We have
>>  a protractor."   "I'll go home and see if I can scrounge up a ruler
>>  and a piece of string."  --from Anathem by Neal Stephenson
>> _______________________________________________
>> sqlite-users mailing list
>> sqlite-users@sqlite.org
>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
Stephan Wehner

-> http://stephan.sugarmotor.org (blog and homepage)
-> http://loggingit.com
-> http://www.thrackle.org
-> http://www.buckmaster.ca
-> http://www.trafficlife.com
-> http://stephansmap.org -- http://blog.stephansmap.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to