Skip to content

Commit

Permalink
Fix 236: Table: EdmType.GUID should map to java.util.UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
jcookems committed Apr 5, 2012
1 parent bb5fbed commit c884a33
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import java.text.ParseException;
import java.util.Date;
import java.util.UUID;

import javax.inject.Inject;

Expand Down Expand Up @@ -80,6 +81,9 @@ else if (EdmType.INT64.equals(edmType)) {
else if (EdmType.BINARY.equals(edmType)) {
return Base64.decode(value);
}
else if (EdmType.GUID.equals(edmType)) {
return UUID.fromString(value);
}

return value;
}
Expand Down

0 comments on commit c884a33

Please sign in to comment.