You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* When using this test data with [LightJavaCodeInsightFixtureTestCase],
14
+
* the highlighted elements are not parsed correctly, resulting in errors.
15
+
* Compare the highlights in this test data with the actual highlights in IDEA,
16
+
* and visually confirm that the highlights and errors occur as expected based on the test data.
17
+
*/
18
+
@Dao
19
+
publicinterfaceAnnotationOptionTestInValidDao {
20
+
21
+
/**
22
+
* include: Error highlight when specifying fields not defined in the parameter type
23
+
* Error: Field [invalidField] specified in [include] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
* exclude: Error highlight when specifying fields not defined in the parameter type
32
+
* Error: Field [salary] specified in [exclude] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
* MultiInsert: Error highlight when specifying fields not defined in immutable Entity
41
+
* Also error highlight when specifying fields not defined in the parameter type
42
+
* Error: Field [salary] specified in [include] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
43
+
* Field [bonus] specified in [exclude] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
* Batch annotations: Error highlight when specifying fields not defined in the parameter type
62
+
* Error: Field [email] specified in [include] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
* Error: Field [embeddableEntity] specified in [include] option is an Embeddable type "ClientUser". Must specify its properties. Available properties: [id, name, number]
72
+
*/
73
+
@Update(include = {"embeddableEntity"})
74
+
intupdateEmbedded(Departmentdepartment);
75
+
76
+
/**
77
+
* Error when there is a mistake in Embedded class properties
78
+
* Error: Field [age] specified in [include] option does not exist in "ClientUser". Available fields: [id, name, number, childEmbedded, childEmbedded2]
* Error highlight when specifying invalid fields in Returning option
92
+
* Error: Field [embeddableEntity] specified in [exclude] option is an Embeddable type "ClientUser". Must specify its properties. Available properties: [id, name, number]
* MultiInsert Returning option: Error highlight in both include/exclude when specifying invalid fields
101
+
* Error: Field [email] specified in [include] option does not exist in "Department". Available fields: [id, name, location, managerCount, subId, embeddableEntity, embeddableEntity2]
0 commit comments