Package org.hibernate.ogm.id.impl

Examples of org.hibernate.ogm.id.impl.OgmTableGenerator.configure()


    newParams.setProperty( OgmTableGenerator.SEGMENT_VALUE_PARAM, sequenceName );
    newParams.setProperty( OgmTableGenerator.TABLE_PARAM, HIBERNATE_SEQUENCES );
    newParams.setProperty( OgmTableGenerator.INITIAL_PARAM, String.valueOf( initialValue ) );
    newParams.put( PersistentIdentifierGenerator.IDENTIFIER_NORMALIZER, new DefaultObjectNameNormalizer() );
    OgmTableGenerator tableGenerator = new OgmTableGenerator();
    tableGenerator.configure( LongType.INSTANCE, newParams, new OgmDialect( dialect ) );
    return tableGenerator;
  }

  private static class DefaultObjectNameNormalizer extends ObjectNameNormalizer {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.