org.codehaus.jackson.annotate.JsonBackReference Java Examples
The following examples show how to use
org.codehaus.jackson.annotate.JsonBackReference.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: MaterialType.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@XmlTransient @JsonBackReference("materialType-type") @OneToMany(fetch = FetchType.LAZY, mappedBy = "materialType") public Set<Catalog> getCatalogs() { return this.catalogs; }
Example #2
Source File: Uom.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("uom-type") @OneToMany(fetch = FetchType.LAZY, mappedBy = "uom") public Set<Catalog> getCatalogs() { return this.catalogs; }
Example #3
Source File: Catalog.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("materialType-type") @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "tid", nullable = false) public MaterialType getMaterialType() { return this.materialType; }
Example #4
Source File: Catalog.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("uom-type") @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "uomId", nullable = false) public Uom getUom() { return this.uom; }
Example #5
Source File: MaterialType.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@XmlTransient @JsonBackReference("materialType-type") @OneToMany(fetch = FetchType.LAZY, mappedBy = "materialType") public Set<Catalog> getCatalogs() { return this.catalogs; }
Example #6
Source File: Uom.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("uom-type") @OneToMany(fetch = FetchType.LAZY, mappedBy = "uom") public Set<Catalog> getCatalogs() { return this.catalogs; }
Example #7
Source File: Catalog.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("materialType-type") @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "tid", nullable = false) public MaterialType getMaterialType() { return this.materialType; }
Example #8
Source File: Catalog.java From Spring-MVC-Blueprints with MIT License | 4 votes |
@JsonBackReference("uom-type") @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "uomId", nullable = false) public Uom getUom() { return this.uom; }
Example #9
Source File: User.java From website with GNU Affero General Public License v3.0 | 4 votes |
@JsonBackReference @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "COMPANY_ID", insertable = true, updatable = false, nullable = false) public Company getCompany() { return company; }