On 11.02.2008, at 10:48, Barši Einarsson wrote:
> Re: Entity Modeler and embedded derby
>
> (I sent this in on 6 Feb 2008. No response. Here it is again.)
>
> How is it done?
you may want to create a Database Config in Entity Modeler
http://wiki.objectstyle.org/confluence/display/WOL/Using+Entity+Modeler
about half way down the page
>
>
> I am trying to use Entity Modeler in the SophisticatedDatabaseExample.
>
> What is Entity Modeler's classpath?
are you running standalone? don't know never used.
it's integrated in WOLips
>
>
> Where should derby.jar be?
> Where should javajdbcadaptor.jar be?
simple answer, in your classpath.
assuming osx:
you can soft link them into /Library/Java/Extensions/ or put them
somewhere more convenient.
>
>
> Where do I set the derby.system.home property?
i set my classpath in the shell directly. this is from my .cshrc script.
i use tcsh, so if you use bash (assuming osx or something *nixy)
setenv DERBY_HOME ~/Documents/Applications/Developer/derby/bin
setenv CLASSPATH $DERBY_HOME/lib/derby.jar:$DERBY_HOME/lib/
derbytools.jar
>
> Do I need to specify the DerbyPlugIn?
yes, see the Database Configuration
HTH
Sorry i haven't spent much time with derby either, but the examples
worked this way.
Cornelius
This archive was generated by hypermail 2.0.0 : Mon Feb 11 2008 - 06:26:59 EST