-
Notifications
You must be signed in to change notification settings - Fork 3.6k
HHH-19324 - Switch tests using hbm.xml to use mapping.xml #10116
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
base: main
Are you sure you want to change the base?
Conversation
this.hs = hs; | ||
} | ||
|
||
public Set getHs() | ||
{ | ||
public Set getHs() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
} | ||
|
||
public String toString() | ||
{ | ||
public String toString() { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
Object.toString
this.a = a; | ||
} | ||
|
||
public Set getHs() | ||
{ | ||
public Set getHs() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
getHs exposes the internal representation stored in field hs. The value may be modified
after this call to getHs
this.a = a; | ||
} | ||
|
||
public Set getGs() | ||
{ | ||
public Set getGs() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getGs
getGs exposes the internal representation stored in field gs. The value may be modified
after this call to getGs
getGs exposes the internal representation stored in field gs. The value may be modified
after this call to getGs
getGs exposes the internal representation stored in field gs. The value may be modified
after this call to getGs
private String transientField = "node original value"; | ||
|
||
public Set getDeliveryTransports() { | ||
public Set<Transport> getDeliveryTransports() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
getDeliveryTransports exposes the internal representation stored in field deliveryTransports. The value may be modified
after this call to getDeliveryTransports
@@ -43,15 +38,11 @@ | |||
this.name = name; | |||
} | |||
|
|||
public Set getNodes() { | |||
public Set<Node> getNodes() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
getNodes exposes the internal representation stored in field nodes. The value may be modified
after this call to getNodes
@@ -41,11 +61,11 @@ | |||
this.version = version; | |||
} | |||
|
|||
public Set getTransports() { | |||
public Set<Transport> getTransports() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getTransports
getTransports exposes the internal representation stored in field transports. The value may be modified
after this call to getTransports
getTransports exposes the internal representation stored in field transports. The value may be modified
after this call to getTransports
@@ -51,11 +51,11 @@ | |||
this.optionalComponent = optionalComponent; | |||
} | |||
|
|||
public Set getDirectReports() { | |||
public Set<Employee> getDirectReports() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getDirectReports
session.close(); | ||
factoryScope.inTransaction( (session ) -> { | ||
Definition definition = new Definition( 1, "stuff" ); | ||
Value value1 = new Value( 1, definition ); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
this.name = name; | ||
} | ||
|
||
public Set<Value> getValues() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getValues
@@ -39,11 +39,11 @@ | |||
this.info = info; | |||
} | |||
|
|||
public Set getSuites() { | |||
public Set<Suite> getSuites() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getSuites
getSuites exposes the internal representation stored in field suites. The value may be modified
after this call to getSuites
getSuites exposes the internal representation stored in field suites. The value may be modified
after this call to getSuites
getSuites exposes the internal representation stored in field suites. The value may be modified
after this call to getSuites
getSuites exposes the internal representation stored in field suites. The value may be modified
after this call to getSuites
getSuites exposes the internal representation stored in field suites. The value may be modified
after this call to getSuites
@@ -42,19 +42,19 @@ | |||
this.name = name; | |||
} | |||
|
|||
public Set getAddresses() { | |||
public Set<Address> getAddresses() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
getAddresses exposes the internal representation stored in field addresses. The value may be modified
after this call to getAddresses
this.addresses = addresses; | ||
} | ||
|
||
public Collection getFriends() { | ||
public Collection<Person> getFriends() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getFriends
getFriends exposes the internal representation stored in field friends. The value may be modified
after this call to getFriends
getFriends exposes the internal representation stored in field friends. The value may be modified
after this call to getFriends
getFriends exposes the internal representation stored in field friends. The value may be modified
after this call to getFriends
@@ -38,11 +38,11 @@ | |||
this.location = location; | |||
} | |||
|
|||
public Set getNotes() { | |||
public Set<Note> getNotes() { |
Check notice
Code scanning / CodeQL
Exposing internal representation Note test
after this call to getNotes
getNotes exposes the internal representation stored in field notes. The value may be modified
after this call to getNotes
fc8040f
to
27fa0e2
Compare
HHH-19433 - Deprecate @PropertyRef
HHH-19324 - Switch tests using hbm.xml to use mapping.xml
HHH-19433 - Deprecate @PropertyRef
[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-19324