[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Database usage for database objects



Hello!

just use database() method, inherited from OzoneObject.


/AAV

On 15-Jun-2001 Per Nyfelt wrote:
> Is there a way to get access to the Database from "within" it without harcoding location and port number? 
> I.e. if you have an object stored in the db that needs to manage/interact with other objects in the same db can you get to th
e open database
> without doing something like:
> db = ExternalDatabase.openDatabase("ozonedb:remote://localhost:3333"); 
> 
> I was looking for something maybe like
> db = ExternalDatabase.openDatabase(); ( or perhaps LocalDatabase.openDatabase() )
> Is there some way LocalDatabase can be used without specifying where it is?
> 
> Best regards,
> Per
> 

----------------------------------
E-Mail: Aleksey Aristov <aav@morgana.de>
Date: 15-Jun-2001
Time: 19:55:25

This message was sent by XFMail
----------------------------------