Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {"guitar":{"passion":3,
- "expertise":5,
- "willingToTeach":false,
- "lookingForOthers":false
- }
- },
- {"soccer":{"passion":3,
- "expertise":3,
- "willingToTeach":true,
- "lookingForOthers":true
- }
- }
- ]
- val pgObject = new PGobject();
- pgObject.setType("jsonb")
- [PSQLException: ERROR: column "passions" is of type jsonb[] but expression is of type jsonb
- Hint: You will need to rewrite or cast the expression.
- Position: 43]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement