On Thu, Aug 20, 2009 at 6:37 PM, Grant Wood <[email protected]> wrote:

>
> Hi David,
>
> Here is the output you wanted:
> -------------------------------------------------- Begin output
> [INFO] Starting jetty 6.1.19 ...
> 2009-08-20 20:34:08.780::INFO:  jetty-6.1.19
> 2009-08-20 20:34:08.908::INFO:  No Transaction manager found - if your
> webapp requires one, please configure one.
> Date: 1 2009-08-20 00:00:00.0
> 2009-08-20 20:34:11.340::INFO:  Started
> [email protected]:8080
> [INFO] Started Jetty Server
> [INFO] Starting scanner at interval of 5 seconds.
>
>
> You'll notice that the timestamps on startup are 20:34:11.340 but the
> DateTest output was: 00:00:00.0
>

Yeah... it looks like a problem with the Derby driver...

Derek -- Did the fix to the Derby driver make it into 1.0.1?

Grant -- if you can use 1.1-SNAPSHOT or 1.1-M4, you'll have a fix to the
problem.


>
> I hope this is helpful.
>
> -Grant
>
>
>
> On Aug 20, 11:38 am, David Pollak <[email protected]>
> wrote:
> > On Wed, Aug 19, 2009 at 10:14 PM, Grant Wood <[email protected]>
> wrote:
> >
> > > David,
> >
> > > I'm developing with Derby.
> >
> > Please add this class:
> >
> > import net.liftweb._
> > import mapper._
> >
> > class DateTest extends LongKeyedMapper[DateTest] with IdPK {
> >
> >   def getSingleton = DateTest
> >
> >   object date extends MappedDateTime(this)
> >
> > }
> >
> > object DateTest extends DateTest with LongKeyedMetaMapper[DateTest]
> >
> > And in boot, schemify DateTest and at the end of Boot, include the lines:
> >
> >  DateTest.create.date(now).save
> >
> >     for {
> >       dt <- DateTest.findAll()
> >     } println("Date: "+dt.id+" "+dt.date.is)
> >
> > Then send the output
> >
> >
> >
> >
> >
> >
> >
> > > I've been running Lift 1.0
> >
> > > -Grant
> >
> > > On Aug 19, 1:51 pm, David Pollak <[email protected]>
> > > wrote:
> > > > Grant,
> >
> > > > What database are you using?
> >
> > > > What version of Lift?
> >
> > > > Thanks,
> >
> > > > David
> >
> > --
> > Lift, the simply functional web frameworkhttp://liftweb.net
> > Beginning Scalahttp://www.apress.com/book/view/1430219890
> > Follow me:http://twitter.com/dpp
> > Git some:http://github.com/dpp
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to