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

SQL Type determination for Subselect and Formula fails on custom types #545

Closed
jwgmeligmeyling opened this issue Mar 29, 2018 · 0 comments
Closed
Assignees
Milestone

Comments

@jwgmeligmeyling
Copy link
Collaborator

jwgmeligmeyling commented Mar 29, 2018

If one uses a custom type (@Type) in a @Subselect or @Formula entity, metamodel generation fails. This is because for custom types as the dictatedSizes() method returns Object[] { null }. Therefore, the workaround proposed in #519 does not work here.

Only seen in Hibernate, not sure how custom types affect other ORMs as well.

(Also reported via Slack)

Description

Expected behavior

Actual behavior

Steps to reproduce

Environment

Version:
JPA-Provider:
DBMS:
Application Server:

jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 27, 2018
jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 27, 2018
@beikov beikov added this to the 1.2.1 milestone Jun 27, 2018
jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 27, 2018
jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 27, 2018
jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 27, 2018
jwgmeligmeyling added a commit to jwgmeligmeyling/blaze-persistence that referenced this issue Jun 28, 2018
@beikov beikov closed this as completed Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants