Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call/callForList in TarantoolTemplate with non-entity result does not work with tuples #28

Closed
akudiyar opened this issue Mar 8, 2021 · 0 comments · Fixed by #48
Closed
Assignees
Labels
enhancement New feature or request

Comments

@akudiyar
Copy link
Collaborator

akudiyar commented Mar 8, 2021

Description:

If call/callForList methods are called with non-entity return type and invoke a stored function which returns a list of tuples, the result deserialization fails with an error like:

org.springframework.dao.DataRetrievalFailureException: io.tarantool.driver.mappers.MessagePackValueMapperException: ValueConverter for type class org.msgpack.value.impl.ImmutableArrayValueImpl is not found; nested exception is io.tarantool.driver.mappers.MessagePackValueMapperException: ValueConverter for type class org.msgpack.value.impl.ImmutableArrayValueImpl is not found

If the stored function returns a list of tables (maps), the methods work normally. But calling tomap on each tuple may cause serious performance problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants