Example usage for org.hibernate.annotations CascadeType ALL

List of usage examples for org.hibernate.annotations CascadeType ALL

Introduction

In this page you can find the example usage for org.hibernate.annotations CascadeType ALL.

Prototype

CascadeType ALL

To view the source code for org.hibernate.annotations CascadeType ALL.

Click Source Link

Document

Includes all types listed here.

Usage

From source file:de.learnlib.alex.learning.entities.LearnerResult.java

License:Apache License

/**
 * @return The algorithm to use during the learning.
 *//*  w  ww  .  ja  v a2 s  . c  o m*/
@Cascade(CascadeType.ALL)
public AbstractLearningAlgorithm<String, String> getAlgorithm() {
    return algorithm;
}

From source file:de.learnlib.alex.learning.entities.LearnerResult.java

License:Apache License

@OneToOne
@Cascade(CascadeType.ALL)
public AbstractWebDriverConfig getDriverConfig() {
    return driverConfig;
}

From source file:depro.modelo.Plu.java

/**
 * @return the ventas/*from w  w  w. j av  a  2  s .c  o  m*/
 */
@OneToMany(mappedBy = "plu")
@Cascade({ CascadeType.ALL })
@LazyCollection(LazyCollectionOption.FALSE)
public List<Venta> getVentas() {
    return ventas;
}

From source file:depro.modelo.Plu.java

/**
 * @return the preciosTienda//from   w w  w .j  a va2  s  .  co m
 */
@OneToMany(mappedBy = "plu")
@Cascade({ CascadeType.ALL })
@LazyCollection(LazyCollectionOption.FALSE)
public List<Precio> getPreciosTienda() {
    return preciosTienda;
}

From source file:depro.modelo.PuntoVenta.java

/**
 * @return the ventasPlu//from   ww  w  .ja v  a  2s.  com
 */

@OneToMany(mappedBy = "puntoVenta")
@Cascade({ CascadeType.ALL })
@LazyCollection(LazyCollectionOption.FALSE)
public List<Venta> getVentasPlu() {
    return ventasPlu;
}

From source file:depro.modelo.PuntoVenta.java

/**
 * @return the preciosTienda//from ww w  .jav  a  2  s.  c  o m
 */
@OneToMany(mappedBy = "puntoVenta")
@Cascade({ CascadeType.ALL })
@LazyCollection(LazyCollectionOption.FALSE)
public List<Precio> getPreciosTienda() {
    return preciosTienda;
}

From source file:edu.duke.cabig.c3pr.domain.Address.java

License:BSD License

@OneToMany(orphanRemoval = true)
@Fetch(FetchMode.SUBSELECT)/*from   w w  w.  j av a2 s .c  o  m*/
@Cascade(value = { CascadeType.ALL })
@JoinColumn(name = "add_id")
@OrderBy("id")
public Set<AddressUseAssociation> getAddressUseAssociation() {
    return addressUseAssociation;
}

From source file:edu.duke.cabig.c3pr.domain.BaseInvestigatorDataContainer.java

License:BSD License

@OneToMany(orphanRemoval = true)
@Cascade(value = { CascadeType.ALL })
@JoinColumn(name = "INV_ID")
@OrderBy("id")//www .  j a  v a2s  .  c  o  m
public List<BaseContactMechanismDataContainer> getContactMechanisms() {
    return contactMechanisms;
}

From source file:edu.duke.cabig.c3pr.domain.BaseOrganizationDataContainer.java

License:BSD License

@ManyToMany(mappedBy = "baseOrganizationDataContainers")
@Cascade(value = { CascadeType.ALL })
public List<BaseResearchStaffDataContainer> getBaseResearchStaffDataContainers() {
    return baseResearchStaffDataContainers;
}

From source file:edu.duke.cabig.c3pr.domain.BaseResearchStaffDataContainer.java

License:BSD License

@OneToMany(orphanRemoval = true)
@Cascade(value = { CascadeType.ALL })
@JoinColumn(name = "RS_ID")
@OrderBy("id")/*w  w w  .j ava2s .c om*/
public List<BaseContactMechanismDataContainer> getContactMechanisms() {
    return contactMechanisms;
}