Here is the warning :
14:26:36,678 WARN ~ Could not obtain connection metadata
java.sql.SQLException: Unsupported feature
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
at
oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:
689)
at
oracle.jdbc.OracleDatabaseMetaData.supportsGetGeneratedKeys(OracleDatabaseMetaData.java:
4180)
at
com.mchange.v2.c3p0.impl.NewProxyDatabaseMetaData.supportsGetGeneratedKeys(NewProxyDatabaseMetaData.java:
3578)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:
123)
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:
2119)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:
2115)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:
1339)
at
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:
867)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:
669)
at play.db.jpa.JPAPlugin.onApplicationStart(JPAPlugin.java:157)
at play.Play.start(Play.java:359)
at play.Play.detectChanges(Play.java:451)
at play.Invoker$Invocation.init(Invoker.java:98)
at play.server.HttpHandler$MinaInvocation.init(HttpHandler.java:437)
at play.Invoker$Invocation.run(Invoker.java:174)
at play.server.HttpHandler$MinaInvocation.run(HttpHandler.java:461)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:
417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65)
at java.util.concurrent.ScheduledThreadPoolExecutor
$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:168)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Any idea?
Regards,
Philippe
You can turned off this feature I believe using the
hibernate.jdbc.use_getGeneratedKeys property to turn if off I believe.
See https://www.hibernate.org/hib_docs/v3/api/org/hibernate/cfg/Environment.html
Hope this helps,
Nicolas
On 4 fév, 14:58, Nicolas <leroux.nico...@gmail.com> wrote:
> You should ask your DB administrator what differences there is between
> dev and prod concerning the database. Hibernate is trying to query for
> an oracle feature (supportsGetGeneratedKey) but does not seem to be
> available on production.
>
> You can turned off this feature I believe using the
> hibernate.jdbc.use_getGeneratedKeys property to turn if off I believe.
>
> Seehttps://www.hibernate.org/hib_docs/v3/api/org/hibernate/cfg/Environme...
--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.
On 4 fév, 19:29, Bassem Khadige <bkhad...@gmail.com> wrote:
> check you JDBC driver, could be an old one used.
>
> 2010/2/4 Philippe Gauthier <gauthier.p...@gmail.com>
> > play-framewor...@googlegroups.com<play-framework%2Bunsubscribe@go oglegroups.com>