You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Fedor Karpelevitch <fe...@Barra.COM> on 2001/09/26 23:11:50 UTC
RE: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf proje
ct-schema.xml
maybe if you put the classes into different packages it would work...
fedor.
-------------------------------
Amicus Plato amicus Aristoteles magis amica veritas
> -----Original Message-----
> From: jvanzyl@apache.org [mailto:jvanzyl@apache.org]
> Sent: Wednesday, September 26, 2001 1:22 PM
> To: jakarta-turbine-tdk-cvs@apache.org
> Subject: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf
> project-schema.xml
>
>
> jvanzyl 01/09/26 13:22:22
>
> Modified: src/tdk/apps/2/src/conf project-schema.xml
> Log:
> - it appears that two separate databases cannot have the same table
> name or the torque compile blows up. must be something wrong in
> the generation somewhere ...
>
> Revision Changes Path
> 1.3 +1 -1
> jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-schema.xml
>
> Index: project-schema.xml
> ===================================================================
> RCS file:
> /home/cvs/jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-
> schema.xml,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- project-schema.xml 2001/09/26 18:41:16 1.2
> +++ project-schema.xml 2001/09/26 20:22:22 1.3
> @@ -18,7 +18,7 @@
> </table>
> </database>
> <database name="@PROJECT@2">
> - <table name="RDF" idMethod="idbroker">
> + <table name="RDF2" idMethod="idbroker">
> <column name="RDF_ID" required="true"
> primaryKey="true" type="INTEGER"/>
> <column name="TITLE" size="255" type="VARCHAR"/>
> <column name="BODY" size="255" type="VARCHAR"/>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> turbine-tdk-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf
project-schema.xml
Posted by Jason van Zyl <jv...@apache.org>.
On 9/26/01 5:31 PM, "John McNally" <jm...@collab.net> wrote:
> <database> has a package attribute for this.
But it's the same object. It's a fluke that I did this, but what it
represented was storing the same object in database1 and database2.
I don't know how likely this is? It was a typo on my part. Just something to
keep in mind I suppose.
> john mcnally
>
> Fedor Karpelevitch wrote:
>>
>> maybe if you put the classes into different packages it would work...
>>
>> fedor.
>>
>> -------------------------------
>> Amicus Plato amicus Aristoteles magis amica veritas
>>
>>> -----Original Message-----
>>> From: jvanzyl@apache.org [mailto:jvanzyl@apache.org]
>>> Sent: Wednesday, September 26, 2001 1:22 PM
>>> To: jakarta-turbine-tdk-cvs@apache.org
>>> Subject: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf
>>> project-schema.xml
>>>
>>>
>>> jvanzyl 01/09/26 13:22:22
>>>
>>> Modified: src/tdk/apps/2/src/conf project-schema.xml
>>> Log:
>>> - it appears that two separate databases cannot have the same table
>>> name or the torque compile blows up. must be something wrong in
>>> the generation somewhere ...
>>>
>>> Revision Changes Path
>>> 1.3 +1 -1
>>> jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-schema.xml
>>>
>>> Index: project-schema.xml
>>> ===================================================================
>>> RCS file:
>>> /home/cvs/jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-
>>> schema.xml,v
>>> retrieving revision 1.2
>>> retrieving revision 1.3
>>> diff -u -r1.2 -r1.3
>>> --- project-schema.xml 2001/09/26 18:41:16 1.2
>>> +++ project-schema.xml 2001/09/26 20:22:22 1.3
>>> @@ -18,7 +18,7 @@
>>> </table>
>>> </database>
>>> <database name="@PROJECT@2">
>>> - <table name="RDF" idMethod="idbroker">
>>> + <table name="RDF2" idMethod="idbroker">
>>> <column name="RDF_ID" required="true"
>>> primaryKey="true" type="INTEGER"/>
>>> <column name="TITLE" size="255" type="VARCHAR"/>
>>> <column name="BODY" size="255" type="VARCHAR"/>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail:
>>> turbine-tdk-dev-help@jakarta.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf
project-schema.xml
Posted by John McNally <jm...@collab.net>.
<database> has a package attribute for this.
john mcnally
Fedor Karpelevitch wrote:
>
> maybe if you put the classes into different packages it would work...
>
> fedor.
>
> -------------------------------
> Amicus Plato amicus Aristoteles magis amica veritas
>
> > -----Original Message-----
> > From: jvanzyl@apache.org [mailto:jvanzyl@apache.org]
> > Sent: Wednesday, September 26, 2001 1:22 PM
> > To: jakarta-turbine-tdk-cvs@apache.org
> > Subject: cvs commit: jakarta-turbine-tdk/src/tdk/apps/2/src/conf
> > project-schema.xml
> >
> >
> > jvanzyl 01/09/26 13:22:22
> >
> > Modified: src/tdk/apps/2/src/conf project-schema.xml
> > Log:
> > - it appears that two separate databases cannot have the same table
> > name or the torque compile blows up. must be something wrong in
> > the generation somewhere ...
> >
> > Revision Changes Path
> > 1.3 +1 -1
> > jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-schema.xml
> >
> > Index: project-schema.xml
> > ===================================================================
> > RCS file:
> > /home/cvs/jakarta-turbine-tdk/src/tdk/apps/2/src/conf/project-
> > schema.xml,v
> > retrieving revision 1.2
> > retrieving revision 1.3
> > diff -u -r1.2 -r1.3
> > --- project-schema.xml 2001/09/26 18:41:16 1.2
> > +++ project-schema.xml 2001/09/26 20:22:22 1.3
> > @@ -18,7 +18,7 @@
> > </table>
> > </database>
> > <database name="@PROJECT@2">
> > - <table name="RDF" idMethod="idbroker">
> > + <table name="RDF2" idMethod="idbroker">
> > <column name="RDF_ID" required="true"
> > primaryKey="true" type="INTEGER"/>
> > <column name="TITLE" size="255" type="VARCHAR"/>
> > <column name="BODY" size="255" type="VARCHAR"/>
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: turbine-tdk-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > turbine-tdk-dev-help@jakarta.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org