Skip to content

Conversation

@gavinking
Copy link
Member

[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.


@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jan 1, 2025

Thanks for your pull request!

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

❌ The pull request title should contain at least 2 words to describe the change properly
❌ All commit messages should start with a JIRA issue key matching pattern HHH-\d+
    ↳ Offending commits: [31335d6, ef398e6, f530548, eb45abe, cced717, 35fba77, dfd4205, 128221c, e168efa]

› This message was automatically generated.

}

private PersistentAttribute<? super J, ?> findAttributeInSupertypes(String attributeName) {
final PersistentAttribute<? super J, ?> attribute = managedType.findAttributeInSuperTypes( attributeName );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
ManagedDomainType.findAttributeInSuperTypes
should be avoided because it has been deprecated.
if ( superType != null ) {
return superType.findAttributeInSuperTypes( name );
else {
return supertype != null ? supertype.findAttributeInSuperTypes( name ) : null;

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
ManagedDomainType.findAttributeInSuperTypes
should be avoided because it has been deprecated.
- fix up typing issues with key/value subgraphs

@Override
default <X> SubGraph<X> addSubgraph(String name) {
return addSubGraph( name );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
Graph.addSubGraph
should be avoided because it has been deprecated.
@Override
<Y> SubGraph<Y> addTreatedSubgraph(Attribute<? super J, ? super Y> attribute, Class<Y> type);
default <X> SubGraph<X> addKeySubgraph(String name) {
return addKeySubGraph( name );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
Graph.addKeySubGraph
should be avoided because it has been deprecated.
 - attempt to fill in unimplemented operations from JPA 3.2
 - organize operations on Graph/GraphImplementor
public <K> SubGraphImplementor<K> addMapKeySubgraph(MapAttribute<? super J, K, ?> attribute) {
throw new UnsupportedOperationException( "Not yet implemented" );
public RootGraphImplementor<J> makeImmutableCopy(String name) {
return makeRootGraph( name, false );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
RootGraphImpl.makeRootGraph
should be avoided because it has been deprecated.

@Override
default <X> SubGraph<X> addSubgraph(String name, Class<X> type) {
return addSubGraph( name ).addTreatedSubGraph( type );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
Graph.addSubGraph
should be avoided because it has been deprecated.

@Override
default <X> SubGraph<X> addKeySubgraph(String name, Class<X> type) {
return addKeySubGraph( name ).addTreatedSubGraph( type );

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
Graph.addKeySubGraph
should be avoided because it has been deprecated.
@gavinking gavinking force-pushed the graphpocalypse branch 2 times, most recently from 89e51eb to f543986 Compare January 2, 2025 11:10
 - sort out handling of mutability
 - try to minimize diff
 - improve error nessages and add toStrings()
@gavinking gavinking merged commit e5a94c4 into hibernate:main Jan 2, 2025
20 of 24 checks passed
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.

1 participant