OracleDriver MappedString not using varchar2

Showing 1-4 of 4 messages
OracleDriver MappedString not using varchar2 Lachlan Deck 4/26/12 11:45 PM
Hi there,

is there a setting to default MappedStrings when the OracleDriver is in play to default to VARCHAR2 instead of VARCHAR?

16:34:01.926 [pool-47-thread-2] ERROR n.liftweb.http.provider.HTTPProvider - Failed to Boot! Your application may not run properly
java.lang.RuntimeException: Database scheme is out of date. The following is missing:
CREATE TABLE bugs (name VARCHAR(255) , address VARCHAR(1000) ............


Lachlan Deck
lachla...@gmail.com



Re: [Lift] OracleDriver MappedString not using varchar2 Jeppe Nejsum Madsen 4/27/12 8:12 AM
I don't think so. You could create your own driver (extending the
existing OracleDriver) and set DriverType.calcDriver....

/Jeppe
Re: [Lift] OracleDriver MappedString not using varchar2 Lachlan Deck 4/28/12 4:48 PM
[error] .../src/main/scala/bootstrap/liftweb/OracleDriver.scala:16: type OracleDriver is not a member of package net.liftweb.db
[error] object CustomOracleDriver extends net.liftweb.db.OracleDriver

Actually, how do I get it onto the classpath?

Cheers,
Lachlan Deck
lachla...@gmail.com



Re: [Lift] OracleDriver MappedString not using varchar2 Jeppe Nejsum Madsen 4/30/12 12:57 AM
Forget my initial idea, just saw that OracleDriver is an object....you
probably need to copy the OracleDriver source and implement your own
changes. A little more involved but just a few lines of code...


/Jeppe