File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
common/src/main/java/org/hibernate/tool/jdbc2cfg
nodb/src/test/java/org/hibernate/tool/hbm2x/Hbm2JavaTest Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ public void testPossibleKeyManyToOne() {
139
139
assertTrue (identifierProperty .getValue () instanceof Component );
140
140
Component cmpid = (Component ) identifierProperty .getValue ();
141
141
assertEquals (2 , cmpid .getPropertySpan () );
142
- Iterator <?> iter = cmpid .getPropertyIterator ();
142
+ Iterator <?> iter = cmpid .getProperties (). iterator ();
143
143
Property id = (Property ) iter .next ();
144
144
Property extraId = (Property ) iter .next ();
145
145
assertEquals (
@@ -168,7 +168,7 @@ public void testKeyProperty() {
168
168
assertTrue (identifierProperty .getValue () instanceof Component );
169
169
Component cmpid = (Component ) identifierProperty .getValue ();
170
170
assertEquals (2 , cmpid .getPropertySpan () );
171
- Iterator <?> iter = cmpid .getPropertyIterator ();
171
+ Iterator <?> iter = cmpid .getProperties (). iterator ();
172
172
Property id = (Property )iter .next ();
173
173
Property extraId = (Property )iter .next ();
174
174
if ("extraId" .equals (id .getName ())) {
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public void testPossibleKeyManyToOne() {
129
129
assertTrue (identifierProperty .getValue () instanceof Component );
130
130
Component cmpid = (Component ) identifierProperty .getValue ();
131
131
assertEquals (2 , cmpid .getPropertySpan ());
132
- Iterator <?> iter = cmpid .getPropertyIterator ();
132
+ Iterator <?> iter = cmpid .getProperties (). iterator ();
133
133
Property id = (Property ) iter .next ();
134
134
Property extraId = (Property ) iter .next ();
135
135
assertEquals (
@@ -155,7 +155,7 @@ public void testKeyProperty() {
155
155
assertTrue (identifierProperty .getValue () instanceof Component );
156
156
Component cmpid = (Component ) identifierProperty .getValue ();
157
157
assertEquals (2 , cmpid .getPropertySpan ());
158
- Iterator <?> iter = cmpid .getPropertyIterator ();
158
+ Iterator <?> iter = cmpid .getProperties (). iterator ();
159
159
Property id = (Property )iter .next ();
160
160
Property extraId = (Property )iter .next ();
161
161
if ("extraId" .equals (id .getName ())) {
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ public void testUseRawTypeNullability() {
296
296
"wrappers should be used by default" );
297
297
pc = metadata .getEntityBinding ( "org.hibernate.tool.hbm2x.Hbm2JavaTest.Customer" );
298
298
Component identifier = (Component ) pc .getIdentifier ();
299
- assertFalse (((Property ) identifier .getPropertyIterator ().next () )
299
+ assertFalse (((Property ) identifier .getProperties (). iterator ().next () )
300
300
.getValue ().isNullable () );
301
301
assertEquals ( "long" , c2j .getJavaTypeName ( property , false ) );
302
302
}
You can’t perform that action at this time.
0 commit comments