我对我的软件包进行了一些更改,基本上创建了一个新项目,一切正常,除非我尝试保存更改时收到此消息:
Message: Unsupported feature
Line | Method
->> 125 | throwSqlException in oracle.jdbc.driver.DatabaseError
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| 162 | throwSqlException in ''
| 227 | throwSqlException . . . . . . . . . in ''
| 537 | throwUnsupportedFeatureSqlException in ''
| 3091 | prepareStatement . . . . . . . . . in oracle.jdbc.driver.PhysicalConnection
| 140 | $tt__save in gov.mt.mdt.step.ReportController
| 200 | doFilter . . . . . . . . . . . . . in grails.plugin.cache.web.filter.PageFragmentCachingFilter
| 63 | doFilter in grails.plugin.cache.web.filter.AbstractFilter
| 53 | doFilter . . . . . . . . . . . . . in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
| 49 | doFilter in grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter
| 82 | doFilter . . . . . . . . . . . . . in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . . . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 744 | run in java.lang.Thread
以下是DataSource.config中的数据库信息:
development {
dataSource {
dbCreate = "update"
url = "jdbc:oracle:thin:@server:1521:DEV"
driverClassName = "oracle.jdbc.OracleDriver"
username = "step"
password = "****"
dialect = "org.hibernate.dialect.Oracle10gDialect"
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:oracle:thin:@server:1521:DEV"
driverClassName = "oracle.jdbc.OracleDriver"
username = "step"
password = "****"
dialect = "org.hibernate.dialect.Oracle10gDialect"
pooled = true
properties {
maxActive = -1
minEvictableIdleTimeMillis=1800000
timeBetweenEvictionRunsMillis=1800000
numTestsPerEvictionRun=3
testOnBorrow=true
testWhileIdle=true
testOnReturn=true
validationQuery="SELECT 1 FROM DUAL"
}
}
开发和生产方面的结果相同。我在lib文件夹中有ojdbc14.jar。它之前工作正常,我确实将记录直接插入到数据库中,但之前没有引起问题。我可以阅读和编辑记录没问题。
我认为可能存在的一个问题是changelog.groovy ......