org.hibernate.annotations.IndexColumn Java Examples

The following examples show how to use org.hibernate.annotations.IndexColumn. 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: AuftragDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Get the position entries for this object.
 */
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "auftrag")
@IndexColumn(name = "number", base = 1)
public List<AuftragsPositionDO> getPositionen()
{
  return this.positionen;
}
 
Example #2
Source File: AuftragDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Get the payment schedule entries for this object.
 */
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "auftrag")
@IndexColumn(name = "number", base = 1)
public List<PaymentScheduleDO> getPaymentSchedules()
{
  return this.paymentSchedules;
}
 
Example #3
Source File: EingangsrechnungDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "eingangsrechnung")
@IndexColumn(name = "number", base = 1)
@Override
public List<EingangsrechnungsPositionDO> getPositionen()
{
  return this.positionen;
}
 
Example #4
Source File: RechnungDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "rechnung")
@IndexColumn(name = "number", base = 1)
@Override
public List<RechnungsPositionDO> getPositionen()
{
  return this.positionen;
}
 
Example #5
Source File: ContactDO.java    From projectforge-webapp with GNU General Public License v3.0 5 votes vote down vote up
/**
 * Get the contact entries for this object.
 */
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, orphanRemoval = true, mappedBy = "contact")
@IndexColumn(name = "number", base = 1)
public Set<ContactEntryDO> getContactEntries()
{
  return this.contactEntries;
}