Created
March 18, 2009 16:05
-
-
Save timperrett/81220 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def buildSetStringValue(accessor : Method, columnName : String): (T, String) => Unit = (inst, v) => doField(inst, accessor, {case f: MappedText[T] => | |
val toSet = v match { | |
case null => null | |
case other => other | |
} | |
f.data() = toSet | |
f.orgData() = toSet | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment