Re: My object disappear when I restart ozone.
Ozone Apirak <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
I try 1.2rc already. It's still disappear for local.
it return null when I call.
try { //Create new DB
System.out.println("can't looking for object because:
"+e);
obj = db.createObject(name, 0,ObjName);
System.out.println("create obj name:"+ obj);
metc = (MetCollection) obj;
metc.setName("OzoneMetBroker2");
System.out.println("ObjectDB name: "+metc.getName()+" was
created by me");
testCreate();
} catch(Exception e2) {
System.out.println("Can't create DB: "+ e2);
}
it work very well If I did not shutdown database.
Apirak Panatkool
e-mail [email protected]
phone 01-4033320
On Apr 5, 2004, at 8:11 PM, Leo Mekenkamp wrote:
>> problems is solve by change from LocalDatabase to ExternalDatabase
>> How do i back to use LocalDatabase?
>
> Simple, by stopping the external database process (^c or Q in ozone
> server
> window) and changing the connection url in your app
> (ozonedb:local://<dir>).
>
> IIRC there was an issue with 1.1 and LocalDatabase that fitted your
> description; this problem was no longer reproducible on the development
> version. So, if all is right release candidate 2 for the new 1.2
> package
> should no longer exhibit the bug you experienced.
>
> If you run your original program against ozone 1.2rc2, does your first
> created object still disappear?
>
> Cheers,
> Leo
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Ozone-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ozone-users
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click