hi, margaret.
xml files looks like:

<!DOCTYPE databases PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version 1.0//EN"
"http://castor.exolab.org/jdo-conf.dtd";>


<database name="siges" engine="interbase">
<driver class-name="interbase.interclient.Driver" url="jdbc:interbase://127.0.0.1/C:\DESENVOLVIMENTO\InterClient">
<param name="user" value="SYSDBA" />
<param name="password" value="masterkey" />
</driver>
<mapping href="usuario.xml" />
</database>



and the file usuario.xml:


<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN"
"http://castor.exolab.org/mapping.dtd";>
<mapping>

<class name="br.siges.negocio.pessoa.Usuario" identity="usuario">

<map-to table="USUARIO" />

<field name="idPessoaFisica" type="integer">
<sql name="id_pessoa_fisica" type="integer" />
</field>

<field name="login" type="string">
<sql name="login" type="varchar" />
</field>

<field name="senha" type="string" >
<sql name="senha" />
</field>

</class>

</mapping>



can you help me???

thanks,
carlos.







From: "Martin, Margaret" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] MappingException: The persistence engine interbase is not supported...
Date: Fri, 15 Nov 2002 17:11:16 -0600

Carlos,
What does your database config xml file look like? You'll need to specify
that the db type is interbase in order to work with it.

HTH -
Margaret

-----Original Message-----
From: Carlos Miranda [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 15, 2002 4:40 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] MappingException: The persistence engine interbase
is not supported...


Hi,

I'm trying to use Castor with Interbase
and this exception occour:
org.exolab.castor.mapping.MappingException: The persistence engine interbase

is not supported in this Castor configuration

In old messages in this mail-list I read something about the location
of castor.properties

What i can do???

Thanks,
Carlos.


_________________________________________________________________
MSN Messenger: converse com os seus amigos online.
http://messenger.msn.com.br

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

_________________________________________________________________
MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br

----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev

Reply via email to