We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
after upgrade to Oracle 19c, scheme2ddl freeze at execute sql (without errors, no exception).
Problem is caused by old jdbc driver.
I am not in java, but after some attempts i upgraded pom.xml and it working well (i added lib for our db charset - orai18n):
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.googlecode</groupId> <artifactId>scheme2ddl</artifactId> <version>2.4.2</version> <packaging>jar</packaging> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.4.2.RELEASE</version> </parent> <url>https://github.com/qwazer/scheme2ddl</url> <scm> <connection>scm:git:git@github.com:qwazer/scheme2ddl.git</connection> <url>scm:git:git@github.com:qwazer/scheme2ddl.git</url> <developerConnection>scm:git:git@github.com:qwazer/scheme2ddl.git</developerConnection> <tag>v2.4.2</tag> </scm> <repositories> <repository> <id>otn-maven-repo</id> <name>Maven repo with artifacts from Oracle Technology Network for private usage</name> <url>https://subversion.assembla.com/svn/otn-maven-repo/m2/</url> </repository> </repositories> <distributionManagement> <repository> <id>bintray-qwazer-maven</id> <name>qwazer-maven</name> <url>https://api.bintray.com/maven/${bintray.repo}/${bintray.package}/;publish=1</url> </repository> </distributionManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <bintray.repo>qwazer/maven</bintray.repo> <bintray.package>scheme2ddl</bintray.package> <coveralls.repoToken>yourcoverallsprojectrepositorytoken</coveralls.repoToken> </properties> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <executable>true</executable> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <autoVersionSubmodules>true</autoVersionSubmodules> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <source>11</source> <target>11</target> <verbose>true</verbose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.4</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> </execution> <execution> <id>default-check</id> <goals> <goal>check</goal> </goals> <configuration> <rules> <!-- implementation is needed only for Maven 2 --> <rule implementation="org.jacoco.maven.RuleConfiguration"> <element>BUNDLE</element> <limits> <!-- implementation is needed only for Maven 2 --> <limit implementation="org.jacoco.report.check.Limit"> <counter>COMPLEXITY</counter> <value>COVEREDRATIO</value> <minimum>0.50</minimum> </limit> </limits> </rule> </rules> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.eluder.coveralls</groupId> <artifactId>coveralls-maven-plugin</artifactId> <version>4.3.0</version> <configuration> <repoToken>${coveralls.repoToken}</repoToken> </configuration> </plugin> </plugins> <extensions> <!-- Prevents this error, with JDK 13: --> <!-- NoSuchMethodError: 'java.lang.String javax.annotation.Resource.lookup()' --> <extension> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </extension> <extension> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> </extension> </extensions> </build> <dependencies> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-batch</artifactId> <exclusions> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-jdbc</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-logging</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version> </dependency> <!--Unfortunately due the binary license there is no public repository with the Oracle Driver JAR. Will try to download it from otn-maven-repo Download latest jar from http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html. mvn install:install-file -Dfile=ojdbc5.jar -DgroupId=com.oracle -DartifactId=ojdbc5 -Dversion=11.2.0.3.0 -Dpackaging=jar -DgeneratePom=true --> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc10</artifactId> <version>19.11.0.0</version> </dependency> <dependency> <groupId>com.oracle.ojdbc</groupId> <artifactId>orai18n</artifactId> <version>19.11.0.0</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>
I added/changed (from version 2.4.2):
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> <configuration> <source>11</source> <target>11</target> <verbose>true</verbose> </configuration> </plugin>
<groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.4</version>
<extensions> <!-- Prevents this error, with JDK 13: --> <!-- NoSuchMethodError: 'java.lang.String javax.annotation.Resource.lookup()' --> <extension> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </extension> <extension> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> </extension> </extensions>
<dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.1</version> </dependency>
<dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc10</artifactId> <version>19.11.0.0</version> </dependency> <dependency> <groupId>com.oracle.ojdbc</groupId> <artifactId>orai18n</artifactId> <version>19.11.0.0</version> <scope>runtime</scope> </dependency>
The text was updated successfully, but these errors were encountered:
Thanks for reporting. Fixed in release 2.4.3
Sorry, something went wrong.
qwazer
Successfully merging a pull request may close this issue.
Hi,
after upgrade to Oracle 19c, scheme2ddl freeze at execute sql (without errors, no exception).
Problem is caused by old jdbc driver.
I am not in java, but after some attempts i upgraded pom.xml and it working well (i added lib for our db charset - orai18n):
I added/changed (from version 2.4.2):
The text was updated successfully, but these errors were encountered: