public SequenceGeneratorDiscriptor(SequenceGenerator sequenceGenerator, String defaultSchemaName) { this.initialValue = sequenceGenerator.initialValue(); this.allocationSize = sequenceGenerator.allocationSize(); this.sequenceName = sequenceGenerator.sequenceName().isEmpty() ? default_sequence_name : sequenceGenerator .sequenceName(); this.schemaName = sequenceGenerator.schema().isEmpty() ? defaultSchemaName : sequenceGenerator.schema(); }
/** * @param locator * the java locator * @param annotation * the annotation * * @since 2.0.0 */ public SequenceGeneratorMetadataImpl(AbstractLocator locator, SequenceGenerator annotation) { super(); this.locator = locator; this.catalog = annotation.catalog(); this.schema = annotation.schema(); this.name = annotation.name(); this.sequenceName = annotation.sequenceName(); this.initialValue = annotation.initialValue(); this.allocationSize = annotation.allocationSize(); }
/** * @param locator * the java locator * @param annotation * the annotation * * @since 2.0.0 */ public SequenceGeneratorMetadataImpl(AbstractLocator locator, SequenceGenerator annotation) { super(); this.locator = locator; this.catalog = annotation.catalog(); this.schema = annotation.schema(); this.name = annotation.name(); this.sequenceName = annotation.sequenceName(); this.initialValue = annotation.initialValue(); this.allocationSize = annotation.allocationSize(); }
/** * @param locator * the java locator * @param annotation * the annotation * * @since 2.0.0 */ public SequenceGeneratorMetadataImpl(AbstractLocator locator, SequenceGenerator annotation) { super(); this.locator = locator; this.catalog = annotation.catalog(); this.schema = annotation.schema(); this.name = annotation.name(); this.sequenceName = annotation.sequenceName(); this.initialValue = annotation.initialValue(); this.allocationSize = annotation.allocationSize(); }
String schema = normalizeSchemaName(gen.schema()); String catalog = normalizeCatalogName(gen.catalog());
String schema = normalizeSchemaName(gen.schema()); String catalog = normalizeCatalogName(gen.catalog());
String schema = normalizeSchemaName(gen.schema()); String catalog = normalizeCatalogName(gen.catalog());
String schema = normalizeSchemaName(gen.schema()); String catalog = normalizeCatalogName(gen.catalog());