Return-Path: Delivered-To: apmail-db-ddlutils-user-archive@www.apache.org Received: (qmail 97016 invoked from network); 23 Jan 2006 09:11:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Jan 2006 09:11:06 -0000 Received: (qmail 80572 invoked by uid 500); 23 Jan 2006 09:11:06 -0000 Delivered-To: apmail-db-ddlutils-user-archive@db.apache.org Received: (qmail 80555 invoked by uid 500); 23 Jan 2006 09:11:05 -0000 Mailing-List: contact ddlutils-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-user@db.apache.org Delivered-To: mailing list ddlutils-user@db.apache.org Received: (qmail 80543 invoked by uid 99); 23 Jan 2006 09:11:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2006 01:11:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.12.201] (HELO smtp811.mail.ukl.yahoo.com) (217.12.12.201) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Jan 2006 01:11:04 -0800 Received: (qmail 78038 invoked from network); 23 Jan 2006 09:10:41 -0000 Received: from unknown (HELO ?127.0.0.1?) (tim.dudgeon@btopenworld.com@86.143.214.155 with plain) by smtp811.mail.ukl.yahoo.com with SMTP; 23 Jan 2006 09:10:41 -0000 Message-ID: <43D49D8A.2090700@informaticsmatters.com> Date: Mon, 23 Jan 2006 09:10:34 +0000 From: Tim Dudgeon User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ddlutils-user@db.apache.org Subject: Re: probem reading oracle database? References: <43D241F1.6010503@informaticsmatters.com> <43D3D4FD.7020508@guydavis.ca> <224f32340601221532wc1aaf73o81e03325c95a8959@mail.gmail.com> In-Reply-To: <224f32340601221532wc1aaf73o81e03325c95a8959@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tom, This is what I get when I try this: java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z 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:585) at org.apache.ddlutils.task.DumpMetadataTask.dumpProperty(DumpMetadataTask.java:294) at org.apache.ddlutils.task.DumpMetadataTask.dumpMetaData(DumpMetadataTask.java:269) at org.apache.ddlutils.task.DumpMetadataTask.execute(DumpMetadataTask.java:214) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:142) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91) at org.apache.tools.ant.Main.runBuild(Main.java:653) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) oracle.jdbc.driver.OracleDatabaseMetaData.locatorsUpdateCopy()Z Looks like a driver version issue? Which driver version are you using? I'm using the ojdbc14.jar, but I think there are multiple versions of this? Tim Thomas Dudziak wrote: >On 1/22/06, Guy Davis wrote: > > >>I had the same problem on Friday after trying out ddlutils for the first >>time. I'm hoping to pull the schema off our main Oracle 9i database and >>let me automatically load it onto developer workstations running Oracle >>10g Express Edition via the Ant tasks. Any ideas on how to get around >>this issue would be most appreciated. >> >> > >FYI, I'm currently struggling to setup a Oracle 10 for testing. >I've already adapted the dump task, and it would be nice if you could >test it on your 9i like this: > > classname="org.apache.ddlutils.task.DumpMetadataTask"> > classpathref="project.class.path"/> > catalogpattern="" > schemapattern="SOMESCHEMA" > tablepattern="" > procedurepattern="" > tabletypes="TABLE" > > url="${datasource.url}" > username="${datasource.username}" > password="${datasource.password}"/> > > >This should run through (though it might take a bit, esp. when reading >the procedures which you can turn it off with the dumpProcedures task >attribute) and the created XML file should contains all tables etc. >that you were expecting. > >Tom > > >