Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCFDED4C1 for ; Mon, 24 Sep 2012 07:08:21 +0000 (UTC) Received: (qmail 68423 invoked by uid 500); 24 Sep 2012 07:08:21 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 68026 invoked by uid 500); 24 Sep 2012 07:08:20 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 64895 invoked by uid 99); 24 Sep 2012 07:08:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 07:08:14 +0000 Date: Mon, 24 Sep 2012 18:08:14 +1100 (NCT) From: "Thomas Fox (JIRA)" To: torque-dev@db.apache.org Message-ID: <1381178442.115474.1348470494249.JavaMail.jiratomcat@arcas> Subject: [jira] [Closed] (TORQUE-1) Equal tablenames in different databases can lead to errors 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/TORQUE-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Fox closed TORQUE-1. --------------------------- > Equal tablenames in different databases can lead to errors > ---------------------------------------------------------- > > Key: TORQUE-1 > URL: https://issues.apache.org/jira/browse/TORQUE-1 > Project: Torque > Issue Type: Bug > Components: Runtime, Village > Affects Versions: 3.0, 3.1, 3.1.1, 3.2 > Reporter: Thomas Fox > Assignee: Thomas Vandahl > Fix For: 4.0-beta1 > > > If more than one database is accessed on runtime, and there are tables in different databases which have the same name but a different structure, no datasets can be written to one of the tables. > Reason is that village retrieves information about tables via jdbc, and caches this information. In the cache, the tablename is used as key. Once a table is accessed, the information is cached. If another table with the same name is accessed, wrong information is retrieved from the cache, which leads to errors. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org