-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cannot find a command executor for the command request #1
Comments
Hi, |
I use maven application module with plugins:
build with plugin liquibase-maven-plugin with settings:
Liquibase is run by command: |
Hi, First, I think Liquibase can't be used with OrientDB 2.2's JDBC driver. Liquibase is querying some metadata from it that the driver just doesn't implement. It will run the changesets, but it fails to update the DATABASECHANGELOG, so you will get errors on the second run. It seems to work fine in 3.0 and upwards. Second, the (Liquibase OrientDB) plugin doesn't seem to end up on the classpath for the Maven plugin invocation. I haven't used the Liquibase Maven plugin a lot so I don't know exactly how it works internally. I got it to run by putting the dependencies directly under the <properties>
<liquibase.version>3.5.3</liquibase.version>
<orientdb.version>3.0.0RC1</orientdb.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>${liquibase.version}</version>
<configuration>
<changeLogFile>src/main/resources/liquibase/changelog-master.xml</changeLogFile>
<driver>com.orientechnologies.orient.jdbc.OrientJdbcDriver</driver>
<url>jdbc:orient:remote:192.168.99.100/test</url>
<username>root</username>
<password>root</password>
</configuration>
<dependencies>
<dependency>
<groupId>com.orientechnologies</groupId>
<artifactId>orientdb-jdbc</artifactId>
<version>${orientdb.version}</version>
</dependency>
<dependency>
<groupId>org.unbroken-dome.liquibase-orientdb</groupId>
<artifactId>liquibase-orientdb</artifactId>
<version>0.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build> |
Hi, I tried to use Orient JDBC Driver 3.0.0RC1, update version (0.3.0) of your library and put dependecies under
I think that isn't good... and liquibase:dropAll function doesn't work:
|
I got those last two exceptions as well, but it seemed they were only logged on shutdown, and it doesn't affect the successful outcome of the task. It's a pre-release driver after all, so I'd ignore them for now and see if this still pops up in the 3.0 release version. As for the |
Ok, thank you! |
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.
The text was updated successfully, but these errors were encountered: