Re: problem with embedded driver

2011-04-26 Thread Knut Anders Hatlen
steve lescure writes: > thanks for the suggestion. probably a stupid question, but i'll ask anyway. > > would the full path be something like > > C:\my_data\NetBeansProjects\On Demand ? > > i see several directories in this location, like > > log > seq0 > tmp > > would i actually put that in t

Re: problem with embedded driver

2011-04-20 Thread steve lescure
thanks! i'm trying your suggestions right now. Is there a book on derby that anybody would recommend? i'd like to get something that goes beyond the basics.. steve --- On Wed, 4/20/11, Knut Anders Hatlen wrote: > From: Knut Anders Hatlen > Subject: Re: problem with embe

RE: problem with embedded driver

2011-04-20 Thread steve lescure
n Wed, 4/20/11, Daniel A Keefe wrote: > From: Daniel A Keefe > Subject: RE: problem with embedded driver > To: "Derby Discussion" > Date: Wednesday, April 20, 2011, 7:47 AM > I have found that I need to include > the path to the derb

RE: problem with embedded driver

2011-04-20 Thread Daniel A Keefe
I have found that I need to include the path to the derby db in my connect string dk From: steve lescure [stevelesc...@yahoo.com] Sent: Tuesday, April 19, 2011 10:36 PM To: Derby Discussion Subject: Re: problem with embedded driver thanks that was a

Re: problem with embedded driver

2011-04-20 Thread Knut Anders Hatlen
steve lescure writes: > thanks that was a great big help! never would have figured all that > out. > > i can now connect to the databasenow i've encounter yet > another mystery. > > It keeps telling me it can't find my table JOBSi've read that > NETBEANS should create a default sc

Re: problem with embedded driver

2011-04-19 Thread steve lescure
s = conn.createStatement(); statements.add(s); rs = s.executeQuery( "SELECT JOBNAME, USERID FROM APP.JOBS"); (dies here) --- On Tue, 4/19/11, Mark Eggers wrote: > From: Mark Eggers > Subject: Re: problem with embedded driv

RE: problem with embedded driver

2011-04-19 Thread Daniel A Keefe
no. ij is strictly a manual tool. dk From: steve lescure [stevelesc...@yahoo.com] Sent: Tuesday, April 19, 2011 4:36 PM To: Derby Discussion Subject: RE: problem with embedded driver ok - i see some examples of using "ij" to manually

Re: problem with embedded driver

2011-04-19 Thread Mark Eggers
On Tue, 19 Apr 2011 12:45:54 -0700, steve lescure wrote: > String dbName = "//localhost:1527/users"; This is a connection to the network server. If you don't start the database prior to running your program, there will be no connection. If you're using the embedded driver, the database name is

RE: problem with embedded driver

2011-04-19 Thread steve lescure
ok - i see some examples of using "ij" to manually create the connection, that makes sense. i thought if i were using the embedded driver it would automatically start derby. would i need to somehow call "ij" in my java code? package ondemand; import java.sql.Connection; import java.sql.D

RE: problem with embedded driver

2011-04-19 Thread Daniel A Keefe
ij is the tool used to create a manual connection to the derby db From: steve lescure [stevelesc...@yahoo.com] Sent: Tuesday, April 19, 2011 4:03 PM To: Derby Discussion Subject: RE: problem with embedded driver thanks - i'm not following (very n

RE: problem with embedded driver

2011-04-19 Thread steve lescure
thanks - i'm not following (very new to this). "via ij"? steve --- On Tue, 4/19/11, Daniel A Keefe wrote: > From: Daniel A Keefe > Subject: RE: problem with embedded driver > To: "Derby Discussion" > Date: Tuesday, April 19, 2011, 3:49 PM > Stev

RE: problem with embedded driver

2011-04-19 Thread Daniel A Keefe
Steve; When you connect to the derby db via ij, the available db connections is NULL. dk From: steve lescure [stevelesc...@yahoo.com] Sent: Tuesday, April 19, 2011 3:45 PM To: derby-user@db.apache.org Subject: problem with embedded driver I create a java