Hi,
I believe that if you put enough information into the
openjpa.jdbc.DBDictionary setting, then things should work.
Where are you seeing the connection come from? I.e., what's the
exception stack trace?
-Patrick
On Mon, Mar 10, 2008 at 3:08 AM, Frank Schwarz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> is there a possibility to let OpenJPA create a SQL DDL script without
> accessing the database? I would like to apply this script later on to an
> empty database.
>
> I was in part successful with the mapping tool, alas it still tries to open
> a connection
>
> <openjpa:mappingtool action="buildSchema" schemaaction="createDB"
> sqlfile="${basedir}/build/sql/create.sql">
> <config
> propertiesFile="${basedir}/build/conf/META-INF/persistence.xml" />
> <classpath>
> <pathelement location="${basedir}/build/model" />
> </classpath>
> </openjpa:mappingtool>
>
> Regards,
> Frank
>
>
--
Patrick Linskey
202 669 5907