Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 96369 invoked from network); 6 Apr 2004 05:24:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Apr 2004 05:24:19 -0000 Received: (qmail 51965 invoked by uid 500); 6 Apr 2004 05:23:54 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 51939 invoked by uid 500); 6 Apr 2004 05:23:54 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 51924 invoked from network); 6 Apr 2004 05:23:53 -0000 Received: from unknown (HELO web10301.mail.yahoo.com) (216.136.130.79) by daedalus.apache.org with SMTP; 6 Apr 2004 05:23:53 -0000 Message-ID: <20040406052405.77451.qmail@web10301.mail.yahoo.com> Received: from [212.49.131.14] by web10301.mail.yahoo.com via HTTP; Tue, 06 Apr 2004 07:24:05 CEST Date: Tue, 6 Apr 2004 07:24:05 +0200 (CEST) From: =?iso-8859-1?q?Sez=20Sez?= Subject: Re: Problems with save To: torque-user@db.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In my project-schema.xml I have the database name attribute. ... In ClassMapBuilder, i have this code dbMap = Torque.getDatabaseMap("default"); Moreover, my torque.properties is torque.database.default.driver=postgresql torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory torque.dsfactory.default.connection.driver = org.postgresql.Driver torque.dsfactory.default.connection.url = jdbc:postgresql://triki:5432/Intranet torque.dsfactory.default.connection.user = postgres torque.dsfactory.default.connection.password = torque.dsfactory.default.pool.defaultMaxActive=10 torque.dsfactory.default.pool.testOnBorrow=true torque.dsfactory.default.pool.validationQuery=SELECT 1 torque.database.purlibf.adapter=as400 torque.dsfactory.purlibf.factory=org.apache.torque.dsfactory.Jdbc2PoolDataSourceFactory torque.dsfactory.purlibf.pool.defaultMaxActive=5 torque.dsfactory.purlibf.pool.testOnBorrow=true torque.dsfactory.purlibf.connection.driver = com.ibm.as400.access.AS400JDBCDriver torque.dsfactory.purlibf.connection.url = jdbc:as400://192.168.55.58 torque.dsfactory.purlibf.connection.user = torque.dsfactory.purlibf.connection.password = I have another defined connections in this file with others names. When i try to do class.save() or class.save(String name-connection) I have the same error... I don't know what is the problem!!! please help! ___________________________________________________ Yahoo! Messenger - Nueva versi�n GRATIS Super Webcam, voz, caritas animadas, y m�s... http://messenger.yahoo.es --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org