db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fischer <fisc...@seitenbau.net>
Subject Re: deprecated methods
Date Fri, 08 Jul 2005 15:03:23 GMT




Hi,

At the moment, in the CVS version, neither BasePeer nor BaseObject have any
deprecated methods, nor do the generated Peer and Object classes. Art the
moment, there are no plans to change this.

Hope that answers the question,

         Thomas

Bill Leng <wleng@metatomix.com> schrieb am 08.07.2005 16:48:39:

> Sorry, I did not make it clear. What I mean is that the
> torque-auto-generated Java source files (the peer classes) extend a
> Torque runtime class and override the deprecated method. If there is a
> replacement to the deprecated method, torque should auto-generate the
> Java source file using the replacement instead of the deprecated one. :-)
>
> Bill
>
> Thomas Fischer wrote:
>
> >
> >
> >Hi,
> >
> >ok, so its not generated code, but code in the Torque runtime.
> >For the runtime, the question cannot be answered in general. Some
> >deprecated have disapperared, some have not, and some methods might have
> >been deprecated anew. You would have to check the CVS (e.g. via
> >http://cvs.apache.org/viewcvs.cgi) to find out about a particular
method.
> >
> >For the getMapBuilder method, there is is a method getMapBuilder(String)
in
> >BasePeer, which does not get overridden and is not deprecated. In the
> >generated Peer classes, there is a getMapBuilder() without arguments,
which
> >is also not deprecated.
> >
> >  Thomas
> >
> >Bill Leng <wleng@metatomix.com> schrieb am 08.07.2005 15:51:29:
> >
> >
> >
> >>Hi Tom,
> >>
> >>For example, in org.apache.torque.util.BasePeer, there is a deprecated
> >>method getMapBuilder. This method ges overriden in the auto-generated
> >>peer class.
> >>
> >>thanks
> >>
> >>Bill
> >>
> >>Thomas Fischer wrote:
> >>
> >>
> >>
> >>>Hi bill,
> >>>
> >>>I did a quick serach on the word deprecated in the templates in CVS
and
> >>>
> >>>
> >did
> >
> >
> >>>not find it. So I would assume that someone has already removed it.
> >>>
> >>>Using Torque 3.1, I also do not find thge word "deprecated" in any
> >>>
> >>>
> >class.
> >
> >
> >>>Which Torque version are you using ? Can you give an example of a
> >>>deprecated method ?
> >>>
> >>>        Thomas
> >>>
> >>>Bill Leng <wleng@metatomix.com> schrieb am 06.07.2005 21:39:20:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Tom,
> >>>>
> >>>>thanks a lot for the inside info. regarding to 3.2, is there a plan
to
> >>>>remove the use of deprecated methods in the generated peer class? It
> >>>>sounds silly to have the auto-generated java file to use deprecated
> >>>>code. :-)
> >>>>
> >>>>thanks
> >>>>
> >>>>Bill
> >>>>
> >>>>
> >>>>
> >>>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> >>>For additional commands, e-mail: torque-user-help@db.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> >>For additional commands, e-mail: torque-user-help@db.apache.org
> >>
> >>
> >>
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> >For additional commands, e-mail: torque-user-help@db.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>


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


Mime
View raw message