You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Daniel John Debrunner <dj...@debrunners.com> on 2005/08/01 21:57:37 UTC

Re: How to set the 'write mode' to rwd?

Barnet Wagman wrote:

> I'm getting the "Failed to create database" error in OS X, and I've read
> that I need to set the write mode to rwd (the default is rws).
> Could someone tell me how to do this (or where it's documented)?  The
> only reference to the write modes that I've found is in the api doc of
> org.apache.derby.impl.io.DirRandomAccessFile.  I've never used this
> class (explicitly) and hopefully I won't have to.
> 
> Are there performance and/or reliability implications of switching to
> rwd?  I'd like to avoid having a separate version of my app for OS X -
> would using rwd on Linux and/or Windows be a bad idea?
> 
> Thanks
> 
> bw
> 
It's covered in this FAQ.

http://db.apache.org/derby/faq.html#createdb_OS_X

Dan.


Re: How to set the 'write mode' to rwd?

Posted by Andrew McIntyre <mc...@gmail.com>.
On 8/1/05, Daniel John Debrunner <dj...@debrunners.com> wrote:
> Barnet Wagman wrote:
> 
> > I'm getting the "Failed to create database" error in OS X, and I've read
> > that I need to set the write mode to rwd (the default is rws).
>
> It's covered in this FAQ.
> 
> http://db.apache.org/derby/faq.html#createdb_OS_X

Just realized that the regression of DERBY-1 on Mac OS X 10.4 with
J2SE 5 Release 1 is not covered in the FAQ. I'll add that shortly.

andrew