If you have a table named FOO, torque will generate the following:
map/FooMapBuilder.java
peer/BaseFooPeer.java
BaseFoo.java
peer/FooPeer.java
Foo.java
The last two classes are only generated when torque is run for the first time after it
is
built. These classes are empty (or mostly so) and you should use them to add any
appropriate business logic.
It seems you may be missing these classes, if so, make sure a file called "firstbuild"
is
located in the same directory as torque.xml (where you are running torque from) and
then
rerun torque.
John McNAlly
Leandro Rodrigo Saad Cruz wrote:
>
> Why does torque generates an abstract class that extends BaseObject and
> tries to make an instance of an Object of it's type in a method called
> copy().
> Do I have to code an concrete class or interface to make my code compile
> ???
>
> --
> Leandro Rodrigo Saad Cruz
>
> InterBusiness Tecnolgia e Servicos
> http://www.ibnetwork.com.br
> telefone 4191-3638
> Sao Paulo - SP - Brasil
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]