Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by paul william ford, 1 year ago
Error invoking function: initializeCrud with parameters: [Ljava.lang.Object;@71bfa007
java.sql.SQLException: No database selected 	at com.google.cloud.sql.jdbc.internal.Exceptions.newSqlException(Exceptions.java:208)	at com.google.cloud.sql.jdbc.internal.SqlProtoClient.check(SqlProtoClient.java:198)	at com.google.cloud.sql.jdbc.internal.SqlProtoClient.executeSql(SqlProtoClient.java:87)	at com.google.cloud.sql.jdbc.internal.SqlProtoClient.executeSql(SqlProtoClient.java:76)	at com.google.cloud.sql.jdbc.Connection.executeSql(Connection.java:520)	at com.google.cloud.sql.jdbc.PreparedStatement.executeSqlImpl(PreparedStatement.java:141)	at com.google.cloud.sql.jdbc.Statement.executeImpl(Statement.java:154)	at com.google.cloud.sql.jdbc.Statement.executeQuery(Statement.java:327)	at com.google.cloud.sql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:128)	at com.google.cloud.sql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:57)	at org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect.getTableResultSet(OracleMetaDataDialect.java:667)	at org.hibernate.cfg.reveng.dialect.OracleMetaDataDialect.getTables(OracleMetaDataDialect.java:221)	at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)	at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)	at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:860)	at org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:121)	at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:94)	at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:42)	at org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.createJDBCConfiguration(HibernateModelGenerator.java:227)	at org.skyway.integration.data.persistence.importer.hibernate.HibernateModelGenerator.generateModel(HibernateModelGenerator.java:96)	at org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.generateDataTypes(TableDataTypeInputProvider.java:208)	at org.skyway.integration.data.persistence.provider.datatype.TableDataTypeInputProvider.getDataTypes(TableDataTypeInputProvider.java:73)	at com.skyway.scaffolding.crud.datatype.FilteredDataTypeInputProvider.getDataTypes(FilteredDataTypeInputProvider.java:33)	at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.getDataTypes(ContextAwareCrudFunctions.java:181)	at com.skyway.scaffolding.crud.util.ContextAwareCrudFunctions.initializeCrud(ContextAwareCrudFunctions.java:55)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.skyway.core.generate.snippet.function.FunctionInvoker.invoke(FunctionInvoker.java:94)	at org.skyway.core.generate.snippet.function.FunctionSnippetExpression.evaluate(FunctionSnippetExpression.java:26)	at org.skyway.core.generate.snippet.SnippetRegistry.evaluate(SnippetRegistry.java:88)	at org.skyway.core.generate.snippet.SnippetRegistry.getObjectAttribute(SnippetRegistry.java:99)	at org.skyway.core.generate.generator.invoke.InvokeSnippetGenerator.generate(InvokeSnippetGenerator.java:24)	at org.skyway.core.generate.generator.DescendantGenerator.generateChild(DescendantGenerator.java:28)	at org.skyway.core.generate.generator.DescendantGenerator.generateChildren(DescendantGenerator.java:21)	at org.skyway.core.generate.generator.DescendantGenerator.generate(DescendantGenerator.java:14)	at org.skyway.core.generate.generator.control.ResourceGenerator.generate(ResourceGenerator.java:19)	at org.skyway.core.generate.execute.GenerationJob.generate(GenerationJob.java:115)	at org.skyway.core.generate.execute.GenerationJob$1.run(GenerationJob.java:59)	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)	at org.skyway.core.generate.execute.GenerationJob.run(GenerationJob.java:55)	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)