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

HHH-17068, HHH-18585 move layer-breaking enums #8897

Closed
wants to merge 4 commits into from

Conversation

gavinking
Copy link
Member

@gavinking gavinking commented Sep 7, 2024

[Please describe here what your change is about]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-17068
https://hibernate.atlassian.net/browse/HHH-18585

default <X> JpaEntityJoin<T, X> join(Class<X> entityJavaType, SqmJoinType joinType) {
return join( entityJavaType, joinType.getCorrespondingJpaJoinType() );
}

default <X> JpaEntityJoin<T, X> join(Class<X> entityJavaType, org.hibernate.query.common.JoinType joinType) {
return join( entityJavaType, SqmJoinType.from(joinType) );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.join
should be avoided because it has been deprecated.
<X> JpaEntityJoin<T,X> join(EntityDomainType<X> entity, SqmJoinType joinType);

default <X> JpaEntityJoin<T,X> join(EntityDomainType<X> entity, org.hibernate.query.common.JoinType joinType) {
return join( entity, SqmJoinType.from(joinType) );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.join
should be avoided because it has been deprecated.
<X> JpaDerivedJoin<X> join(Subquery<X> subquery, SqmJoinType joinType);

default <X> JpaDerivedJoin<X> join(Subquery<X> subquery, org.hibernate.query.common.JoinType joinType) {
return join( subquery, SqmJoinType.from(joinType) );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.join
should be avoided because it has been deprecated.
<X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery, SqmJoinType joinType);

@Incubating
default <X> JpaDerivedJoin<X> joinLateral(Subquery<X> subquery, org.hibernate.query.common.JoinType joinType) {
return joinLateral( subquery, SqmJoinType.from(joinType) );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.joinLateral
should be avoided because it has been deprecated.
<X> JpaDerivedJoin<X> join(Subquery<X> subquery, SqmJoinType joinType, boolean lateral);

default <X> JpaDerivedJoin<X> join(Subquery<X> subquery, org.hibernate.query.common.JoinType joinType, boolean lateral) {
return join( subquery, SqmJoinType.from(joinType), lateral );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.join
should be avoided because it has been deprecated.
<X> JpaJoin<?, X> join(JpaCteCriteria<X> cte, SqmJoinType joinType);

default <X> JpaJoin<?, X> join(JpaCteCriteria<X> cte, org.hibernate.query.common.JoinType joinType) {
return join( cte, SqmJoinType.from(joinType) );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
JpaFrom.join
should be avoided because it has been deprecated.
@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Sep 8, 2024

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [3af1951]

› This message was automatically generated.

@gavinking gavinking changed the title HHH-17068 move layer-breaking enums from o.h.q.sqm to o.h.q.common HHH-17068, HHH-18585 move layer-breaking enums from o.h.q.sqm to o.h.q.common Sep 8, 2024
@gavinking gavinking changed the title HHH-17068, HHH-18585 move layer-breaking enums from o.h.q.sqm to o.h.q.common HHH-17068, HHH-18585 move layer-breaking enums Sep 8, 2024
@gavinking
Copy link
Member Author

@sebersole got time to review this? Apologies for nagging.

@sebersole
Copy link
Member

Could you run spotless on this? ;)

Otherwise, looks good to me

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

Successfully merging this pull request may close these issues.

2 participants