Skip to content
This repository was archived by the owner on Jun 15, 2019. It is now read-only.

Not able to execute Native queries on documents(jsonb) column. #3

Open
jiveshrelhan opened this issue Feb 15, 2016 · 0 comments
Open

Comments

@jiveshrelhan
Copy link

I am stuck with few parameters in your document example.

I am not able to use
String sql = "select d.documents from JSONBEntity d";
Query query = getEntityManager().createQuery(sql);

(com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of com.github.pires.example.model.JSONBEntity out of START_ARRAY token
)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant