Skip to content

Commit

Permalink
0003628: DBFill improvements to support UUID fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmind-josh committed Jul 12, 2018
1 parent 2df85b3 commit 7b9748f
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -800,6 +800,9 @@ private Object generateRandomValueForColumn(Column column) {
if (column.getJdbcTypeName() != null && (column.getJdbcTypeName().equals("JSON") || column.getJdbcTypeName().equals("jsonb"))) {
objectValue = "{\"jumpmind\":\"symmetricds\"}";
}
else if ("UUID".equalsIgnoreCase(column.getJdbcTypeName())) {
objectValue = randomUUID();
}
else {
int size = 0;
// Assume if the size is 0 there is no max size configured.
Expand Down

0 comments on commit 7b9748f

Please sign in to comment.