-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
METAGEN-54 XML-only field access type Set attribute not generated
- Loading branch information
1 parent
32c02d2
commit 643f58e
Showing
8 changed files
with
148 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Car.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.hibernate.jpamodelgen.test.xmlonly; | ||
|
||
import java.util.Set; | ||
|
||
public class Car { | ||
public Long getId() { | ||
return 1L; | ||
} | ||
|
||
public void setId(Long id) { | ||
} | ||
|
||
public Set<Tire> getTires() { | ||
return null; | ||
} | ||
|
||
public void setTires(Set<Tire> tires) { | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Course.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.hibernate.jpamodelgen.test.xmlonly; | ||
|
||
import java.util.Set; | ||
|
||
public class Course { | ||
private Long id; | ||
private String name; | ||
private Set<Teacher> qualifiedTeachers; | ||
} |
8 changes: 8 additions & 0 deletions
8
...ing/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Teacher.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.hibernate.jpamodelgen.test.xmlonly; | ||
|
||
import java.util.Set; | ||
|
||
public class Teacher { | ||
private Long id; | ||
private Set<Course> qualifiedFor; | ||
} |
18 changes: 18 additions & 0 deletions
18
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/xmlonly/Tire.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package org.hibernate.jpamodelgen.test.xmlonly; | ||
|
||
public class Tire { | ||
public Long getId() { | ||
return 1L; | ||
} | ||
|
||
public void setId(Long id) { | ||
} | ||
|
||
public Car getCar() { | ||
return null; | ||
} | ||
|
||
public void setCar(Car car) { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters