I have some patches to Schemifier that were not ready by the 1.0
freeze.
I tracked this problem down to line 122 of Schemifier.scala:
using(md.getTables(null, getDefaultSchemaName(connection), null,
null)){ rs =>
But an ifdef is obviously not what we want here.
I think I should have put this line at bottom of SqlServerDriver
definition (in Driver.scala):
overrride def defaultSchemaName : Box[String] = Full("dbo")
Specifically,
diff --git a/lift-mapper/src/main/scala/net/liftweb/mapper/
Driver.scala b/lift-mindex 07110f2..27c2ae4 100644
--- a/lift-mapper/src/main/scala/net/liftweb/mapper/Driver.scala
+++ b/lift-mapper/src/main/scala/net/liftweb/mapper/Driver.scala
@@ -169,7 +169,7 @@ object SqlServerDriver extends DriverType
("Microsoft SQL Ser def longColumnType = "BIGINT"
def doubleColumnType = "FLOAT"
- //override def defaultSchemaName : Box[String] = Full("dbo")
+ override def defaultSchemaName : Box[String] = Full("dbo")
}
object OracleDriver extends DriverType("Oracle") {
I see a NPE fail at ensureIndexes in Schemifier in the lift-mapper
tests after this delta.
I'll post a fix for this as soon as I have it. I will commit these
fixes as soon as I get a chance.
Regards,
Al