Re: Error in Eclipse Plugin trying to start network server

2007-09-06 Thread bkbonner
Aaron, I removed and readded the derby nature and then moved the 4 core classes up higher in the classpath export--they were at the bottom behind the derbynet-10.3.1.4 which was imported by maven. I was able to start it OK. Is there any reason I can't use the maven defined files??? If the

cannot create a function with no arguments

2007-09-06 Thread Mike Norman
latest Derby: Apache Derby 10.3.1.4 - (561794) Apache Derby Network Client JDBC Driver 10.1.2.1 I have an extremely simple helper class: package test; import java.sql.SQLException; public class SPHelper { public static void ProcNoArgs() throws SQLException { }

Re: cannot create a function with no arguments

2007-09-06 Thread Rick Hillegas
Hi Mike, I think the problem is the datatype of the function's return value. The VARCHAR datatype needs a length. This should work: CREATE FUNCTION FUNC_NO_ARGS() RETURNS VARCHAR( 100 ) ... Hope this helps, -Rick Mike Norman wrote: latest Derby: Apache Derby 10.3.1.4 - (561794)

Derby 10.3.1.4 not working with ibatis-2.3.0.677

2007-09-06 Thread Zsolt Koppany
Hi, I tried to upgrade to derby 10.3.1.4 but I get strange error messages that I didn't get with derby 10.2.2.0. I use 10.3.1.4 with ibatis-2.3.0.677. Any ideas? Zsolt com.intland.codebeamer.persistence.util.PersistenceException: com.ibatis.common.jdbc.exception.NestedSQLException: --- The

Re: cannot create a function with no arguments

2007-09-06 Thread Mike Norman
that did it - thanks! Hi Mike, I think the problem is the datatype of the function's return value. The VARCHAR datatype needs a length. This should work: CREATE FUNCTION FUNC_NO_ARGS() RETURNS VARCHAR( 100 ) ... Hope this helps, -Rick -- View this message in context:

jdbc metadata getProcedures does not return newly created proc/funcs

2007-09-06 Thread Mike Norman
latest Derby: Apache Derby 10.3.1.4 - (561794) Apache Derby Network Client JDBC Driver 10.1.2.1 I created 2 very simple stored proc/funcs: package test; import java.sql.SQLException; public class SPHelper { public static void ProcNoArgs() throws SQLException { }

Derby and character set encodings

2007-09-06 Thread David Van Couvering
Hi, all. I am getting some questions from Ken Frank NetBeans internationalization quality team about Java DB and character set encodings. Rather than try and play go-between, I'm including him here so he can directly ask any follow-on questions. Ken would like to understand how Derby makes use

Re: Derby and character set encodings

2007-09-06 Thread Mike Matrigali
This is mixing a lot of things up. I also may use the wrong terminology here. Character set encodings really only come into play with tools like ij, and import getting the string from the environment into derby. The more standard interaction is using jdbc to load a java string into derby. At

ipv6 and Network Server hostname

2007-09-06 Thread Dave Been
for IPv4 we listen on host 0.0.0.0 in case a machine has multiple NIC cards, so we accept connections from all NICs. (I believe this was for windows only. is that correct?) Is there an equivelent ip for IPv6? thanks Dave Been

Re: ipv6 and Network Server hostname

2007-09-06 Thread Manjula Kutty
Hi Dave, While doing some testing on the Ipv6 machines, I started the server as java org.apache.derby.drda.NetworkServerControl start -h 2002:92a:8f7a:13:9:42:74:19 So instead of giving 0.0.0.0 I gave the full IP address. Did the same for the localhost also. Hope I answered your question. If you

Re: Derby and character set encodings

2007-09-06 Thread David Van Couvering
I think I can actually answer some of these questions :) On 9/6/07, Ken Frank [EMAIL PROTECTED] wrote: Thanks David for sending this. Let me note a few questions: 1. when one creates a new database, is the database created with a certain encoding that will be used ? And if so, is that

Re: Derby and character set encodings

2007-09-06 Thread David Van Couvering
I think this was actually meant to go to a different Andrei (sorry Andrey) On 9/6/07, David Van Couvering [EMAIL PROTECTED] wrote: I think I can actually answer some of these questions :) On 9/6/07, Ken Frank [EMAIL PROTECTED] wrote: Thanks David for sending this. Let me note a few

Re: ipv6 and Network Server hostname

2007-09-06 Thread Dave Been
In a round about fashion, we found out to use :: (2 colons) in v6 for 0.0.0.0 (v4). Now it is working fine. NetworkServerControl serverControl = new NetworkServerControl(InetAddress.getByName(::),1527); thanks much, Dave Been Enterprise Search Development [EMAIL PROTECTED] Phone 510-222-3926,

Re: Derby and character set encodings

2007-09-06 Thread Ken Frank
its the correct Andrey; he works with me on i18n; but also thanks for sending to Andrei also. Ken David Van Couvering wrote: I think this was actually meant to go to a different Andrei (sorry Andrey) On 9/6/07, David Van Couvering [EMAIL PROTECTED] wrote: I think I can actually answer

Re: Derby and character set encodings

2007-09-06 Thread Ken Frank
Thanks David for sending this. Let me note a few questions: 1. when one creates a new database, is the database created with a certain encoding that will be used ? And if so, is that encoding that of the locale I am in when I run the create database commands or is it utf-8 always ? (for