Package org.openxava.calculators
Interface IHibernateIdGeneratorCalculator
- All Superinterfaces:
ICalculator,Serializable
- All Known Implementing Classes:
IdentityCalculator,SequenceCalculator
Calculate ids using Hibernate native id generators.
These calculators do not calculate, instead delegate calculation in hibernate.
It's used for generate id using Hibernate id generator. Instead of programming the calculation with this calculate we use it to generate the xml code to insert in .hbml.xml file.
- Author:
- Javier Paniza
-
Method Summary
Modifier and TypeMethodDescriptionReturns the xml code to insert inside 'id' element in .hbml file.Methods inherited from interface org.openxava.calculators.ICalculator
calculate
-
Method Details
-
hbmGeneratorCode
String hbmGeneratorCode()Returns the xml code to insert inside 'id' element in .hbml file.
-