Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sybase support does not work with Sybase ASE 15.7 #1220

Closed
hakkika opened this issue Mar 1, 2016 · 2 comments
Closed

Sybase support does not work with Sybase ASE 15.7 #1220

hakkika opened this issue Mar 1, 2016 · 2 comments
Labels
Milestone

Comments

@hakkika
Copy link
Contributor

@hakkika hakkika commented Mar 1, 2016

It seems that the SAP ASE support does not work on Sybase ASE 15.7:

$ ./flyway info
Flyway 4.0 by Boxfuse

Database: jdbc:sybase:Tds:127.0.1.1:5000/sybdb (Adaptive Server Enterprise 15.7)
ERROR: Unsupported Database: Adaptive Server Enterprise 15.7

Maybe the expected string in
flyway/flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/DbSupportFactory.java
should be something else:

//Sybase ASE support
    if (databaseProductName.startsWith("ASE")) {
        return new SybaseASEDbSupport(connection);
    }
@axelfontaine
Copy link
Contributor

@axelfontaine axelfontaine commented Mar 21, 2016

Fixed with PR.

@seneiran
Copy link

@seneiran seneiran commented Jun 13, 2018

Hey,i'm using flyway plugin with maven, i have tried several versions and currently the version 5.1 still having this issue. Exists a way to force flyway the DB server or at lease a workaround to avoid this error?

im using
Sybase 15.7 (supported by Flyway)
Flyway-maven-plugin v 5.1.0
JTDS 1.3.1

my connection string:
[INFO] ------------------------------------------------------------------------
[INFO] Building flyway-mvn 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- flyway-maven-plugin:5.1.0:repair (default-cli) @ flyway-mvn ---
[INFO] Flyway Community Edition 5.1.0 by Boxfuse
[INFO] Database: jdbc:jtds:sybase://x.x.x.81:17000/database (sql server 12.50)

And the error im getting:

Unsupported Database: sql server 12.50

i appreciate any support or guidance here.

thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.