Database Dialect for Progress 9.1D

Description

The current org.hibernate.dialect.ProgressDialect does not support Sequences, as Progress 9.1 does. Following is a working Dialect for Progress 9.1 D Databases.
Please include it on the distribution (or update ProgressDialect).

package org.hibernate.dialect;

import java.sql.Types;

import org.hibernate.dialect.Dialect;

public class Progress9Dialect extends ProgressDialect {

@Override
public boolean supportsSequences() {
return true;
}

@Override
public String getSequenceNextValString(String sequenceName) {
return "select " + getSelectSequenceNextValString( sequenceName ) + " from SYSPROGRESS.SYSCALCTABLE";
}

@Override
public String getSelectSequenceNextValString(String sequenceName) {
return sequenceName + ".nextval";
}

}

Thanks.

Activity

Show:

Christian Beikov October 27, 2021 at 11:47 AM

Adding new dialects is a community or vendor driven effort. We as Hibernate team explicitly do not want to bother with any new dialects anymore unless someone steps up and provides full support for that. Read the document about the process: https://github.com/hibernate/hibernate-orm/blob/wip/6.0/dialects.adoc

So if you want this dialect to be part of Hibernate, please provide a PR for Hibernate 6.0+ that adds an implementation into the hibernate-community-dialects sub-module. If you as a vendor care about this dialect to become a part of the hibernate-core artifact, read the requirements for this. You can contact us on Zulip about details: https://hibernate.zulipchat.com/#narrow/stream/132096-hibernate-user

Rejected

Details

Assignee

Reporter

Components

Priority

Created July 26, 2006 at 7:39 PM
Updated October 27, 2021 at 11:47 AM
Resolved October 27, 2021 at 11:47 AM