<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-93</id>
	<title>Nabble - Apache Derby Users</title>
	<updated>2009-11-08T08:57:59Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Apache-Derby-Users-f93.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apache-Derby-Users-f93.html" />
	<subtitle type="html">For discussions about how to use Apache Derby.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26255542</id>
	<title>Re: Database in a jar  starts from another dir</title>
	<published>2009-11-08T08:57:59Z</published>
	<updated>2009-11-08T08:57:59Z</updated>
	<author>
		<name>Knut Anders Hatlen</name>
	</author>
	<content type="html">François &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26255542&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;francois.rappaz@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt; I have java classes and a database within the same jar. Using the connection
&lt;br&gt;&amp;gt; string jdbc:derby:jar:(myfile.jar)mydatabase (now defined at comiled time) all
&lt;br&gt;&amp;gt; works well if I start the application by double-clicking the jar or running the
&lt;br&gt;&amp;gt; jar with java -jar myapp.jar in the directory where myfile.jar and derby.jar 
&lt;br&gt;&amp;gt; are. In the manifest of the jar I have a class-path attribute with derby.jar.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Now if I have a shortcut to the jar or in I run the apps from another directory
&lt;br&gt;&amp;gt; the database is lost. For example, running 
&lt;br&gt;&amp;gt; java -cp u:\docs ..\myfile.jar ch.my.package.MyMainClass does not resolve the
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; I could put a properties file with the connection string with the full path to
&lt;br&gt;&amp;gt; the jar file in the connection string, but I would ask if there is another 
&lt;br&gt;&amp;gt; solution.
&lt;/div&gt;&lt;br&gt;Hi François,
&lt;br&gt;&lt;br&gt;I think you could achieve what you want by using the classpath protocol
&lt;br&gt;instead of the jar protocol. With myfile.jar in the classpath, try this
&lt;br&gt;URL:
&lt;br&gt;&lt;br&gt;&amp;nbsp; jdbc:derby:classpath:mydatabase
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Knut Anders
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Database-in-a-jar--starts-from-another-dir-tp26229187p26255542.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26252259</id>
	<title>Re: R: using ASTParser and TreeWalker</title>
	<published>2009-11-08T02:01:53Z</published>
	<updated>2009-11-08T02:01:53Z</updated>
	<author>
		<name>Flavio Palumbo</name>
	</author>
	<content type="html">Hi Rick,
&lt;br&gt;renaming junit did it ;-))
&lt;br&gt;I've been able to run ASTParser and XmlTreeWalker and I've seen that they 
&lt;br&gt;give a very big quantity of infos ; where can I find some docs to discover 
&lt;br&gt;how to point what I need ? In particular I'm searching for tables and fields 
&lt;br&gt;names included in the statement, which is the quickest way to find them ?
&lt;br&gt;Thanks a lot
&lt;br&gt;Flavio
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Rick Hillegas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Derby Discussion &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;derby-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 06 Nov 2009 14:01:50 -0800
&lt;br&gt;Subject: Re: R: using ASTParser and TreeWalker
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; flavio palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Rich,
&lt;br&gt;&amp;gt; &amp;gt; I've just tried to build Derby (now I'm at home with nb 6.5.1 on win
&lt;br&gt;&amp;gt; vista) 
&lt;br&gt;&amp;gt; &amp;gt; and got these messages :
&lt;br&gt;&amp;gt; &amp;gt; .....
&lt;br&gt;&amp;gt; &amp;gt; .....
&lt;br&gt;&amp;gt; &amp;gt; Building zip: D:\derby2009\trunk\java\demo\toursdb\toursdb.jar
&lt;br&gt;&amp;gt; &amp;gt; Finished building toursdb
&lt;br&gt;&amp;gt; &amp;gt; copyfiles:
&lt;br&gt;&amp;gt; &amp;gt; Copying 13 files to 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\classes\org\apache\derbyTesting\functionTests\tests\
&lt;br&gt;&amp;gt; demo
&lt;br&gt;&amp;gt; &amp;gt; toursdb:
&lt;br&gt;&amp;gt; &amp;gt; demo:
&lt;br&gt;&amp;gt; &amp;gt; testing:
&lt;br&gt;&amp;gt; &amp;gt; testing:
&lt;br&gt;&amp;gt; &amp;gt; junitcomponents:
&lt;br&gt;&amp;gt; &amp;gt; Compiling 1 source file to D:\derby2009\trunk\classes
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:30: 
&lt;br&gt;&amp;gt; &amp;gt; package junit.extensions does not exist
&lt;br&gt;&amp;gt; &amp;gt; import junit.extensions.TestSetup;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:31: 
&lt;br&gt;&amp;gt; &amp;gt; package junit.framework does not exist
&lt;br&gt;&amp;gt; &amp;gt; import junit.framework.Test;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:32: 
&lt;br&gt;&amp;gt; &amp;gt; package junit.framework does not exist
&lt;br&gt;&amp;gt; &amp;gt; import junit.framework.TestSuite;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:39: 
&lt;br&gt;&amp;gt; &amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; &amp;gt; symbol: class TestSetup
&lt;br&gt;&amp;gt; &amp;gt; public final class SecurityManagerSetup extends TestSetup {
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:73: 
&lt;br&gt;&amp;gt; &amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; &amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; &amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public SecurityManagerSetup(Test test, String policyResource)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:94: 
&lt;br&gt;&amp;gt; &amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; &amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; &amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityM
&lt;br&gt;&amp;gt; anagerSetup.java:94: 
&lt;br&gt;&amp;gt; &amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; &amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; &amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;&amp;gt; &amp;gt; .....
&lt;br&gt;&amp;gt; &amp;gt; .....
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\JDBC.java
&lt;br&gt;&amp;gt; :673: 
&lt;br&gt;&amp;gt; &amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; &amp;gt; symbol &amp;nbsp;: variable Assert
&lt;br&gt;&amp;gt; &amp;gt; location: class org.apache.derbyTesting.junit.JDBC
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assert.assertEquals(&amp;quot;Unexpected column count:&amp;quot;,
&lt;br&gt;&amp;gt; &amp;gt; 100 errors
&lt;br&gt;&amp;gt; &amp;gt; D:\derby2009\trunk\build.xml:499: The following error occurred while 
&lt;br&gt;&amp;gt; &amp;gt; executing this line:
&lt;br&gt;&amp;gt; &amp;gt; D:\derby2009\trunk\java\testing\build.xml:59: The following error
&lt;br&gt;&amp;gt; occurred 
&lt;br&gt;&amp;gt; &amp;gt; while executing this line:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\build.xml
&lt;br&gt;&amp;gt; :74: 
&lt;br&gt;&amp;gt; &amp;gt; Compile failed; see the compiler error output for details.
&lt;br&gt;&amp;gt; &amp;gt; BUILD FAILED (total time: 54 seconds)
&lt;br&gt;&amp;gt; &amp;gt; The previous time I hadn't read carefully the building.html doc, but
&lt;br&gt;&amp;gt; now 
&lt;br&gt;&amp;gt; &amp;gt; I've put ant.jar and junit-3.8.2.jar into my
&lt;br&gt;&amp;gt; D:\derby2009\trunk\tools\java 
&lt;br&gt;&amp;gt; &amp;gt; directory.
&lt;br&gt;&amp;gt; &amp;gt; It seems that nothing has changed :-((
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have you tried building Derby outside Netbeans? That might help narrow 
&lt;br&gt;&amp;gt; down the problem. One thing to note: the JUnit jarball should be called
&lt;br&gt;&amp;gt; junit.jar, not junit-3.8.2.jar. Try renaming the JUnit jarball and see 
&lt;br&gt;&amp;gt; if that helps.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; &amp;gt; Thanks a lot
&lt;br&gt;&amp;gt; &amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: Rick Hillegas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; To: Derby Discussion &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;derby-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Date: Fri, 06 Nov 2009 08:35:38 -0800
&lt;br&gt;&amp;gt; &amp;gt; Subject: Re: R: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; A couple more comments inline...
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Hi Rich,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; thanks for your super quick answer ;-))
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I tried to build Derby following the guide at
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://wiki.apache.org/db-derby/BuildingDerby&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/BuildingDerby&lt;/a&gt;&amp;nbsp;; I'm currently using
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; NetBeans
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; 6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; exceptions due mainly to the fact that I'm not able to add jUnit
&lt;br&gt;&amp;gt; jars
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; to the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; project.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I'm bit hurry now, I'll try to generate again the project this week
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; end to
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; be more accurate.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks for giving us this feedback. If you configure the ant build 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; target to be &amp;quot;buildsource&amp;quot; rather than &amp;quot;all&amp;quot;, then you shouldn't
&lt;br&gt;&amp;gt; need 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; the junit jars. For more information, see the BUILDING.html file in
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; root directory of the Derby trunk.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; official
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; what you mean with &amp;quot;debug jars&amp;quot; ?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; If you go to the 10.5.3 download page ( 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&lt;/a&gt;&amp;nbsp;), you'll
&lt;br&gt;&amp;gt; see
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; a 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; number of downloadable distributions. Two of them have the word
&lt;br&gt;&amp;gt; &amp;quot;debug&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; in their names. The jars in those two distributions have extra
&lt;br&gt;&amp;gt; tracing 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; logic built into them. The TreeWalker uses that extra tracing logic.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hope this helps,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Da: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Inviato: venerdì 6 novembre 2009 15.45
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; A: Derby Discussion
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Oggetto: Re: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; strings and the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; first works fine while I cannot compile the second cause I
&lt;br&gt;&amp;gt; receive
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; this
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compile time error :
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable)
&lt;br&gt;&amp;gt; in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is there a newer version I can use or can somebody tell me how
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; to fix this
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; problem ?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; The visitChildrenFirst() method was added to the Visitor interface
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; recently. I have attached &amp;nbsp;new versions of TreeWalker,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; XmlTreeWalker,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; respectively. The new versions implement the new method and should
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; compile against the current Derby trunk. If this doesn't fix your
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment -
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I have successfully compiled and run this ASTParser against the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; debug
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it means that I can compile and run ASTParser and TreeWalker
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; against the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; official
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this would be great cause I fight a lot to compile Derby from
&lt;br&gt;&amp;gt; svn.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; contenuto del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; siete pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra
&lt;br&gt;&amp;gt; SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto
&lt;br&gt;&amp;gt; del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete
&lt;br&gt;&amp;gt; pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&lt;br&gt;Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26252259&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26252259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239258</id>
	<title>Re: R: using ASTParser and TreeWalker</title>
	<published>2009-11-06T14:01:50Z</published>
	<updated>2009-11-06T14:01:50Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">flavio palumbo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Rich,
&lt;br&gt;&amp;gt; I've just tried to build Derby (now I'm at home with nb 6.5.1 on win vista) 
&lt;br&gt;&amp;gt; and got these messages :
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; Building zip: D:\derby2009\trunk\java\demo\toursdb\toursdb.jar
&lt;br&gt;&amp;gt; Finished building toursdb
&lt;br&gt;&amp;gt; copyfiles:
&lt;br&gt;&amp;gt; Copying 13 files to 
&lt;br&gt;&amp;gt; D:\derby2009\trunk\classes\org\apache\derbyTesting\functionTests\tests\demo
&lt;br&gt;&amp;gt; toursdb:
&lt;br&gt;&amp;gt; demo:
&lt;br&gt;&amp;gt; testing:
&lt;br&gt;&amp;gt; testing:
&lt;br&gt;&amp;gt; junitcomponents:
&lt;br&gt;&amp;gt; Compiling 1 source file to D:\derby2009\trunk\classes
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:30: 
&lt;br&gt;&amp;gt; package junit.extensions does not exist
&lt;br&gt;&amp;gt; import junit.extensions.TestSetup;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:31: 
&lt;br&gt;&amp;gt; package junit.framework does not exist
&lt;br&gt;&amp;gt; import junit.framework.Test;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:32: 
&lt;br&gt;&amp;gt; package junit.framework does not exist
&lt;br&gt;&amp;gt; import junit.framework.TestSuite;
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:39: 
&lt;br&gt;&amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; symbol: class TestSetup
&lt;br&gt;&amp;gt; public final class SecurityManagerSetup extends TestSetup {
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:73: 
&lt;br&gt;&amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public SecurityManagerSetup(Test test, String policyResource)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:94: 
&lt;br&gt;&amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:94: 
&lt;br&gt;&amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; symbol &amp;nbsp;: class Test
&lt;br&gt;&amp;gt; location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\JDBC.java:673: 
&lt;br&gt;&amp;gt; cannot find symbol
&lt;br&gt;&amp;gt; symbol &amp;nbsp;: variable Assert
&lt;br&gt;&amp;gt; location: class org.apache.derbyTesting.junit.JDBC
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assert.assertEquals(&amp;quot;Unexpected column count:&amp;quot;,
&lt;br&gt;&amp;gt; 100 errors
&lt;br&gt;&amp;gt; D:\derby2009\trunk\build.xml:499: The following error occurred while 
&lt;br&gt;&amp;gt; executing this line:
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\build.xml:59: The following error occurred 
&lt;br&gt;&amp;gt; while executing this line:
&lt;br&gt;&amp;gt; D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\build.xml:74: 
&lt;br&gt;&amp;gt; Compile failed; see the compiler error output for details.
&lt;br&gt;&amp;gt; BUILD FAILED (total time: 54 seconds)
&lt;br&gt;&amp;gt; The previous time I hadn't read carefully the building.html doc, but now 
&lt;br&gt;&amp;gt; I've put ant.jar and junit-3.8.2.jar into my D:\derby2009\trunk\tools\java 
&lt;br&gt;&amp;gt; directory.
&lt;br&gt;&amp;gt; It seems that nothing has changed :-((
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Hi Flavio,
&lt;br&gt;&lt;br&gt;Have you tried building Derby outside Netbeans? That might help narrow 
&lt;br&gt;down the problem. One thing to note: the JUnit jarball should be called 
&lt;br&gt;junit.jar, not junit-3.8.2.jar. Try renaming the JUnit jarball and see 
&lt;br&gt;if that helps.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-Rick
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Thanks a lot
&lt;br&gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Rick Hillegas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: Derby Discussion &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;derby-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Fri, 06 Nov 2009 08:35:38 -0800
&lt;br&gt;&amp;gt; Subject: Re: R: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; A couple more comments inline...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi Rich,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; thanks for your super quick answer ;-))
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I tried to build Derby following the guide at
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://wiki.apache.org/db-derby/BuildingDerby&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/BuildingDerby&lt;/a&gt;&amp;nbsp;; I'm currently using
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; NetBeans
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; exceptions due mainly to the fact that I'm not able to add jUnit jars
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; to the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; project.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm bit hurry now, I'll try to generate again the project this week
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; end to
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; be more accurate.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks for giving us this feedback. If you configure the ant build 
&lt;br&gt;&amp;gt;&amp;gt; target to be &amp;quot;buildsource&amp;quot; rather than &amp;quot;all&amp;quot;, then you shouldn't need 
&lt;br&gt;&amp;gt;&amp;gt; the junit jars. For more information, see the BUILDING.html file in the
&lt;br&gt;&amp;gt;&amp;gt; root directory of the Derby trunk.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; official
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; what you mean with &amp;quot;debug jars&amp;quot; ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; If you go to the 10.5.3 download page ( 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&lt;/a&gt;&amp;nbsp;), you'll see
&lt;br&gt;&amp;gt;&amp;gt; a 
&lt;br&gt;&amp;gt;&amp;gt; number of downloadable distributions. Two of them have the word &amp;quot;debug&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; in their names. The jars in those two distributions have extra tracing 
&lt;br&gt;&amp;gt;&amp;gt; logic built into them. The TreeWalker uses that extra tracing logic.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hope this helps,
&lt;br&gt;&amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Da: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Inviato: venerdì 6 novembre 2009 15.45
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; A: Derby Discussion
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Oggetto: Re: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; strings and the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; first works fine while I cannot compile the second cause I receive
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; this
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compile time error :
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is there a newer version I can use or can somebody tell me how
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to fix this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; problem ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; The visitChildrenFirst() method was added to the Visitor interface
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; recently. I have attached &amp;nbsp;new versions of TreeWalker,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; XmlTreeWalker,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; respectively. The new versions implement the new method and should
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compile against the current Derby trunk. If this doesn't fix your
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment -
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I have successfully compiled and run this ASTParser against the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; debug
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; it means that I can compile and run ASTParser and TreeWalker
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; against the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; official
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; contenuto del presente messaggio.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; siete pregati di comunicarlo
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; del presente messaggio.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; pregati di comunicarlo
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239258&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26239258.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26239106</id>
	<title>Re: R: using ASTParser and TreeWalker</title>
	<published>2009-11-06T12:45:47Z</published>
	<updated>2009-11-06T12:45:47Z</updated>
	<author>
		<name>Flavio Palumbo</name>
	</author>
	<content type="html">Hi Rich,
&lt;br&gt;I've just tried to build Derby (now I'm at home with nb 6.5.1 on win vista) 
&lt;br&gt;and got these messages :
&lt;br&gt;.....
&lt;br&gt;.....
&lt;br&gt;Building zip: D:\derby2009\trunk\java\demo\toursdb\toursdb.jar
&lt;br&gt;Finished building toursdb
&lt;br&gt;copyfiles:
&lt;br&gt;Copying 13 files to 
&lt;br&gt;D:\derby2009\trunk\classes\org\apache\derbyTesting\functionTests\tests\demo
&lt;br&gt;toursdb:
&lt;br&gt;demo:
&lt;br&gt;testing:
&lt;br&gt;testing:
&lt;br&gt;junitcomponents:
&lt;br&gt;Compiling 1 source file to D:\derby2009\trunk\classes
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:30: 
&lt;br&gt;package junit.extensions does not exist
&lt;br&gt;import junit.extensions.TestSetup;
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:31: 
&lt;br&gt;package junit.framework does not exist
&lt;br&gt;import junit.framework.Test;
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:32: 
&lt;br&gt;package junit.framework does not exist
&lt;br&gt;import junit.framework.TestSuite;
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:39: 
&lt;br&gt;cannot find symbol
&lt;br&gt;symbol: class TestSetup
&lt;br&gt;public final class SecurityManagerSetup extends TestSetup {
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:73: 
&lt;br&gt;cannot find symbol
&lt;br&gt;symbol &amp;nbsp;: class Test
&lt;br&gt;location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public SecurityManagerSetup(Test test, String policyResource)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:94: 
&lt;br&gt;cannot find symbol
&lt;br&gt;symbol &amp;nbsp;: class Test
&lt;br&gt;location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\SecurityManagerSetup.java:94: 
&lt;br&gt;cannot find symbol
&lt;br&gt;symbol &amp;nbsp;: class Test
&lt;br&gt;location: class org.apache.derbyTesting.junit.SecurityManagerSetup
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static Test noSecurityManager(Test test)
&lt;br&gt;.....
&lt;br&gt;.....
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\JDBC.java:673: 
&lt;br&gt;cannot find symbol
&lt;br&gt;symbol &amp;nbsp;: variable Assert
&lt;br&gt;location: class org.apache.derbyTesting.junit.JDBC
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Assert.assertEquals(&amp;quot;Unexpected column count:&amp;quot;,
&lt;br&gt;100 errors
&lt;br&gt;D:\derby2009\trunk\build.xml:499: The following error occurred while 
&lt;br&gt;executing this line:
&lt;br&gt;D:\derby2009\trunk\java\testing\build.xml:59: The following error occurred 
&lt;br&gt;while executing this line:
&lt;br&gt;D:\derby2009\trunk\java\testing\org\apache\derbyTesting\junit\build.xml:74: 
&lt;br&gt;Compile failed; see the compiler error output for details.
&lt;br&gt;BUILD FAILED (total time: 54 seconds)
&lt;br&gt;The previous time I hadn't read carefully the building.html doc, but now 
&lt;br&gt;I've put ant.jar and junit-3.8.2.jar into my D:\derby2009\trunk\tools\java 
&lt;br&gt;directory.
&lt;br&gt;It seems that nothing has changed :-((
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks a lot
&lt;br&gt;Flavio
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Rick Hillegas &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;&amp;gt;
&lt;br&gt;To: Derby Discussion &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;derby-user@...&lt;/a&gt;&amp;gt;
&lt;br&gt;Date: Fri, 06 Nov 2009 08:35:38 -0800
&lt;br&gt;Subject: Re: R: using ASTParser and TreeWalker
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; A couple more comments inline...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Rich,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; thanks for your super quick answer ;-))
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried to build Derby following the guide at
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://wiki.apache.org/db-derby/BuildingDerby&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/BuildingDerby&lt;/a&gt;&amp;nbsp;; I'm currently using
&lt;br&gt;&amp;gt; NetBeans
&lt;br&gt;&amp;gt; &amp;gt; 6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of
&lt;br&gt;&amp;gt; &amp;gt; exceptions due mainly to the fact that I'm not able to add jUnit jars
&lt;br&gt;&amp;gt; to the
&lt;br&gt;&amp;gt; &amp;gt; project.
&lt;br&gt;&amp;gt; &amp;gt; I'm bit hurry now, I'll try to generate again the project this week
&lt;br&gt;&amp;gt; end to
&lt;br&gt;&amp;gt; &amp;gt; be more accurate.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; Thanks for giving us this feedback. If you configure the ant build 
&lt;br&gt;&amp;gt; target to be &amp;quot;buildsource&amp;quot; rather than &amp;quot;all&amp;quot;, then you shouldn't need 
&lt;br&gt;&amp;gt; the junit jars. For more information, see the BUILDING.html file in the
&lt;br&gt;&amp;gt; root directory of the Derby trunk.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt; official
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; what you mean with &amp;quot;debug jars&amp;quot; ?
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; If you go to the 10.5.3 download page ( 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&lt;/a&gt;&amp;nbsp;), you'll see
&lt;br&gt;&amp;gt; a 
&lt;br&gt;&amp;gt; number of downloadable distributions. Two of them have the word &amp;quot;debug&amp;quot;
&lt;br&gt;&amp;gt; in their names. The jars in those two distributions have extra tracing 
&lt;br&gt;&amp;gt; logic built into them. The TreeWalker uses that extra tracing logic.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hope this helps,
&lt;br&gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Da: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Inviato: venerdì 6 novembre 2009 15.45
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; A: Derby Discussion
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Oggetto: Re: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; strings and the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; first works fine while I cannot compile the second cause I receive
&lt;br&gt;&amp;gt; this
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; compile time error :
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; is there a newer version I can use or can somebody tell me how
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; to fix this
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; problem ?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; The visitChildrenFirst() method was added to the Visitor interface
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; recently. I have attached &amp;nbsp;new versions of TreeWalker,
&lt;br&gt;&amp;gt; XmlTreeWalker,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; respectively. The new versions implement the new method and should
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; compile against the current Derby trunk. If this doesn't fix your
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment -
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; I have successfully compiled and run this ASTParser against the
&lt;br&gt;&amp;gt; debug
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; it means that I can compile and run ASTParser and TreeWalker
&lt;br&gt;&amp;gt; against the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Yes, you should be able to compile these classes against the
&lt;br&gt;&amp;gt; official
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; contenuto del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; siete pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra
&lt;br&gt;&amp;gt; SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto
&lt;br&gt;&amp;gt; del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Il contenuto e gli allegati sono da considerarsi di natura
&lt;br&gt;&amp;gt; confidenziale
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete
&lt;br&gt;&amp;gt; pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&lt;br&gt;Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26239106&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26239106.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26234901</id>
	<title>Re: R: using ASTParser and TreeWalker</title>
	<published>2009-11-06T08:35:38Z</published>
	<updated>2009-11-06T08:35:38Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hi Flavio,
&lt;br&gt;&lt;br&gt;A couple more comments inline...
&lt;br&gt;&lt;br&gt;Flavio Palumbo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Rich,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; thanks for your super quick answer ;-))
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to build Derby following the guide at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://wiki.apache.org/db-derby/BuildingDerby&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/BuildingDerby&lt;/a&gt;&amp;nbsp;; I'm currently using NetBeans
&lt;br&gt;&amp;gt; 6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of
&lt;br&gt;&amp;gt; exceptions due mainly to the fact that I'm not able to add jUnit jars to the
&lt;br&gt;&amp;gt; project.
&lt;br&gt;&amp;gt; I'm bit hurry now, I'll try to generate again the project this week end to
&lt;br&gt;&amp;gt; be more accurate.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Thanks for giving us this feedback. If you configure the ant build 
&lt;br&gt;target to be &amp;quot;buildsource&amp;quot; rather than &amp;quot;all&amp;quot;, then you shouldn't need 
&lt;br&gt;the junit jars. For more information, see the BUILDING.html file in the 
&lt;br&gt;root directory of the Derby trunk.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the official
&lt;br&gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; what you mean with &amp;quot;debug jars&amp;quot; ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;If you go to the 10.5.3 download page ( 
&lt;br&gt;&lt;a href=&quot;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/releases/release-10.5.3.0.cgi&lt;/a&gt;&amp;nbsp;), you'll see a 
&lt;br&gt;number of downloadable distributions. Two of them have the word &amp;quot;debug&amp;quot; 
&lt;br&gt;in their names. The jars in those two distributions have extra tracing 
&lt;br&gt;logic built into them. The TreeWalker uses that extra tracing logic.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;-Rick
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks a lot.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt;&amp;gt; Da: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234901&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234901&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; Inviato: venerdì 6 novembre 2009 15.45
&lt;br&gt;&amp;gt;&amp;gt; A: Derby Discussion
&lt;br&gt;&amp;gt;&amp;gt; Oggetto: Re: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; strings and the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; first works fine while I cannot compile the second cause I receive this
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; compile time error :
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; is there a newer version I can use or can somebody tell me how
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; to fix this
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; problem ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; The visitChildrenFirst() method was added to the Visitor interface
&lt;br&gt;&amp;gt;&amp;gt; recently. I have attached &amp;nbsp;new versions of TreeWalker, XmlTreeWalker,
&lt;br&gt;&amp;gt;&amp;gt; and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415
&lt;br&gt;&amp;gt;&amp;gt; respectively. The new versions implement the new method and should
&lt;br&gt;&amp;gt;&amp;gt; compile against the current Derby trunk. If this doesn't fix your
&lt;br&gt;&amp;gt;&amp;gt; problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment -
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I have successfully compiled and run this ASTParser against the debug
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; it means that I can compile and run ASTParser and TreeWalker against the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Yes, you should be able to compile these classes against the official
&lt;br&gt;&amp;gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; contenuto del presente messaggio.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; siete pregati di comunicarlo
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234901&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26234901&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26234901.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26233742</id>
	<title>R: using ASTParser and TreeWalker</title>
	<published>2009-11-06T07:17:12Z</published>
	<updated>2009-11-06T07:17:12Z</updated>
	<author>
		<name>Flavio Palumbo</name>
	</author>
	<content type="html">Hi Rich,
&lt;br&gt;&lt;br&gt;thanks for your super quick answer ;-))
&lt;br&gt;&lt;br&gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&lt;br&gt;I tried to build Derby following the guide at
&lt;br&gt;&lt;a href=&quot;http://wiki.apache.org/db-derby/BuildingDerby&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/BuildingDerby&lt;/a&gt;&amp;nbsp;; I'm currently using NetBeans
&lt;br&gt;6.5 with jdk 1.6.0 ; when I try to build the project I get a lot of
&lt;br&gt;exceptions due mainly to the fact that I'm not able to add jUnit jars to the
&lt;br&gt;project.
&lt;br&gt;I'm bit hurry now, I'll try to generate again the project this week end to
&lt;br&gt;be more accurate.
&lt;br&gt;&lt;br&gt;&amp;gt; Yes, you should be able to compile these classes against the official
&lt;br&gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&lt;br&gt;what you mean with &amp;quot;debug jars&amp;quot; ?
&lt;br&gt;&lt;br&gt;Thanks a lot.
&lt;br&gt;&lt;br&gt;Flavio
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt; Da: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233742&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233742&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Inviato: venerdì 6 novembre 2009 15.45
&lt;br&gt;&amp;gt; A: Derby Discussion
&lt;br&gt;&amp;gt; Oggetto: Re: using ASTParser and TreeWalker
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Flavio,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Flavio Palumbo wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi all,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL
&lt;br&gt;&amp;gt; strings and the
&lt;br&gt;&amp;gt; &amp;gt; first works fine while I cannot compile the second cause I receive this
&lt;br&gt;&amp;gt; &amp;gt; compile time error :
&lt;br&gt;&amp;gt; &amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt; &amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;&amp;gt; &amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; is there a newer version I can use or can somebody tell me how
&lt;br&gt;&amp;gt; to fix this
&lt;br&gt;&amp;gt; &amp;gt; problem ?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; The visitChildrenFirst() method was added to the Visitor interface
&lt;br&gt;&amp;gt; recently. I have attached &amp;nbsp;new versions of TreeWalker, XmlTreeWalker,
&lt;br&gt;&amp;gt; and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415
&lt;br&gt;&amp;gt; respectively. The new versions implement the new method and should
&lt;br&gt;&amp;gt; compile against the current Derby trunk. If this doesn't fix your
&lt;br&gt;&amp;gt; problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt; &amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment -
&lt;br&gt;&amp;gt; 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt; &amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I have successfully compiled and run this ASTParser against the debug
&lt;br&gt;&amp;gt; &amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; it means that I can compile and run ASTParser and TreeWalker against the
&lt;br&gt;&amp;gt; &amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Yes, you should be able to compile these classes against the official
&lt;br&gt;&amp;gt; debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; &amp;gt; this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; Please tell us more about the problems you are having compiling the
&lt;br&gt;&amp;gt; Derby trunk. We want to make the build easier.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; -Rick
&lt;br&gt;&amp;gt; &amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Flavio
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Il presente messaggio non costituisce un impegno contrattuale
&lt;br&gt;&amp;gt; tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; &amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al
&lt;br&gt;&amp;gt; contenuto del presente messaggio.
&lt;br&gt;&amp;gt; &amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; &amp;gt; Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore
&lt;br&gt;&amp;gt; siete pregati di comunicarlo
&lt;br&gt;&amp;gt; &amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233742&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&lt;br&gt;Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233742&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26233742.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26233167</id>
	<title>Re: using ASTParser and TreeWalker</title>
	<published>2009-11-06T06:45:26Z</published>
	<updated>2009-11-06T06:45:26Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hi Flavio,
&lt;br&gt;&lt;br&gt;Flavio Palumbo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried test ASTParser and TreeWalker to try to parse SQL strings and the
&lt;br&gt;&amp;gt; first works fine while I cannot compile the second cause I receive this
&lt;br&gt;&amp;gt; compile time error :
&lt;br&gt;&amp;gt; TreeWalker is not abstract and does not override abstract method
&lt;br&gt;&amp;gt; visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;&amp;gt; org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is there a newer version I can use or can somebody tell me how to fix this
&lt;br&gt;&amp;gt; problem ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;The visitChildrenFirst() method was added to the Visitor interface 
&lt;br&gt;recently. I have attached &amp;nbsp;new versions of TreeWalker, XmlTreeWalker, 
&lt;br&gt;and XmlTreePrinter to DERBY-3946, DERBY-791, and DERBY-4415 
&lt;br&gt;respectively. The new versions implement the new method and should 
&lt;br&gt;compile against the current Derby trunk. If this doesn't fix your 
&lt;br&gt;problem, let me know and I'll look into this more.
&lt;br&gt;&amp;gt; also I found the post &amp;quot;Rick Hillegas added a comment - 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;&amp;gt; on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have successfully compiled and run this ASTParser against the debug
&lt;br&gt;&amp;gt; derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; it means that I can compile and run ASTParser and TreeWalker against the
&lt;br&gt;&amp;gt; normal distribution of Derby ?
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Yes, you should be able to compile these classes against the official 
&lt;br&gt;debug jars for 10.5.3.0.
&lt;br&gt;&amp;gt; this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Please tell us more about the problems you are having compiling the 
&lt;br&gt;Derby trunk. We want to make the build easier.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;-Rick
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Any hint would be appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Flavio
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------
&lt;br&gt;&amp;gt; Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;&amp;gt; Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;&amp;gt; SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;&amp;gt; Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;&amp;gt; Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;&amp;gt; alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26233167&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26233167.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26232461</id>
	<title>using ASTParser and TreeWalker</title>
	<published>2009-11-06T05:49:12Z</published>
	<updated>2009-11-06T05:49:12Z</updated>
	<author>
		<name>Flavio Palumbo</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&lt;br&gt;I tried test ASTParser and TreeWalker to try to parse SQL strings and the
&lt;br&gt;first works fine while I cannot compile the second cause I receive this
&lt;br&gt;compile time error :
&lt;br&gt;TreeWalker is not abstract and does not override abstract method
&lt;br&gt;visitChildrenFirst(org.apache.derby.iapi.sql.compile.Visitable) in
&lt;br&gt;org.apache.derby.iapi.sql.compile.Visitor
&lt;br&gt;&lt;br&gt;is there a newer version I can use or can somebody tell me how to fix this
&lt;br&gt;problem ?
&lt;br&gt;&lt;br&gt;also I found the post &amp;quot;Rick Hillegas added a comment - 25/Aug/09 04:00 PM&amp;quot;
&lt;br&gt;on &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3946&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3946&lt;/a&gt;&amp;nbsp;:
&lt;br&gt;&lt;br&gt;I have successfully compiled and run this ASTParser against the debug
&lt;br&gt;derby.jar that is part of the 10.5.3.0 distribution
&lt;br&gt;&lt;br&gt;it means that I can compile and run ASTParser and TreeWalker against the
&lt;br&gt;normal distribution of Derby ?
&lt;br&gt;this would be great cause I fight a lot to compile Derby from svn.
&lt;br&gt;&lt;br&gt;Any hint would be appreciated.
&lt;br&gt;&lt;br&gt;Flavio
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----------------------------------------------------------
&lt;br&gt;Il presente messaggio non costituisce un impegno contrattuale tra SILMA S.r.l. ed il destinatario.
&lt;br&gt;Le opinioni ivi espresse sono quelle dell'autore.
&lt;br&gt;SILMA S.r.l. non assume alcuna responsabilita riguardo al contenuto del presente messaggio.
&lt;br&gt;Il messaggio è destinato esclusivamente al destinatario.
&lt;br&gt;Il contenuto e gli allegati sono da considerarsi di natura confidenziale
&lt;br&gt;&lt;br&gt;Nel caso abbiate ricevuto il presente messaggio per errore siete pregati di comunicarlo
&lt;br&gt;alla casella &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26232461&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;segreteria@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/using-ASTParser-and-TreeWalker-tp26232461p26232461.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26229187</id>
	<title>Database in a jar  starts from another dir</title>
	<published>2009-11-06T01:40:09Z</published>
	<updated>2009-11-06T01:40:09Z</updated>
	<author>
		<name>RAPPAZ Francois</name>
	</author>
	<content type="html">Hi
&lt;br&gt;I have java classes and a database within the same jar. Using the connection
&lt;br&gt;string jdbc:derby:jar:(myfile.jar)mydatabase (now defined at comiled time) all
&lt;br&gt;works well if I start the application by double-clicking the jar or running the
&lt;br&gt;jar with java -jar myapp.jar in the directory where myfile.jar and derby.jar 
&lt;br&gt;are. In the manifest of the jar I have a class-path attribute with derby.jar.
&lt;br&gt;&lt;br&gt;Now if I have a shortcut to the jar or in I run the apps from another directory
&lt;br&gt;the database is lost. For example, running 
&lt;br&gt;java -cp u:\docs ..\myfile.jar ch.my.package.MyMainClass does not resolve the
&lt;br&gt;problem.
&lt;br&gt;I could put a properties file with the connection string with the full path to
&lt;br&gt;the jar file in the connection string, but I would ask if there is another 
&lt;br&gt;solution.
&lt;br&gt;&lt;br&gt;Thanks for any help
&lt;br&gt;&lt;br&gt;François
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Database-in-a-jar--starts-from-another-dir-tp26229187p26229187.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26221626</id>
	<title>Re: Using Derby to access Cloudscape DB</title>
	<published>2009-11-05T12:22:53Z</published>
	<updated>2009-11-05T12:22:53Z</updated>
	<author>
		<name>Myrna van Lunteren</name>
	</author>
	<content type="html">On Thu, Nov 5, 2009 at 5:39 AM, mjs1138 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26221626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mjsulliv@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; hey Rick &amp; Bryan, thanks for the responses.  I think I'll start w/ the older
&lt;br&gt;&amp;gt; derby path first.  Thanks again.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --- Miie
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; mjs1138 wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi.  I'm hoping someone here can help me or at least point me in the right
&lt;br&gt;&amp;gt;&amp;gt; / any direction.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've been asked to retrieve data from an old java app that was developed
&lt;br&gt;&amp;gt;&amp;gt; using cloudscape (CS).  I have never used cloudscape or derby.  The
&lt;br&gt;&amp;gt;&amp;gt; reading I've done tells me that CS has been migrated to derby.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I started w/ the derby tutorial and got it to work using ij from a dos cmd
&lt;br&gt;&amp;gt;&amp;gt; window.  I then tried to CONNECT to the other DB and received this
&lt;br&gt;&amp;gt;&amp;gt; message:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;   ERROR XJ040: Failed to start database 'patientdb', see the next
&lt;br&gt;&amp;gt;&amp;gt; exception for details.
&lt;br&gt;&amp;gt;&amp;gt;   ERROR XSLAC: Database at C:\Users\Mike\DERBYTUTOR\patientdb have
&lt;br&gt;&amp;gt;&amp;gt; incompatible format with the current version of software, it may have been
&lt;br&gt;&amp;gt;&amp;gt; created by or upgraded by a later version.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've searched for a migration process but haven’t been able to find one.
&lt;br&gt;&amp;gt;&amp;gt; Any thought or help w/ direction will be greatly appreciated.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks --- Mike
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context: &lt;a href=&quot;http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26213635.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26213635.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Apache Derby Users mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;There is *no* direct path from Derby to Cloudscape. You *cannot*
&lt;br&gt;connect to a Cloudscape database using any version of Derby - and you
&lt;br&gt;should not try to do so.
&lt;br&gt;&lt;br&gt;Instead, you'll need to open the Cloudscape database using some
&lt;br&gt;version of Cloudscape, and export the data to text; then create a new
&lt;br&gt;database in Derby and load your data. You'll need to look at the
&lt;br&gt;documentation for both products how to do this.
&lt;br&gt;&lt;br&gt;Depending on how much non-standard (and so discontinued) functionality
&lt;br&gt;was used in the app and database, you may even have more trouble. To
&lt;br&gt;start with, Derby has no Boolean datatype. Also, for instance, The
&lt;br&gt;Cloudscape stored procedures are not a direct match for Derby stored
&lt;br&gt;procedures. There is no equivalent for Cloudscape Stored Prepared
&lt;br&gt;Statements. The VTI interface from Cloudscape does not directly
&lt;br&gt;translate to Derby.
&lt;br&gt;Basically, you'll need to analyze how the old app was created, and
&lt;br&gt;what functionality it used, and then compare with Derby and see if
&lt;br&gt;there is a match.
&lt;br&gt;&lt;br&gt;HTH
&lt;br&gt;&lt;br&gt;Myrna
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26221626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26220058</id>
	<title>RE: Upgrading Issues</title>
	<published>2009-11-05T10:37:26Z</published>
	<updated>2009-11-05T10:37:26Z</updated>
	<author>
		<name>Allgeyer, Jessica</name>
	</author>
	<content type="html">Kristian
&lt;br&gt;&lt;br&gt;If we decide to upgrade we'll try the Dummy approach. We'll keep an eye out for patches and upgrades related to this issue 
&lt;br&gt;&lt;br&gt;Thanks again for your help. 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jessica Allgeyer
&lt;br&gt;(513) 763 - 8523
&lt;br&gt;&lt;br&gt;Any fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. -albert einstein
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220058&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220058&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 04, 2009 12:27 PM
&lt;br&gt;To: Derby Discussion
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220058&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;; Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;Subject: Re: Upgrading Issues
&lt;br&gt;&lt;br&gt;Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Kristian/Rick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've included 2 attachments. One is the full stack trace for the NullPointerException. The other is the file the call is trying to use. The file is zero bytes and does not contain any characters. Our platform is Windows and we are using Java to run the call. &amp;nbsp;Below is the full import call. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE ('SA', 'CHACRGE', 
&lt;br&gt;&amp;gt; 'C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv','|','``',null
&lt;br&gt;&amp;gt; ,1)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;A quick (and not that thorough) debugging session seems to have led me to the problem, which is related to the addition of collation support.
&lt;br&gt;&lt;br&gt;The NPE happens here (from line 2348) in InsertResultSet.emptyIndexes:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; newIndexCongloms[index] =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tc.createAndLoadConglomerate(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;BTREE&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexRows[index].getRowArray(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null, //default column sort order
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TransactionController.IS_DEFAULT,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowSources[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (long[]) null);
&lt;br&gt;&lt;br&gt;The problem is that the variable 'collation' hasn't been initialized and is null.
&lt;br&gt;Adding &amp;quot;int[][] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation = new int[numIndexes][];&amp;quot; to the 
&lt;br&gt;top of the method makes the repro pass, but I haven't studied the code or run the regression tests.
&lt;br&gt;&lt;br&gt;Not sure there is much you can do about this, except for not using replacement in the import or simply avoiding import of empty files.
&lt;br&gt;Maybe detecting empty files and executing a &amp;quot;delete from TABLE&amp;quot; would do?
&lt;br&gt;(until the bug has been fixed)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220058&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26220058&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 9:14 AM
&lt;br&gt;&amp;gt; To: Derby Discussion
&lt;br&gt;&amp;gt; Cc: Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;&amp;gt; Subject: Re: Upgrading Issues
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Hello Jessica,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not able to reproduce with neither 10.5 nor the development trunk, so more information would be useful.
&lt;br&gt;&amp;gt; (Just noticed Rick reporting the same.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I simply tried importing a file of size zero bytes, and that worked (i.e. nothing happened).
&lt;br&gt;&amp;gt; Some suggestions:
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you provide the stack trace from the NullPointerException?
&lt;br&gt;&amp;gt; &amp;nbsp; (remove traces you don't want to reveal if necessary)
&lt;br&gt;&amp;gt; &amp;nbsp;- Is the file zero bytes, or is there at least one character/byte (visible or non-visible) in there?
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you specify the full import call?
&lt;br&gt;&amp;gt; &amp;nbsp;- What's your platform? Do you already now that the bug occurs at any platform?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The best thing you can do is to provide a small repro script :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Kristian
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ********************************************************************** 
&lt;br&gt;&amp;gt;&amp;gt; The content of this e-mail message and any attachments are 
&lt;br&gt;&amp;gt;&amp;gt; confidential and may be legally privileged, intended solely for the 
&lt;br&gt;&amp;gt;&amp;gt; addressee. If you are not the intended recipient, be advised that any 
&lt;br&gt;&amp;gt;&amp;gt; use, dissemination, distribution, or copying of this e-mail is 
&lt;br&gt;&amp;gt;&amp;gt; strictly prohibited. If you receive this message in error, please 
&lt;br&gt;&amp;gt;&amp;gt; notify the sender immediately by reply email and destroy the message 
&lt;br&gt;&amp;gt;&amp;gt; and its attachments. 
&lt;br&gt;&amp;gt;&amp;gt; **********************************************************************
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26220058.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26217741</id>
	<title>Re: implicite datacasting</title>
	<published>2009-11-05T08:19:38Z</published>
	<updated>2009-11-05T08:19:38Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;This is a known issue with Derby, tracked by 
&lt;br&gt;&lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-3662&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-3662&lt;/a&gt;&lt;br&gt;&lt;br&gt;In addition to the workaround you mentioned, you can write your own 
&lt;br&gt;casting function. &amp;nbsp;Your statement would look something like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;INSERT INTO table1 (id, name, code) VALUES (1, 'somebody', 
&lt;br&gt;myCastingFunction( 03184) )
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;-Rick
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hardie82 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have a problem with an insert-statement. I have an application that used a
&lt;br&gt;&amp;gt; hsqldb. Now I want to switch to derby but got the problem that derby didn't
&lt;br&gt;&amp;gt; cast an integer to a char-column. I always get an exception by the following
&lt;br&gt;&amp;gt; example:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; INSERT INTO table1 (id, name, code) VALUES (1, 'somebody', 03184)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Column code is type varchar(20) and I read elcewhere that derby implicite
&lt;br&gt;&amp;gt; could parse this to varchar. Is this correct or should I cast it manually
&lt;br&gt;&amp;gt; like 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; INSERT INTO table1 (id, name, code) VALUES (1, 'somebody', '03184') ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; By the way with hsqldb the error didn't occur.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/implicite-datacasting-tp26208648p26217741.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26214910</id>
	<title>Re: target date for Derby 10.6.1</title>
	<published>2009-11-05T05:48:35Z</published>
	<updated>2009-11-05T05:48:35Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hi Simon,
&lt;br&gt;&lt;br&gt;No-one has volunteered to manage the 10.6 release yet and that 
&lt;br&gt;particular feature (sequences) isn't finished yet, so I can't make any 
&lt;br&gt;promises. However, for the past couple years the Derby community has 
&lt;br&gt;produced a feature release in the spring. I think it's likely that we 
&lt;br&gt;may start testing release candidates in March or April and have a GA 
&lt;br&gt;around the end of April.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;-Rick
&lt;br&gt;&lt;br&gt;Simon Payne wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi there
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please can you advise me what is the target date for release of Derby 10.6.1. &amp;nbsp;I am particularly interested in &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-712&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-712&lt;/a&gt;&amp;nbsp;about sequence support as this will be very useful for our application.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Simon Payne
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1Spatial: unlocking data, empowering business
&lt;br&gt;&amp;gt; Making geospatial data current, accessible, easily shared and trusted
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; www.1spatial.com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1Spatial Group Limited; Registered in England No. 4785688 VAT Reg. No. 816329821; Registered Office: Cavendish House; 6 Cambridge Business Park; Cambridge; CB4 0WZ; United Kingdom
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; IMPORTANT NOTICE
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of 1Spatial Group Limited, its subsidiaries or associated companies, except where the author specifically states them to be the views of 1Spatial Group Limited, its subsidiaries or associated companies. 
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; 1Spatial Group Limited, its subsidiaries and associated companies will not be held liable for any legally binding obligations that are not the subject of an official 1Spatial purchase order or as part of a contract signed by a director of one of the aforementioned companies.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. You should understand and accept that, when communicating with us by e-mail, it is not a totally secure communications medium.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/target-date-for-Derby-10.6.1-tp26212555p26214910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26213635</id>
	<title>Re: Using Derby to access Cloudscape DB</title>
	<published>2009-11-05T04:39:20Z</published>
	<updated>2009-11-05T04:39:20Z</updated>
	<author>
		<name>mjs1138</name>
	</author>
	<content type="html">hey Rick &amp; Bryan, thanks for the responses. &amp;nbsp;I think I'll start w/ the older derby path first. &amp;nbsp;Thanks again.
&lt;br&gt;&lt;br&gt;--- Miie
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;mjs1138 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi. &amp;nbsp;I'm hoping someone here can help me or at least point me in the right / any direction.
&lt;br&gt;&lt;br&gt;I've been asked to retrieve data from an old java app that was developed using cloudscape (CS). &amp;nbsp;I have never used cloudscape or derby. &amp;nbsp;The reading I've done tells me that CS has been migrated to derby.
&lt;br&gt;&lt;br&gt;I started w/ the derby tutorial and got it to work using ij from a dos cmd window. &amp;nbsp;I then tried to CONNECT to the other DB and received this message:
&lt;br&gt;&lt;br&gt;&lt;b&gt;&amp;nbsp; ERROR XJ040: Failed to start database 'patientdb', see the next exception for details.
&lt;br&gt;&amp;nbsp; ERROR XSLAC: Database at C:\Users\Mike\DERBYTUTOR\patientdb have incompatible format with the current version of software, it may have been created by or upgraded by a later version.&lt;/b&gt;&lt;br&gt;&lt;br&gt;I've searched for a migration process but haven’t been able to find one. &amp;nbsp;Any thought or help w/ direction will be greatly appreciated.
&lt;br&gt;&lt;br&gt;Thanks --- Mike
&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26213635.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26212555</id>
	<title>target date for Derby 10.6.1</title>
	<published>2009-11-05T03:00:35Z</published>
	<updated>2009-11-05T03:00:35Z</updated>
	<author>
		<name>sipayne</name>
	</author>
	<content type="html">Hi there
&lt;br&gt;&lt;br&gt;Please can you advise me what is the target date for release of Derby 10.6.1. &amp;nbsp;I am particularly interested in &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-712&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-712&lt;/a&gt;&amp;nbsp;about sequence support as this will be very useful for our application.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Simon Payne
&lt;br&gt;&lt;br&gt;1Spatial: unlocking data, empowering business
&lt;br&gt;Making geospatial data current, accessible, easily shared and trusted
&lt;br&gt;&lt;br&gt;www.1spatial.com
&lt;br&gt;&lt;br&gt;1Spatial Group Limited; Registered in England No. 4785688 VAT Reg. No. 816329821; Registered Office: Cavendish House; 6 Cambridge Business Park; Cambridge; CB4 0WZ; United Kingdom
&lt;br&gt;&lt;br&gt;&lt;br&gt;IMPORTANT NOTICE
&lt;br&gt;&amp;nbsp;
&lt;br&gt;This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of 1Spatial Group Limited, its subsidiaries or associated companies, except where the author specifically states them to be the views of 1Spatial Group Limited, its subsidiaries or associated companies. 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;1Spatial Group Limited, its subsidiaries and associated companies will not be held liable for any legally binding obligations that are not the subject of an official 1Spatial purchase order or as part of a contract signed by a director of one of the aforementioned companies.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. You should understand and accept that, when communicating with us by e-mail, it is not a totally secure communications medium.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/target-date-for-Derby-10.6.1-tp26212555p26212555.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211821</id>
	<title>Re: Upgrading Issues</title>
	<published>2009-11-05T01:52:16Z</published>
	<updated>2009-11-05T01:52:16Z</updated>
	<author>
		<name>Kristian Waagan-4</name>
	</author>
	<content type="html">Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Kristian
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Because of performance issues, we are not able to simply skip the replace call and use a 'delete from table' execute. We have tried that before and the delays are too significant. 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;I see.
&lt;br&gt;What about using a minimal dummy file for import, then deleting the 
&lt;br&gt;single row after the import?
&lt;br&gt;(I know, awkward, and I don't know your performance requirements)
&lt;br&gt;&lt;br&gt;In any case, I logged the bug as DERBY-4435 [1].
&lt;br&gt;&lt;br&gt;&amp;gt; Do you know if this issue is being addressed now and have a possible ETA? 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;I'm not aware of anyone looking at the issue at the moment. Watch the 
&lt;br&gt;Jira issue for updates.
&lt;br&gt;Note that there are no planned 10.5 maintenance releases at the moment. 
&lt;br&gt;You may want to consider rolling your own build from the 10.5 branch 
&lt;br&gt;(after the bug has been addressed).
&lt;br&gt;The plans for the next feature release can be found on the wiki [2].
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;https://issues.apache.org/jira/browse/DERBY-4435&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://issues.apache.org/jira/browse/DERBY-4435&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://wiki.apache.org/db-derby/DerbyTenSixOneRelease&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.apache.org/db-derby/DerbyTenSixOneRelease&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. -albert einstein
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211821&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211821&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 12:27 PM
&lt;br&gt;&amp;gt; To: Derby Discussion
&lt;br&gt;&amp;gt; Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26211821&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;; Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;&amp;gt; Subject: Re: Upgrading Issues
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Kristian/Rick
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've included 2 attachments. One is the full stack trace for the NullPointerException. The other is the file the call is trying to use. The file is zero bytes and does not contain any characters. Our platform is Windows and we are using Java to run the call. &amp;nbsp;Below is the full import call. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE ('SA', 'CHACRGE', 
&lt;br&gt;&amp;gt;&amp;gt; 'C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv','|','``',null
&lt;br&gt;&amp;gt;&amp;gt; ,1)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; A quick (and not that thorough) debugging session seems to have led me to the problem, which is related to the addition of collation support.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The NPE happens here (from line 2348) in InsertResultSet.emptyIndexes:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; newIndexCongloms[index] =
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tc.createAndLoadConglomerate(
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;BTREE&amp;quot;,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexRows[index].getRowArray(),
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null, //default column sort order
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation[index],
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TransactionController.IS_DEFAULT,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowSources[index],
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (long[]) null);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The problem is that the variable 'collation' hasn't been initialized and is null.
&lt;br&gt;&amp;gt; Adding &amp;quot;int[][] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation = new int[numIndexes][];&amp;quot; to the 
&lt;br&gt;&amp;gt; top of the method makes the repro pass, but I haven't studied the code or run the regression tests.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not sure there is much you can do about this, except for not using replacement in the import or simply avoiding import of empty files.
&lt;br&gt;&amp;gt; Maybe detecting empty files and executing a &amp;quot;delete from TABLE&amp;quot; would do?
&lt;br&gt;&amp;gt; (until the bug has been fixed)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26211821.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208648</id>
	<title>implicite datacasting</title>
	<published>2009-11-05T01:34:17Z</published>
	<updated>2009-11-05T01:34:17Z</updated>
	<author>
		<name>Hardie82</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have a problem with an insert-statement. I have an application that used a hsqldb. Now I want to switch to derby but got the problem that derby didn't cast an integer to a char-column. I always get an exception by the following example:
&lt;br&gt;&lt;br&gt;INSERT INTO table1 (id, name, code) VALUES (1, 'somebody', 03184)
&lt;br&gt;&lt;br&gt;Column code is type varchar(20) and I read elcewhere that derby implicite could parse this to varchar. Is this correct or should I cast it manually like 
&lt;br&gt;&lt;br&gt;INSERT INTO table1 (id, name, code) VALUES (1, 'somebody', '03184') ?
&lt;br&gt;&lt;br&gt;By the way with hsqldb the error didn't occur.
&lt;br&gt;&lt;br&gt;Greetings</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/implicite-datacasting-tp26208648p26208648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208643</id>
	<title>Re: Start server within java-application???</title>
	<published>2009-11-05T01:26:15Z</published>
	<updated>2009-11-05T01:26:15Z</updated>
	<author>
		<name>Hardie82</name>
	</author>
	<content type="html">Thanks for your help. I tried it and it runs. Very nice :)
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Bernt M. Johnsen wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hardie82 wrote (2009-11-04 00:32:58):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hallo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to start derby in servermode within a java-application. Is this
&lt;br&gt;&amp;gt; possible? I didn't find a thing in the documentation but start the server
&lt;br&gt;&amp;gt; via console-statements.
&lt;br&gt;&lt;br&gt;Juse the NetworkServerControl API:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://db.apache.org/derby/javadoc/publishedapi/jdbc4/org/apache/derby/drda/NetworkServerControl.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/javadoc/publishedapi/jdbc4/org/apache/derby/drda/NetworkServerControl.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Bernt Marius Johnsen, Staff Engineer
&lt;br&gt;Database Technology Group, Sun Microsystems, Trondheim, Norway
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Start-server-within-java-application----tp26192656p26208643.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26211091</id>
	<title>Re: Overriding one database's content with another</title>
	<published>2009-11-05T00:52:37Z</published>
	<updated>2009-11-05T00:52:37Z</updated>
	<author>
		<name>Blanky-kun</name>
	</author>
	<content type="html">Kristian Waagan &amp;lt;Kristian.Waagan@...&amp;gt; writes:
&lt;br&gt;&amp;gt; The conglomerate number is represented as an integer in the system 
&lt;br&gt;&amp;gt; tables. To get the corresponding file, convert the integer to 
&lt;br&gt;&amp;gt; hexadecimal, prefix a 'c' and append '.dat'.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Remember that indexes are stored in their own separate file (also 
&lt;br&gt;&amp;gt; recorded in the system tables).
&lt;br&gt;&lt;br&gt;Thank you, this is exactly what I was looking for!
&lt;br&gt;&lt;br&gt;As for the indices, I don't think they're ever changing, but my plan was to grab
&lt;br&gt;all of the conglomerates corresponding to the data schema, and the indices would
&lt;br&gt;be a part of that. I don't mind 38 vs. 19 files, it was the 139 vs. 19 that was
&lt;br&gt;problematic. I'd rather not needlessly overwrite a bunch of system information
&lt;br&gt;for the database, and I'd rather not have to programatically drop the user_data
&lt;br&gt;tables before pushing out a build of the program just to ensure the users don't
&lt;br&gt;get their settings changed.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Overriding-one-database%27s-content-with-another-tp25427052p26211091.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210983</id>
	<title>Re: Overriding one database's content with another</title>
	<published>2009-11-05T00:40:03Z</published>
	<updated>2009-11-05T00:40:03Z</updated>
	<author>
		<name>Kristian Waagan-4</name>
	</author>
	<content type="html">Brian Shields wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Bryan Pendleton &amp;lt;bpendleton@...&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not exactly sure which files represent what, and there's no noticeable naming
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; scheme to the DAT files I can go off of.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; The naming scheme is based off the conglomerate ID, which can be used to
&lt;br&gt;&amp;gt;&amp;gt; cross-reference back to the system catalogs.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This should help you get the hang of figuring out which file goes with
&lt;br&gt;&amp;gt;&amp;gt; which conglomerate, and hence with which table/index:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The vast majority of the CONGLOMERATEIDs for my tables contain either c16f or
&lt;br&gt;&amp;gt; c20e, and end in c00 or c30. My filenames range from c1a1 to cf0, so unless you
&lt;br&gt;&amp;gt; can tell me how the filenames are generated from the CONGLOMERATEID, I don't see
&lt;br&gt;&amp;gt; how that solves my problem...
&lt;/div&gt;Hi Brian,
&lt;br&gt;&lt;br&gt;I think what Bryan meant was the conglomerate number. See in 
&lt;br&gt;SYS.SYSCONGLOMERATES.
&lt;br&gt;You may also want to filter based on the schema id etc, and you have to 
&lt;br&gt;join data from SYS.SYSTABLES if you want to target a specific table/index.
&lt;br&gt;The conglomerate number is represented as an integer in the system 
&lt;br&gt;tables. To get the corresponding file, convert the integer to 
&lt;br&gt;hexadecimal, prefix a 'c' and append '.dat'.
&lt;br&gt;&lt;br&gt;Remember that indexes are stored in their own separate file (also 
&lt;br&gt;recorded in the system tables).
&lt;br&gt;I've never tried to update parts of a database in this way, let us know 
&lt;br&gt;how it works out :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Overriding-one-database%27s-content-with-another-tp25427052p26210983.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26210058</id>
	<title>Re: Overriding one database's content with another</title>
	<published>2009-11-04T22:59:10Z</published>
	<updated>2009-11-04T22:59:10Z</updated>
	<author>
		<name>Blanky-kun</name>
	</author>
	<content type="html">Bryan Pendleton &amp;lt;bpendleton@...&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;gt; not exactly sure which files represent what, and there's no noticeable naming
&lt;br&gt;&amp;gt; &amp;gt; scheme to the DAT files I can go off of.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The naming scheme is based off the conglomerate ID, which can be used to
&lt;br&gt;&amp;gt; cross-reference back to the system catalogs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This should help you get the hang of figuring out which file goes with
&lt;br&gt;&amp;gt; which conglomerate, and hence with which table/index:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;The vast majority of the CONGLOMERATEIDs for my tables contain either c16f or
&lt;br&gt;c20e, and end in c00 or c30. My filenames range from c1a1 to cf0, so unless you
&lt;br&gt;can tell me how the filenames are generated from the CONGLOMERATEID, I don't see
&lt;br&gt;how that solves my problem...?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Overriding-one-database%27s-content-with-another-tp25427052p26210058.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26208391</id>
	<title>Re: Overriding one database's content with another</title>
	<published>2009-11-04T18:48:04Z</published>
	<updated>2009-11-04T18:48:04Z</updated>
	<author>
		<name>Bryan Pendleton</name>
	</author>
	<content type="html">&amp;gt; not exactly sure which files represent what, and there's no noticeable naming
&lt;br&gt;&amp;gt; scheme to the DAT files I can go off of.
&lt;br&gt;&lt;br&gt;The naming scheme is based off the conglomerate ID, which can be used to
&lt;br&gt;cross-reference back to the system catalogs.
&lt;br&gt;&lt;br&gt;This should help you get the hang of figuring out which file goes with
&lt;br&gt;which conglomerate, and hence with which table/index:
&lt;br&gt;&lt;a href=&quot;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/javadoc/engine/org/apache/derby/diag/SpaceTable.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;bryan
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Overriding-one-database%27s-content-with-another-tp25427052p26208391.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26207482</id>
	<title>Re: Overriding one database's content with another</title>
	<published>2009-11-04T16:55:46Z</published>
	<updated>2009-11-04T16:55:46Z</updated>
	<author>
		<name>Blanky-kun</name>
	</author>
	<content type="html">Rick Hillegas &amp;lt;Richard.Hillegas@...&amp;gt; writes:
&lt;br&gt;&amp;gt; &amp;gt; 1) Using two schemas in one database, how does Derby store the filesystem?
&lt;br&gt;&amp;gt; &amp;gt; Currently, I've got a Data directory, containing a couple files, a log
&lt;br&gt;&amp;gt; &amp;gt; folder, and a seg0 folder with many data files. If the two schemas are
&lt;br&gt;&amp;gt; &amp;gt; stored separately (or in separate subfolders), adding database updates to
&lt;br&gt;&amp;gt; &amp;gt; my program should be trivial. If the data from the two schemas is merged
&lt;br&gt;&amp;gt; &amp;gt; into the same data files, updating the non-user data would be more tricky.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; You'll see one file per table in the seg0 folder. The schemas will not
&lt;br&gt;&amp;gt; share data files.
&lt;br&gt;&lt;br&gt;So I've successfully got two schemas in my database: data and user_data. Both
&lt;br&gt;have 19 tables, and each corresponding table has the same columns, with the
&lt;br&gt;exception that the tables in user_data have a column 'delete_row' at the end.
&lt;br&gt;All 38 tables have a single index. Aside from the two schemas I've created, the
&lt;br&gt;following exist in my database, according to RazorSQL
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.razorsql.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.razorsql.com/&lt;/a&gt;&amp;gt;:
&lt;br&gt;Schema SQLJ contains 3 procedures: install_jar, remove_jar, and replace_jar.
&lt;br&gt;Schema SYS contains 19 system tables and 42 indices.
&lt;br&gt;Schema SYSCS_UTIL contains 26 procedures.
&lt;br&gt;Schema SYSIBM contains 1 system table (sysdummy1) and 22 procedures.
&lt;br&gt;&lt;br&gt;All told, that's 58 tables (20 are system tables), 51 procedures, and 80
&lt;br&gt;indices. My seg0 folder contains 139 data files, which neither matches the total
&lt;br&gt;number of tables in my database, nor the total number of items (189). So, I'm
&lt;br&gt;not exactly sure which files represent what, and there's no noticeable naming
&lt;br&gt;scheme to the DAT files I can go off of.
&lt;br&gt;&lt;br&gt;Most importantly, I don't want to overwrite the files representing user_data
&lt;br&gt;tables when I push an update, so if worst comes to worst, I could
&lt;br&gt;programatically delete the user_data tables from *my* copy before pushing an
&lt;br&gt;update, and I would be overwriting the data and system
&lt;br&gt;tables/procedures/whatever.
&lt;br&gt;&lt;br&gt;Ideally, I would want to only overwrite the data schema tables, as that would be
&lt;br&gt;a smaller download, but it also means I need a way of identifying which files
&lt;br&gt;correspond to what, but I can't exactly read them, so it's a problem.
&lt;br&gt;&lt;br&gt;In short: Is there any way to identify what data files in the seg0 folder
&lt;br&gt;correspond to what tables, and if so what is it? Or do I just have to suck it up
&lt;br&gt;and lop off my user_data before pushing an update?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Overriding-one-database%27s-content-with-another-tp25427052p26207482.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26203840</id>
	<title>Re: Using Derby to access Cloudscape DB</title>
	<published>2009-11-04T12:12:32Z</published>
	<updated>2009-11-04T12:12:32Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hi Mike,
&lt;br&gt;&lt;br&gt;The J2EE SDK for version 1.3_01 claims that it contains a copy of 
&lt;br&gt;Cloudscape 4.0: &lt;a href=&quot;http://java.sun.com/j2ee/sdk_1.3/1.3_01/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/j2ee/sdk_1.3/1.3_01/&lt;/a&gt;&amp;nbsp;That might help 
&lt;br&gt;you, provided that your Cloudscape database is at rev 4.0 or earlier.
&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;-Rick
&lt;br&gt;&lt;br&gt;mjs1138 wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi. &amp;nbsp;I'm hoping someone here can help me or at least point me in the right /
&lt;br&gt;&amp;gt; any direction.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been asked to retrieve data from an old java app that was developed
&lt;br&gt;&amp;gt; using cloudscape (CS). &amp;nbsp;I have never used cloudscape or derby. &amp;nbsp;The reading
&lt;br&gt;&amp;gt; I've done tells me that CS has been migrated to derby.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I started w/ the derby tutorial and got it to work using ij from a dos cmd
&lt;br&gt;&amp;gt; window. &amp;nbsp;I then tried to CONNECT to the other DB and received this message:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; ERROR XJ040: Failed to start database 'patientdb', see the next exception
&lt;br&gt;&amp;gt; for details.
&lt;br&gt;&amp;gt; &amp;nbsp; ERROR XSLAC: Database at C:\Users\Mike\DERBYTUTOR\patientdb have
&lt;br&gt;&amp;gt; incompatible format with the current version of software, it may have been
&lt;br&gt;&amp;gt; created by or upgraded by a later version.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've searched for a migration process but haven’t been able to find one. 
&lt;br&gt;&amp;gt; Any thought or help w/ direction will be greatly appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks --- Mike
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26203840.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26202947</id>
	<title>Re: Using Derby to access Cloudscape DB</title>
	<published>2009-11-04T11:20:21Z</published>
	<updated>2009-11-04T11:20:21Z</updated>
	<author>
		<name>Bryan Pendleton</name>
	</author>
	<content type="html">&amp;gt; I've been asked to retrieve data from an old java app that was developed
&lt;br&gt;&amp;gt; using cloudscape (CS). 
&lt;br&gt;&lt;br&gt;Which version of Derby did you try? It's possible that you may find greater
&lt;br&gt;success by using an *older* version of Derby; try using Derby 10.1.1.0 and
&lt;br&gt;see if it can connect to that old database.
&lt;br&gt;&lt;br&gt;Also, attach the entire derby.log from your session in which you try to
&lt;br&gt;open the old database; it may have more information.
&lt;br&gt;&lt;br&gt;thanks,
&lt;br&gt;&lt;br&gt;bryan
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26202947.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26202350</id>
	<title>Using Derby to access Cloudscape DB</title>
	<published>2009-11-04T10:47:30Z</published>
	<updated>2009-11-04T10:47:30Z</updated>
	<author>
		<name>mjs1138</name>
	</author>
	<content type="html">Hi. &amp;nbsp;I'm hoping someone here can help me or at least point me in the right / any direction.
&lt;br&gt;&lt;br&gt;I've been asked to retrieve data from an old java app that was developed using cloudscape (CS). &amp;nbsp;I have never used cloudscape or derby. &amp;nbsp;The reading I've done tells me that CS has been migrated to derby.
&lt;br&gt;&lt;br&gt;I started w/ the derby tutorial and got it to work using ij from a dos cmd window. &amp;nbsp;I then tried to CONNECT to the other DB and received this message:
&lt;br&gt;&lt;br&gt;&lt;b&gt;&amp;nbsp; ERROR XJ040: Failed to start database 'patientdb', see the next exception for details.
&lt;br&gt;&amp;nbsp; ERROR XSLAC: Database at C:\Users\Mike\DERBYTUTOR\patientdb have incompatible format with the current version of software, it may have been created by or upgraded by a later version.&lt;/b&gt;&lt;br&gt;&lt;br&gt;I've searched for a migration process but haven’t been able to find one. &amp;nbsp;Any thought or help w/ direction will be greatly appreciated.
&lt;br&gt;&lt;br&gt;Thanks --- Mike
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-Derby-to-access-Cloudscape-DB-tp26202350p26202350.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26201541</id>
	<title>RE: Upgrading Issues</title>
	<published>2009-11-04T10:00:05Z</published>
	<updated>2009-11-04T10:00:05Z</updated>
	<author>
		<name>Allgeyer, Jessica</name>
	</author>
	<content type="html">Kristian
&lt;br&gt;&lt;br&gt;Because of performance issues, we are not able to simply skip the replace call and use a 'delete from table' execute. We have tried that before and the delays are too significant. 
&lt;br&gt;&lt;br&gt;Do you know if this issue is being addressed now and have a possible ETA? 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jessica Allgeyer
&lt;br&gt;(513) 763 - 8523
&lt;br&gt;&lt;br&gt;Any fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. -albert einstein
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201541&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 04, 2009 12:27 PM
&lt;br&gt;To: Derby Discussion
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201541&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Richard.Hillegas@...&lt;/a&gt;; Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;Subject: Re: Upgrading Issues
&lt;br&gt;&lt;br&gt;Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Kristian/Rick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've included 2 attachments. One is the full stack trace for the NullPointerException. The other is the file the call is trying to use. The file is zero bytes and does not contain any characters. Our platform is Windows and we are using Java to run the call. &amp;nbsp;Below is the full import call. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE ('SA', 'CHACRGE', 
&lt;br&gt;&amp;gt; 'C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv','|','``',null
&lt;br&gt;&amp;gt; ,1)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;A quick (and not that thorough) debugging session seems to have led me to the problem, which is related to the addition of collation support.
&lt;br&gt;&lt;br&gt;The NPE happens here (from line 2348) in InsertResultSet.emptyIndexes:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; newIndexCongloms[index] =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tc.createAndLoadConglomerate(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;BTREE&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexRows[index].getRowArray(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null, //default column sort order
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TransactionController.IS_DEFAULT,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowSources[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (long[]) null);
&lt;br&gt;&lt;br&gt;The problem is that the variable 'collation' hasn't been initialized and is null.
&lt;br&gt;Adding &amp;quot;int[][] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation = new int[numIndexes][];&amp;quot; to the 
&lt;br&gt;top of the method makes the repro pass, but I haven't studied the code or run the regression tests.
&lt;br&gt;&lt;br&gt;Not sure there is much you can do about this, except for not using replacement in the import or simply avoiding import of empty files.
&lt;br&gt;Maybe detecting empty files and executing a &amp;quot;delete from TABLE&amp;quot; would do?
&lt;br&gt;(until the bug has been fixed)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201541&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26201541&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 9:14 AM
&lt;br&gt;&amp;gt; To: Derby Discussion
&lt;br&gt;&amp;gt; Cc: Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;&amp;gt; Subject: Re: Upgrading Issues
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Hello Jessica,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not able to reproduce with neither 10.5 nor the development trunk, so more information would be useful.
&lt;br&gt;&amp;gt; (Just noticed Rick reporting the same.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I simply tried importing a file of size zero bytes, and that worked (i.e. nothing happened).
&lt;br&gt;&amp;gt; Some suggestions:
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you provide the stack trace from the NullPointerException?
&lt;br&gt;&amp;gt; &amp;nbsp; (remove traces you don't want to reveal if necessary)
&lt;br&gt;&amp;gt; &amp;nbsp;- Is the file zero bytes, or is there at least one character/byte (visible or non-visible) in there?
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you specify the full import call?
&lt;br&gt;&amp;gt; &amp;nbsp;- What's your platform? Do you already now that the bug occurs at any platform?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The best thing you can do is to provide a small repro script :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Kristian
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ********************************************************************** 
&lt;br&gt;&amp;gt;&amp;gt; The content of this e-mail message and any attachments are 
&lt;br&gt;&amp;gt;&amp;gt; confidential and may be legally privileged, intended solely for the 
&lt;br&gt;&amp;gt;&amp;gt; addressee. If you are not the intended recipient, be advised that any 
&lt;br&gt;&amp;gt;&amp;gt; use, dissemination, distribution, or copying of this e-mail is 
&lt;br&gt;&amp;gt;&amp;gt; strictly prohibited. If you receive this message in error, please 
&lt;br&gt;&amp;gt;&amp;gt; notify the sender immediately by reply email and destroy the message 
&lt;br&gt;&amp;gt;&amp;gt; and its attachments. 
&lt;br&gt;&amp;gt;&amp;gt; **********************************************************************
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26201541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26200914</id>
	<title>Re: Upgrading Issues</title>
	<published>2009-11-04T09:27:01Z</published>
	<updated>2009-11-04T09:27:01Z</updated>
	<author>
		<name>Kristian Waagan-4</name>
	</author>
	<content type="html">Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Kristian/Rick
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've included 2 attachments. One is the full stack trace for the NullPointerException. The other is the file the call is trying to use. The file is zero bytes and does not contain any characters. Our platform is Windows and we are using Java to run the call. &amp;nbsp;Below is the full import call. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE ('SA', 'CHACRGE', 'C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv','|','``',null,1)
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;A quick (and not that thorough) debugging session seems to have led me 
&lt;br&gt;to the problem, which is related to the addition of collation support.
&lt;br&gt;&lt;br&gt;The NPE happens here (from line 2348) in InsertResultSet.emptyIndexes:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; newIndexCongloms[index] =
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tc.createAndLoadConglomerate(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;quot;BTREE&amp;quot;,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; indexRows[index].getRowArray(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; null, //default column sort order
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; properties,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TransactionController.IS_DEFAULT,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rowSources[index],
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (long[]) null);
&lt;br&gt;&lt;br&gt;The problem is that the variable 'collation' hasn't been initialized and 
&lt;br&gt;is null.
&lt;br&gt;Adding &amp;quot;int[][] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; collation = new int[numIndexes][];&amp;quot; to the 
&lt;br&gt;top of the method makes the repro pass, but I haven't studied the code 
&lt;br&gt;or run the regression tests.
&lt;br&gt;&lt;br&gt;Not sure there is much you can do about this, except for not using 
&lt;br&gt;replacement in the import or simply avoiding import of empty files.
&lt;br&gt;Maybe detecting empty files and executing a &amp;quot;delete from TABLE&amp;quot; would do?
&lt;br&gt;(until the bug has been fixed)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200914&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26200914&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;&amp;gt; Sent: Wednesday, November 04, 2009 9:14 AM
&lt;br&gt;&amp;gt; To: Derby Discussion
&lt;br&gt;&amp;gt; Cc: Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;&amp;gt; Subject: Re: Upgrading Issues
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; Hello Jessica,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not able to reproduce with neither 10.5 nor the development trunk, so more information would be useful.
&lt;br&gt;&amp;gt; (Just noticed Rick reporting the same.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I simply tried importing a file of size zero bytes, and that worked (i.e. nothing happened).
&lt;br&gt;&amp;gt; Some suggestions:
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you provide the stack trace from the NullPointerException?
&lt;br&gt;&amp;gt; &amp;nbsp; (remove traces you don't want to reveal if necessary)
&lt;br&gt;&amp;gt; &amp;nbsp;- Is the file zero bytes, or is there at least one character/byte (visible or non-visible) in there?
&lt;br&gt;&amp;gt; &amp;nbsp;- Can you specify the full import call?
&lt;br&gt;&amp;gt; &amp;nbsp;- What's your platform? Do you already now that the bug occurs at any platform?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The best thing you can do is to provide a small repro script :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards,
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Kristian
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ********************************************************************** 
&lt;br&gt;&amp;gt;&amp;gt; The content of this e-mail message and any attachments are 
&lt;br&gt;&amp;gt;&amp;gt; confidential and may be legally privileged, intended solely for the 
&lt;br&gt;&amp;gt;&amp;gt; addressee. If you are not the intended recipient, be advised that any 
&lt;br&gt;&amp;gt;&amp;gt; use, dissemination, distribution, or copying of this e-mail is 
&lt;br&gt;&amp;gt;&amp;gt; strictly prohibited. If you receive this message in error, please 
&lt;br&gt;&amp;gt;&amp;gt; notify the sender immediately by reply email and destroy the message 
&lt;br&gt;&amp;gt;&amp;gt; and its attachments. 
&lt;br&gt;&amp;gt;&amp;gt; **********************************************************************
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26200914.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26199026</id>
	<title>RE: Upgrading Issues</title>
	<published>2009-11-04T07:57:17Z</published>
	<updated>2009-11-04T07:57:17Z</updated>
	<author>
		<name>Allgeyer, Jessica</name>
	</author>
	<content type="html">Kristian/Rick
&lt;br&gt;&lt;br&gt;I've included 2 attachments. One is the full stack trace for the NullPointerException. The other is the file the call is trying to use. The file is zero bytes and does not contain any characters. Our platform is Windows and we are using Java to run the call. &amp;nbsp;Below is the full import call. 
&lt;br&gt;&lt;br&gt;CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE ('SA', 'CHACRGE', 'C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv','|','``',null,1) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jessica Allgeyer
&lt;br&gt;(513) 763 - 8523
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26199026&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26199026&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Kristian.Waagan@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, November 04, 2009 9:14 AM
&lt;br&gt;To: Derby Discussion
&lt;br&gt;Cc: Combs, Jeremy; McGrath, Phil; Ritchie, Erin; Lewis, Chris; Allgeyer, Jessica
&lt;br&gt;Subject: Re: Upgrading Issues
&lt;br&gt;&lt;br&gt;Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Hello Jessica,
&lt;br&gt;&lt;br&gt;I'm not able to reproduce with neither 10.5 nor the development trunk, so more information would be useful.
&lt;br&gt;(Just noticed Rick reporting the same.)
&lt;br&gt;&lt;br&gt;I simply tried importing a file of size zero bytes, and that worked (i.e. nothing happened).
&lt;br&gt;Some suggestions:
&lt;br&gt;&amp;nbsp;- Can you provide the stack trace from the NullPointerException?
&lt;br&gt;&amp;nbsp; (remove traces you don't want to reveal if necessary)
&lt;br&gt;&amp;nbsp;- Is the file zero bytes, or is there at least one character/byte (visible or non-visible) in there?
&lt;br&gt;&amp;nbsp;- Can you specify the full import call?
&lt;br&gt;&amp;nbsp;- What's your platform? Do you already now that the bug occurs at any platform?
&lt;br&gt;&lt;br&gt;The best thing you can do is to provide a small repro script :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;--
&lt;br&gt;Kristian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** 
&lt;br&gt;&amp;gt; The content of this e-mail message and any attachments are 
&lt;br&gt;&amp;gt; confidential and may be legally privileged, intended solely for the 
&lt;br&gt;&amp;gt; addressee. If you are not the intended recipient, be advised that any 
&lt;br&gt;&amp;gt; use, dissemination, distribution, or copying of this e-mail is 
&lt;br&gt;&amp;gt; strictly prohibited. If you receive this message in error, please 
&lt;br&gt;&amp;gt; notify the sender immediately by reply email and destroy the message 
&lt;br&gt;&amp;gt; and its attachments. 
&lt;br&gt;&amp;gt; **********************************************************************
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;There was a data transfer problem with the database.
&lt;br&gt;&lt;br&gt;Click Details to obtain more information that can be provided to Tech Support.
&lt;br&gt;&lt;br&gt;&amp;nbsp; To copy this entire message, highlight any line and right click for options.
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; SQL State Code: XIE0R
&lt;br&gt;&amp;nbsp; Error Message: Import error on line 1 of file C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv: Java exception: ': java.lang.NullPointerException'. 
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&amp;nbsp; Stack Trace:
&lt;br&gt;&amp;nbsp; java.sql.SQLException: Import error on line 1 of file C:\bea\projects\claims-dev\unzippedclaims\CHACRGE.rcsv: Java exception: ': java.lang.NullPointerException'. 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.DerbyDataLoader.importData(DerbyDataLoader.java:65)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.DerbyDataLoader.replaceData(DerbyDataLoader.java:49)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.DerbyDataLoader.process(DerbyDataLoader.java:80)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.ClaimsDownloadDataInstaller.processDownloadedFile(ClaimsDownloadDataInstaller.java:116)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.ClaimsDownloadDataInstaller.storeData(ClaimsDownloadDataInstaller.java:77)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.download.ClaimsDownloadProcessor.performDownload(ClaimsDownloadProcessor.java:52)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at com.greatag.claims.standalone.ui.DownloadClaimsHandler.run(DownloadClaimsHandler.java:105)
&lt;br&gt;&amp;nbsp; Caused by: java.sql.SQLException: Java exception: ': java.lang.NullPointerException'.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.load.Import.performImport(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.load.Import.importTable(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.catalog.SystemProcedures.SYSCS_IMPORT_TABLE(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.exe.ac34cc0261x0124xbae6x7f2cx00000bf080be3f.g0(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:324)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;... 11 more
&lt;br&gt;&amp;nbsp; Caused by: java.lang.NullPointerException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.execute.InsertResultSet.emptyIndexes(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.execute.InsertResultSet.updateAllIndexes(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.execute.InsertResultSet.bulkInsertCore(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.execute.InsertResultSet.open(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;... 26 more&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;CHACRGE.rcsv&lt;/strong&gt; (4 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26199026/0/CHACRGE.rcsv&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26199026.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197047</id>
	<title>Re: Upgrading Issues</title>
	<published>2009-11-04T06:14:17Z</published>
	<updated>2009-11-04T06:14:17Z</updated>
	<author>
		<name>Kristian Waagan-4</name>
	</author>
	<content type="html">Allgeyer, Jessica wrote:
&lt;br&gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Hello Jessica,
&lt;br&gt;&lt;br&gt;I'm not able to reproduce with neither 10.5 nor the development trunk, 
&lt;br&gt;so more information would be useful.
&lt;br&gt;(Just noticed Rick reporting the same.)
&lt;br&gt;&lt;br&gt;I simply tried importing a file of size zero bytes, and that worked 
&lt;br&gt;(i.e. nothing happened).
&lt;br&gt;Some suggestions:
&lt;br&gt;&amp;nbsp;- Can you provide the stack trace from the NullPointerException?
&lt;br&gt;&amp;nbsp; (remove traces you don't want to reveal if necessary)
&lt;br&gt;&amp;nbsp;- Is the file zero bytes, or is there at least one character/byte 
&lt;br&gt;(visible or non-visible) in there?
&lt;br&gt;&amp;nbsp;- Can you specify the full import call?
&lt;br&gt;&amp;nbsp;- What's your platform? Do you already now that the bug occurs at any 
&lt;br&gt;platform?
&lt;br&gt;&lt;br&gt;The best thing you can do is to provide a small repro script :)
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;-- 
&lt;br&gt;Kristian
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26197047.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26197013</id>
	<title>Re: Upgrading Issues</title>
	<published>2009-11-04T06:14:16Z</published>
	<updated>2009-11-04T06:14:16Z</updated>
	<author>
		<name>Rick Hillegas-2</name>
	</author>
	<content type="html">Hi Jessica,
&lt;br&gt;&lt;br&gt;Can you provide a reproducible script for this problem? The following 
&lt;br&gt;naive attempt succeeds without raising a NPE.
&lt;br&gt;&lt;br&gt;connect 'jdbc:derby:memory:dummy;create=true';
&lt;br&gt;create table t( a int );
&lt;br&gt;CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE(null, 'T', './z.out', ';', '%', null,0);
&lt;br&gt;select * from t;
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;-Rick
&lt;br&gt;&lt;br&gt;Allgeyer, Jessica wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks
&lt;br&gt;&amp;gt; Jessica Allgeyer
&lt;br&gt;&amp;gt; (513) 763 - 8523
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26197013.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26196570</id>
	<title>Upgrading Issues</title>
	<published>2009-11-04T05:37:15Z</published>
	<updated>2009-11-04T05:37:15Z</updated>
	<author>
		<name>Allgeyer, Jessica</name>
	</author>
	<content type="html">&lt;br&gt;Recently we have upgraded our Derby DB from 10.3.1.4 &amp;nbsp;to 10.5.3.0. With the latest version, &amp;nbsp;api CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE is throwing the error 'java.lang.NullPointerException' when a file is empty. After investigation, any version above our previous version of 10.3.1.4 causes this error. Can you provide us with a solution or adjustments we need to make on our end? Please let me know if you need more information provided. 
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Jessica Allgeyer
&lt;br&gt;(513) 763 - 8523
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;********************************************************************** The content of this e-mail message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ********************************************************************** 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Upgrading-Issues-tp26196570p26196570.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26193406</id>
	<title>Re: Using a database in a jar file</title>
	<published>2009-11-04T01:39:27Z</published>
	<updated>2009-11-04T01:39:27Z</updated>
	<author>
		<name>RAPPAZ Francois</name>
	</author>
	<content type="html">RAPPAZ Francois &amp;lt;francois.rappaz@...&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dear all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I would like to use a simple table named authors with some simple select
&lt;br&gt;statement. The database is named
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; docentries and I want to put it in a jar file. 
&lt;br&gt;&amp;gt; I have used
&lt;br&gt;&amp;gt; jar cMf docentries.jar docentries
&lt;br&gt;&amp;gt; from within my derby system dir.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Now my jar file contains class file and files from the databases
&lt;br&gt;&amp;gt; .....
&lt;br&gt;&amp;gt; docentries/log/log.ctrl
&lt;br&gt;&amp;gt; docentries/log/log3.dat
&lt;br&gt;&amp;gt; docentries/log/logmirror.ctrl
&lt;br&gt;&amp;gt; docentries/seg0/c10.dat
&lt;br&gt;&amp;gt; docentries/seg0/c101.dat
&lt;br&gt;&amp;gt; docentries/seg0/c111.dat
&lt;br&gt;&amp;gt; docentries/seg0/c121.dat
&lt;br&gt;&amp;gt; ....
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Using ij, and with the jar file in my derby directory, I can connect to the
&lt;/div&gt;database without having any error
&lt;br&gt;&amp;gt; message using 
&lt;br&gt;&amp;gt; ij.connection.doc=jdbc:derby:jar:(docentries.jar)docentries
&lt;br&gt;&amp;gt; in my ij.properties file. 
&lt;br&gt;&amp;gt; I received no error on this connection.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But the table in the database in the jar file seems empty and more
&lt;br&gt;surprisingly, the table authors in the
&lt;br&gt;&amp;gt; original docentries is empty too after the process...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks for any help.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; François
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Actually the connection string jdbc:derby:jar:(docentries.jar)docentries was
&lt;br&gt;correct. This jdbc:derby:jar:(./docentries.jar)docentries &amp;nbsp;would work also...
&lt;br&gt;I was using a database with empty table therefore having no result to my sql
&lt;br&gt;statement....
&lt;br&gt;&lt;br&gt;François
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Using-a-database-in-a-jar-file-tp26126887p26193406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26192846</id>
	<title>Re: Start server within java-application???</title>
	<published>2009-11-04T00:51:31Z</published>
	<updated>2009-11-04T00:51:31Z</updated>
	<author>
		<name>Bernt M. Johnsen</name>
	</author>
	<content type="html">&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hardie82 wrote (2009-11-04 00:32:58):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hallo,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I want to start derby in servermode within a java-application. Is this
&lt;br&gt;&amp;gt; possible? I didn't find a thing in the documentation but start the server
&lt;br&gt;&amp;gt; via console-statements.
&lt;br&gt;&lt;br&gt;Juse the NetworkServerControl API:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://db.apache.org/derby/javadoc/publishedapi/jdbc4/org/apache/derby/drda/NetworkServerControl.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/javadoc/publishedapi/jdbc4/org/apache/derby/drda/NetworkServerControl.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Bernt Marius Johnsen, Staff Engineer
&lt;br&gt;Database Technology Group, Sun Microsystems, Trondheim, Norway
&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26192846/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Start-server-within-java-application----tp26192656p26192846.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26192785</id>
	<title>Re: Start server within java-application???</title>
	<published>2009-11-04T00:42:46Z</published>
	<updated>2009-11-04T00:42:46Z</updated>
	<author>
		<name>Kristian Waagan-4</name>
	</author>
	<content type="html">Hardie82 wrote:
&lt;br&gt;&amp;gt; Hallo,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to start derby in servermode within a java-application. Is this
&lt;br&gt;&amp;gt; possible? I didn't find a thing in the documentation but start the server
&lt;br&gt;&amp;gt; via console-statements.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Hello,
&lt;br&gt;&lt;br&gt;You have two options;
&lt;br&gt;&amp;nbsp;- set a system property before you load the embedded driver
&lt;br&gt;&amp;nbsp;- start the server programmatically
&lt;br&gt;&lt;br&gt;In both cases you need derby.jar and derbynet.jar on the classpath.
&lt;br&gt;More information in [1] under &amp;quot;Derby in a server framework&amp;quot; and then 
&lt;br&gt;&amp;quot;Embedded servers&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Hope this helps,
&lt;br&gt;--
&lt;br&gt;Kristian
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] 
&lt;br&gt;&lt;a href=&quot;http://db.apache.org/derby/docs/dev/adminguide/adminguide-single.html#cadminov17524&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://db.apache.org/derby/docs/dev/adminguide/adminguide-single.html#cadminov17524&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Greetings
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Start-server-within-java-application----tp26192656p26192785.html" />
</entry>

</feed>
