Giter Club home page Giter Club logo

liquibase-orientdb's People

Contributors

tkrullmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

strongbox

liquibase-orientdb's Issues

Cannot find a command executor for the command request

Hello, i tried to use your library (thank you for it), and get an error when run liquibase:update task:

Error setting up or running Liquibase: liquibase.exception.DatabaseException:
Error while executing command [Failed SQL: CREATE TABLE DATABASECHANGELOGLOCK (ID INT NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED datetime, LOCKEDBY VARCHAR(255), CONSTRAINT PK_DATABASECHANGELOGLOCK PRIMARY KEY (ID))]:
Cannot find a command executor for the command request: sql.CREATE TABLE DATABASECHANGELOGLOCK (ID INT NOT NULL, LOCKED BOOLEAN NOT NULL, LOCKGRANTED datetime, LOCKEDBY VARCHAR(255), CONSTRAINT PK_DATABASECHANGELOGLOCK PRIMARY KEY (ID))

Have you ever got this error or something like this?
I guess that the problem in liquibase algorithms, they try to create tables in database, but database doesn't understand this syntax.

I hope for your help, thank you.

DropPropertyType xsd:complexType does not reflect DropPropertyChange class

Please compare liquibase-orientdb.xsd

<xsd:attribute name="name" type="tns:PropertyQualifiedName" use="required" />

with DropPropertyChange.java

    @SerializedField(description = "The name of the class that contains the property")
    @NotNull
    @Size(min = 1)
    public String getClassName() {
        return className;
    }

    @SerializedField(description = "The name of the property")
    @NotNull
    @Size(min = 1)
    public String getPropertyName() {
        return propertyName;
    }

Support Liquibase dropAll task

Currently running Liquibase dropAll with the plugin on an OrientDB fails because the DROP TABLE statements are sent to OrientDB directly. OrientDB doesn't understand DROP TABLE; these statements should be mapped to DROP CLASS instead.

The plugin should provide a custom SqlGenerators that maps DropTableStatement to a DropClassSql, similar to what OrientCreateTableSqlGenerator does for CreateTableStatement.

There are possibly other types of DB objects that need to be dropped correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.