Although in general I think that instead of Lift hardcoding its set of drivers, it should allow anyone to subclass DriverType and supply it to Lift.
On Sun, Dec 27, 2009 at 12:41 PM, Timothy Perrett <timo...@getintheloop.eu>wrote: > Good lord - I could not agree more, do not use Access. If you need a free > database on wintel, just use MS SQL Express. > > You could find yourself in a world of hurt and concurrency issues with > Access and Lift. > > Cheers, Tim > > On 27 Dec 2009, at 17:31, Peter Robinett wrote: > > > Hi Gang, > > > > I believe that Schemefier is failing to find a database driver named > > Access and cannot default to a generic SQL one since DriverType is an > > abstract class. Supported databases are: PostgreSQL, Derby (included > > if you use one of the Maven archetypes, easy to add if you did not), > > MaxDb, H2, SQL Server, MySQL, and Oracle. If you absolutely need to > > use MS Access (which I imagine many people here will advise against) > > we can help you extend DriverType to create an Access driver. > > > > Hope that helps. > > > > Peter > > > > On Dec 25, 10:40 am, Gang <wangga...@gmail.com> wrote: > >> Hi All, > >> > >> I'm learning Lift, and get to do a small project in Lift. The > >> requirement is to connect to MS Access database. I got an error at > >> the Schemifier.schemify() call. I have setup DSN in window and was > >> able to connect to the database from NetBeans. the error in the > >> log.... > >> > >> INFO: ERROR - Failed to Boot > >> scala.MatchError: ACCESS > >> at net.liftweb.mapper.SuperConnection.calcDriver(DB.scala:682) > >> at net.liftweb.mapper.Schemifier$$anonfun$schemify$1.apply > >> (Schemifier.scala:56) > >> at net.liftweb.mapper.Schemifier$$anonfun$schemify$1.apply > >> (Schemifier.scala:54) > >> at net.liftweb.mapper.DB$.use(DB.scala:305) > >> at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala: > >> 53) > >> at net.liftweb.mapper.Schemifier$.schemify(Schemifier.scala: > >> 36) > >> at bootstrap.liftweb.Boot.boot(Boot.scala:24) > >> > >> Any help is appreciated. > >> > >> Gang > > > > -- > > > > You received this message because you are subscribed to the Google Groups > "Lift" group. > > To post to this group, send email to lift...@googlegroups.com. > > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.