提交 b8c6a437 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fulltext search: UUID primary keys are now supported. (tabs instead of spaces)

上级 2178be7f
...@@ -491,9 +491,9 @@ public class FullText { ...@@ -491,9 +491,9 @@ public class FullText {
case Types.VARBINARY: case Types.VARBINARY:
case Types.LONGVARBINARY: case Types.LONGVARBINARY:
case Types.BINARY: case Types.BINARY:
if (data instanceof UUID) { if (data instanceof UUID) {
return "'" + data.toString() + "'"; return "'" + data.toString() + "'";
} }
return "'" + StringUtils.convertBytesToHex((byte[]) data) + "'"; return "'" + StringUtils.convertBytesToHex((byte[]) data) + "'";
case Types.CLOB: case Types.CLOB:
case Types.JAVA_OBJECT: case Types.JAVA_OBJECT:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论