Skip to content
Snippets Groups Projects
Commit 86efedf5 authored by Sebastian Listl's avatar Sebastian Listl :speech_balloon:
Browse files

SqlMaskingUtils.cast map nvarchar to varchar if derby

parent 44cef769
No related branches found
No related tags found
No related merge requests found
......@@ -3398,6 +3398,7 @@ SqlMaskingUtils.prototype.cast = function (pField, pTargetDatatype, pTargetLengt
case db.DBTYPE_DERBY10:
switch(pTargetDatatype)
{
case SQLTYPES.NVARCHAR:
case SQLTYPES.VARCHAR:
// Because of a Derby bug, you can't cast INTEGER into VARCHAR
// Therefor first cast to char then to varchar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment