我的Spring Boot应用程序中的这段代码非常简单,但它抛出:
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>${jmeter.maven.plugin.version}</version>
<executions>
<!-- defines a runner for jmeter tests project -->
<execution>
<id>jmeter-tests</id>
<phase>test</phase>
<goals>
<goal>jmeter</goal>
</goals>
<configuration>
<resultsDirectory>${project.build.directory}/jmeter/results</resultsDirectory>
<ignoreResultFailures>true</ignoreResultFailures>
<suppressJMeterOutput>false</suppressJMeterOutput>
<resultsFileFormat>xml</resultsFileFormat>
<testResultsTimestamp>false</testResultsTimestamp>
<appendResultsTimestamp>false</appendResultsTimestamp>
<testFilesIncluded>
<jMeterTestFile>Service-Tests.jmx</jMeterTestFile>
</testFilesIncluded>
<jMeterProcessJVMSettings>
<arguments>
<argument>-Djavax.net.ssl.keyStore=jmeterTrustedKeystore.jks</argument>
<argument>-Djavax.net.ssl.keyStorePassword=changeit</argument>
</arguments>
</jMeterProcessJVMSettings>
</configuration>
</execution>
</executions>
</plugin>
以下是代码:
org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [INSERT INTO decisions_cache_log ( server_ip, server_hostname, cache_type, load_time) VALUES (?, ?, ?, ?)]; SQL state [99999]; error code [17004]; Invalid column type; nested exception is java.sql.SQLException: Invalid column type
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:84) ~[spring-jdbc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) ~[spring-jdbc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81) ~[spring-jdbc-4.2.4.RELEASE.jar:4.2.4.RELEASE]
此Oracle 10数据库中的所有四列都是VARCHAR2
谢谢...