com.jpattern.orm.test.domain.BeanWithValuesGenerator Maven / Gradle / Ivy
The newest version!
package com.jpattern.orm.test.domain;
import com.jpattern.orm.annotation.Column;
import com.jpattern.orm.annotation.Generator;
import com.jpattern.orm.annotation.Id;
import com.jpattern.orm.annotation.generator.GeneratorType;
/**
*
* @author Francesco Cina'
*
* Apr 1, 2012
*/
public class BeanWithValuesGenerator {
@Id
@Generator(generatorType = GeneratorType.SEQUENCE, name = "SEQ_BLOBCLOB", ifValueIn={12l,15l})
@Column(name = "ID")
long index;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy