Youngho Cho wrote:
....
>
> For the 4.0 generator usage,
>
> In my 3.3 schema xml
>
> I use database/baseClass like
> 
> <database name="@DATABASE_PROP_NAME@"
>   baseClass="com.nannet.jettiger.om.AbstractCache"
>  defaultJavaType="object">
> 
> and in the AbstractCache class, I put common function for all generated class.
> 
> In order to migrate to torque4, how to be a change ?
>
Hi Youngho,

As far as I found you have different options
- set the torque.om.dbObjectDefaultBaseClass generator option
- set the baseClass attribute on the database element in the schema
- set the baseClass attribute on the table element in the schema

So your old method should still work.

   Hope that helps,

          Thomas

2014-09-12 17:21 GMT+09:00 Thomas Fox <thomas....@seitenbau.com>:
> Hello Youngho
>
>> ...
>> The Generator looks like different
>
> Yes it is new-written and now better extensible. But if you have not changed 
> the templates this should not bother you. If you have changed the templates, 
> you can now specifically overwrite specific templates, no need to copy the 
> whole tree.
>
>> ...
>> Is there any plan to migrate JCS from 1.3.x to 2.x for torque4 ?
>
> Currently there is no plan I am aware of.  But I am working on 4.1 currently, 
> if you feel this would be an improvement please add a feature request to the 
> torque issue tracker.
>
>   Thanks,
>
>           Thomas
>
> ----- Ursprüngliche Mail -----
> Von: "Youngho Cho" <youngho1...@gmail.com>
> An: "Thomas Fox" <thomas....@seitenbau.com>
> CC: "Apache Torque Users List" <torque-user@db.apache.org>
> Gesendet: Freitag, 12. September 2014 10:11:15
> Betreff: Re: 3.3 to 4.0 migration
>
> Hello Tomas,
>
> Quicky read the torque4 document,
> I think I need some learing period for migration from 3.3.x to 4.x,
>>
> The BaseObject removed,
> The Generator looks like different
> and many chaned
> I need a better understanding about torque4 before my application's
> migration start.
>
> At this moment, I have a question.
>
> Is there any plan to migrate JCS from 1.3.x to 2.x for torque4 ?
>
> Thanks,
>
> Youngho
>
>
>
>
>
>
>
> 2014-09-09 9:23 GMT+09:00 Youngho Cho <youngho1...@gmail.com>:
>> Hello Thomas,
>>
>> I am gathering an information for the migration at this moment.
>>
>> When I start the migration and have some specific question I will ask.
>>
>>
>> Thanks,
>>
>> Youngho
>>
>> 2014-09-08 16:21 GMT+09:00 Thomas Fox <thomas....@seitenbau.com>:
>>> This is the only document i know in the official documentation.
>>> Do you have any specific questions?
>>>
>>>    Thomas
>>>
>>>
>>> ----- Ursprüngliche Mail -----
>>> Von: "Scott Eade" <sc...@eade.id.au>
>>> An: "Youngho Cho" <youngho1...@gmail.com>
>>> CC: torque-user@db.apache.org
>>> Gesendet: Sonntag, 7. September 2014 06:26:59
>>> Betreff: Re: 3.3 to 4.0 migration
>>>
>>>
>>>
>>>> On 7 Sep 2014, at 12:22 pm, Youngho Cho <youngho1...@gmail.com> wrote:
>>>>
>>>> Hello
>>>>
>>>> I am preparing torque 3.3 to 4.0 migration.
>>>>
>>>> I read torque-4.0/documentation/orm-reference/migration-from-torque-3.html.
>>>> But I hope to know more detail information.
>>>>
>>>> Is there any more detail document / information for migration process ?
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Youngho
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
>>> For additional commands, e-mail: torque-user-h...@db.apache.org
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
> For additional commands, e-mail: torque-user-h...@db.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscr...@db.apache.org
For additional commands, e-mail: torque-user-h...@db.apache.org

Reply via email to