Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 87288 invoked from network); 13 Jan 2010 09:43:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Jan 2010 09:43:15 -0000 Received: (qmail 36801 invoked by uid 500); 13 Jan 2010 09:43:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 36734 invoked by uid 500); 13 Jan 2010 09:43:15 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 36726 invoked by uid 99); 13 Jan 2010 09:43:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 09:43:15 +0000 X-ASF-Spam-Status: No, hits=-1999.3 required=10.0 tests=ALL_TRUSTED,FRT_LEVITRA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2010 09:43:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B5AA234C04C for ; Wed, 13 Jan 2010 01:42:54 -0800 (PST) Message-ID: <647933585.209241263375774438.JavaMail.jira@brutus.apache.org> Date: Wed, 13 Jan 2010 09:42:54 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4511) Error while Retrieving view data from database In-Reply-To: <1437971563.152171263211014711.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-4511: -------------------------------------- Affects Version/s: 10.2.2.0 Bug behavior facts: [Seen in production] (was: [Seen in production, Regression]) Setting affects version field to 10.2.2.0 based on reporter's feedback. Clearing the regression flag. > Error while Retrieving view data from database > -------------------------------------------------- > > Key: DERBY-4511 > URL: https://issues.apache.org/jira/browse/DERBY-4511 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.2.2.0 > Reporter: vinay shukl > > I am running an application ,in which I have used Apache Derby as a backend. > While retrieving the values from resultset i am getting below error. > ERROR 38001: The external routine is not allowed to execute SQL statements. > at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) > at org.apache.derby.impl.sql.conn.GenericAuthorizer.externalRoutineException(Unknown Source) > at org.apache.derby.impl.sql.conn.GenericAuthorizer.authorize(Unknown Source) > at org.apache.derby.impl.sql.execute.GenericResultSetFactory.getDeleteCascadeResultSet(Unknown Source) > at org.apache.derby.exe.aceeb848bfx0125xd416xdf4ex00000e7f746f8c.fillResultSet(Unknown Source) > at org.apache.derby.exe.aceeb848bfx0125xd416xdf4ex00000e7f746f8c.execute(Unknown Source) > at org.apache.derby.impl.sql.GenericActivationHolder.execute(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source) > at com.wm.app.b2b.server.dispatcher.JoinDBUtil.deleteExpiredAndFinishedTriggers(JoinDBUtil.java:396) > at com.wm.app.b2b.server.dispatcher.JoinManager$JoinManagerTimeoutThread.run(JoinManager.java:200) > at com.wm.util.pool.PooledThread.run(PooledThread.java:118) > at java.lang.Thread.run(Thread.java:595) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.