From: Wojtek on 14 Oct 2009 11:24 Lew wrote : > And the standard Java API does not have a class 'SqlDate'. No, but there is the JDBC Timestamp, http://java.sun.com/j2se/1.4.2/docs/api/java/sql/Timestamp.html which extends Date. -- Wojtek :-)
From: Mike Schilling on 14 Oct 2009 12:13 Rzeznik wrote: > On 14 Paz, 17:40, "Mike Schilling" <mscottschill...(a)hotmail.com> > wrote: > >> >> If they want to hack the class to make it subclassable, there are a >> couple ways to do that. I can't prevent that nor do I want to, but >> the fact that it nedded to be hacked acts as a warning that they >> need >> to be careful when using a newer version. >> > > Yeah, right, so why this unfortunate 'final'? To signal that subclassing isn't supported.
From: Rzeźnik on 14 Oct 2009 12:23 On 14 Paź, 18:13, "Mike Schilling" <mscottschill...(a)hotmail.com> wrote: > Rzeznik wrote: > > On 14 Paz, 17:40, "Mike Schilling" <mscottschill...(a)hotmail.com> > > wrote: > > >> If they want to hack the class to make it subclassable, there are a > >> couple ways to do that. I can't prevent that nor do I want to, but > >> the fact that it nedded to be hacked acts as a warning that they > >> need > >> to be careful when using a newer version. > > > Yeah, right, so why this unfortunate 'final'? > > To signal that subclassing isn't supported. We are going in circles. I could answer: how do you know? one more time, and then point you to parts of my previous posts. So, to cut long story short: use it with care, not just to be safe. It's not a condom :-))
From: Mike Schilling on 14 Oct 2009 12:25 Rzeznik wrote: > On 14 Paz, 18:13, "Mike Schilling" <mscottschill...(a)hotmail.com> > wrote: >> Rzeznik wrote: >>> On 14 Paz, 17:40, "Mike Schilling" <mscottschill...(a)hotmail.com> >>> wrote: >> >>>> If they want to hack the class to make it subclassable, there are >>>> a >>>> couple ways to do that. I can't prevent that nor do I want to, >>>> but >>>> the fact that it nedded to be hacked acts as a warning that they >>>> need >>>> to be careful when using a newer version. >> >>> Yeah, right, so why this unfortunate 'final'? >> >> To signal that subclassing isn't supported. > > We are going in circles. I could answer: how do you know? one more > time, I'm the author. It's not supported unless I say so :-)
From: Rzeźnik on 14 Oct 2009 12:30
On 14 Paź, 18:25, "Mike Schilling" <mscottschill...(a)hotmail.com> wrote: > > >>> Yeah, right, so why this unfortunate 'final'? > > >> To signal that subclassing isn't supported. > > > We are going in circles. I could answer: how do you know? one more > > time, > > I'm the author.  It's not supported unless I say so :-) Blah, blah :-))))) |