Package org.g4studio.core.id

Examples of org.g4studio.core.id.SequenceStorer


    dto = (BaseDto)g4Dao.queryForObject("IdGenerator.getEaSequenceByFieldName", dto);
    DefaultIDGenerator idGenerator = new DefaultIDGenerator();
    DefaultSequenceFormater sequenceFormater = new DefaultSequenceFormater();
    sequenceFormater.setPattern(dto.getAsString("pattern"));
    DefaultSequenceGenerator sequenceGenerator = new DefaultSequenceGenerator(getFieldname());
    SequenceStorer sequenceStorer = new DBSequenceStorer();
    sequenceGenerator.setSequenceStorer(sequenceStorer);
    sequenceGenerator.setCache(catche);
    idGenerator.setSequenceFormater(sequenceFormater);
    idGenerator.setSequenceGenerator(sequenceGenerator);
    return idGenerator;
View Full Code Here

TOP

Related Classes of org.g4studio.core.id.SequenceStorer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.