Hi Derek,
For me this sounds fine, but then I'm still a Lift and Scala newbie. I
think the best way is just to try it. ;-)
Whenever you have something that I can try, let me know.

/Jon

On Jul 23, 10:02 pm, Derek Chen-Becker <dchenbec...@gmail.com> wrote:
> OK, I think that this is happening because when we use the JDBC setObject
> call, we explicitly send the type. As far as I can tell the Oracle driver
> doesn't like java.sql.Types.BOOLEAN *at all*, so I'm trying to determine the
> best way to compensate. I'm not sure how common something like this might
> be, so it might be nice to allow the net.liftweb.mapper.Driver class to
> provide a partial function that allows the vendor-specific driver to remap
> the type. I would add something like:
>
> abstract class DriverType ... {
>   def columnTypeRemapper : PartialFunction[Int,Int] = {
>     case x => x
>   }
>
> }
>
> and then in the Oracle Driver:
>
> object OracleDriver extends ... {
>   override def columnTypeRemapper = {
>     case java.sql.Types.BOOLEAN => java.sql.Types.INTEGER
>   }
>   ...
>
> }
>
> Thoughts?
>
> Derek

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@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
-~----------~----~----~----~------~----~------~--~---

Reply via email to