How to create a dsn on linux for jdbc

2006-09-20 Thread aditya bhuyan
Anybody can help me on   How to create a dsn on linux for jdbc Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW

JDBC Driver, Context & DataSource lookup

2005-08-15 Thread Zumba
nvoke dataSource.getConnection() I get the message on SQLException: "Cannot create JDBC class for 'com.mysql.jdbc.Driver'. The fact is if I use DriverManager.getConnection("jdbc:mysql//localhost/mysql?params") without handle mysql-connector-java.jar and your directories it (com.mysql.jdbc.Driv

Re: SQL database and JDBC

2002-11-09 Thread Jesus M. Salvo Jr.
have JDBC, Perl, and Python interfaces to sapdb. Granted, though, that I am also not interested in their other products. On Sat, 9 Nov 2002 22:42, Avi Cherry wrote: > At 11:49 AM +1100 11/9/02, Jesus M. Salvo Jr. wrote: > >My favourite: SAP-DB: > > > >http://www.sapdb.or

Re: SQL database and JDBC

2002-11-09 Thread Avi Cherry
At 11:49 AM +1100 11/9/02, Jesus M. Salvo Jr. wrote: My favourite: SAP-DB: http://www.sapdb.org/ http://www.sapdb.org/sap_db_jdbc.htm I am still surprised that not too many people have not taken up SAP-DB, despite being GPL and LPGL, and having some features that other proprietary databases have

Re: SQL database and JDBC

2002-11-08 Thread Jesus M. Salvo Jr.
http://www.sapdb.org/htmhelp/e2/55683ab81fd846e1000a11402f/frameset.htm On Fri, 8 Nov 2002 05:17, Cuong Nguyen wrote: > Hi everyone, > > Can anyone recommend an SQL server for Linux which provides JDBC API for > database connectivity? > Th

Re: SQL database and JDBC

2002-11-07 Thread Mario Medina Nussbaum
postgresql and mysql have jdbc with postgre you only need to install postgresql-jdbc package, and in /usr/lib/pgsql will be the jdbc.jar files. Cuong Nguyen wrote: Hi everyone, Can anyone recommend an SQL server for Linux which provides JDBC API for database connectivity? Thanks Alan

Re: SQL database and JDBC

2002-11-07 Thread Nathan Meyers
On Thu, Nov 07, 2002 at 12:17:12PM -0600, Cuong Nguyen wrote: > Hi everyone, > > Can anyone recommend an SQL server for Linux which provides JDBC API for > database connectivity? Definitely PostgreSQL, probably also MySQL (although I haven't done that one with JDBC). Nat

Re: SQL database and JDBC

2002-11-07 Thread Erik Jensen
--- Cuong Nguyen <[EMAIL PROTECTED]> wrote: > Can anyone recommend an SQL server for Linux > which provides JDBC API for database > connectivity? Yeah, PostgreSQL is a great ACID compliant database. You can find it at http://www.postgresql.org. The JDBC driver can b

RE: SQL database and JDBC

2002-11-07 Thread Le, Paul [Contractor]
Cuong, mySQL supports JDBC. -Original Message- From: Cuong Nguyen [mailto:cuong_nguyen@;commdec.com] Sent: Thursday, November 07, 2002 12:17 PM To: [EMAIL PROTECTED] Subject: SQL database and JDBC Hi everyone, Can anyone recommend an SQL server for Linux which provides JDBC API for

Re: SQL database and JDBC

2002-11-07 Thread Avi Cherry
At 12:17 PM -0600 11/7/02, Cuong Nguyen wrote: Can anyone recommend an SQL server for Linux which provides JDBC API for database connectivity? Postgresql. Information, downloads, full documentation can be found at: http://www.postgresql.org

SQL database and JDBC

2002-11-07 Thread Cuong Nguyen
Hi everyone, Can anyone recommend an SQL server for Linux which provides JDBC API for database connectivity? Thanks Alan Nguyen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troubl

Re: Linux PostgresSQL and Java JDBC

2001-03-15 Thread Brett W. McCoy
ont-end. But whenever I attempt to call a stored procedure(which is > called as functions in Postgres), I get an exception saying that "Callable > Statement not supported at this time" Does this mean that the JDBC driver > that comes with postgresql7.02 does not support calling stored pr

Linux PostgresSQL and Java JDBC

2001-03-15 Thread selvam
es in postgres and calling it from Java front-end. But whenever I attempt to call a stored procedure(which is called as functions in Postgres), I get an exception saying that "Callable Statement not supported at this time" Does this mean that the JDBC driver that comes with postgresql7.02 d

Re: postgresql jdbc driver

2000-08-08 Thread Jim Caley
more info. Anyway, I think the first thing many over there may say is to go to v. 7.0.2 -- it's far superior to 6.x. I know in 7.x I've never had problems finding interfaces/jdbc. (Could that be the problem... are you looking for "interface" rather than "interfaces&quo

postgresql jdbc driver

2000-08-07 Thread wangmq
I have installed postgresql-6.4.2, but I can't find the directory interface/jdbc. So I can't find the postgresql driver postgresql.jar. Why? èPԔ ‘ ™¨¥¶ˆÚ½©bžìkz«ž²ØÚ½¦åiÉ£è® "¶¬¹¸ÞrÚº{.nÇ+‰·“®‹›•ਞ֜¶F«•¹ZrGhÂz+

RE: JDBC-ODBC for Linux

2000-07-06 Thread Patrick Lacson
Thanks for the tip. I ended up just scrapping the Access DB and using SQL Server. -P -Original Message- From: Christopher Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 6:17 PM To: Patrick Lacson Cc: [EMAIL PROTECTED] Subject: Re: JDBC-ODBC for Linux --On Thursday

Re: JDBC-ODBC for Linux

2000-07-06 Thread Christopher Smith
--On Thursday, July 06, 2000 11:56 AM -0700 Patrick Lacson <[EMAIL PROTECTED]> wrote: > Newbie question: Is it possible to have an Access datbase file located on > the linux box and connect to it using the free Sun JDBC-ODBC driver? If > so where can I find more info. The ac

JDBC-ODBC for Linux

2000-07-06 Thread Patrick Lacson
Newbie question: Is it possible to have an Access datbase file located on the linux box and connect to it using the free Sun JDBC-ODBC driver? If so where can I find more info. TIA! -Patrick -- To UNSUBSCRIBE, email to

Apllet not running in IE ,JDBC exception with MySQL

2000-05-25 Thread Rakesh Raveendran
Hi, I am using an applet which has backend connectivity to a MySQL database running on a Linux server.I am using exgwe JDBC driver.The applet is running fine in Netscape but in Internet Explorer it is throwing exceptions.I have the stack trace below.Can anybody help me

Re: How can I connect to MySQL using JDBC

2000-05-14 Thread javor
hi i setup s MySQL server and connected to it a few days ago so i'm not experienced SQLer too :) here is how i connect to the server: Class.forName("org.gjt.mm.mysql.Driver").newInstance(); Connection C = DriverManager.getConnection("jdbc:mysql://localhost/hop?user=root&password=my_pass");

RE: How can I connect to MySQL using JDBC

2000-05-13 Thread Hari O'Connell
; To: Mo DeJong; [EMAIL PROTECTED] > Subject: How can I connect to MySQL using JDBC > > > Hi, > > I am using a type 4 driver for connecting to MySQL database.The Class > file(driver file) is being detected, but I am not able to connect to the > database.There are no exception

How can I connect to MySQL using JDBC

2000-05-13 Thread Rakesh Raveendran
Hi, I am using a type 4 driver for connecting to MySQL database.The Class file(driver file) is being detected, but I am not able to connect to the database.There are no exceptions being thrown stating that connection is not being created.Can any body send me some sample code as to how to connec

Re: IBM-jdbc driver ...

2000-05-02 Thread Tom Williams
CTED]> cc:(bcc: Tom Williams/HQ/dssi) Subject: IBM-jdbc driver ... Does anyone know whether IBM jdbc driver's is supported on jdk1.2? Thanks. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject

IBM-jdbc driver ...

2000-05-01 Thread dloneanu
Does anyone know whether IBM jdbc driver's is supported on jdk1.2? Thanks. Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Free MSSQL JDBC driver

2000-02-07 Thread Kristian Soerensen
Hi I looked for production quality JDBC drivers for that RDBMS half a year ago. The best available are those sold by BEA. No freely available drivers exist for MsSQL that can be trusted for real world usage. M$ did not make that RDBMS themself, it's Sybase in disquise. It would be intere

Re: JDK 1.2.2 mm.MySql jdbc driver and Mysql

2000-01-28 Thread David Marshall
Henrik Krobath Olesen wrote: > Hi, > > I'm having some problems configuring my Java > programs to use the mm.Mysql jdbc driver. I've > searched through the mailing list archive but it > hasn't helped me to overcome my problem. It al > comes down to the def

JDK 1.2.2 mm.MySql jdbc driver and Mysql

2000-01-28 Thread Henrik Krobath Olesen
Hi, I'm having some problems configuring my Java programs to use the mm.Mysql jdbc driver. I've searched through the mailing list archive but it hasn't helped me to overcome my problem. It al comes down to the definition of my classpath to which I have to add the path to the mm.My

Re: Free MSSQL JDBC driver

2000-01-23 Thread Mike Christiansen
- www.freetds.org Its free but I don't know how good it is... - www.inetsoftware.de/English/produkte/JDBC2/Default.htm I'm using this one. Its not free, but the demo supports a limited number of connections. Mike Marek Gmyrek wrote: > > Hi, > > is there any free

Free MSSQL JDBC driver

2000-01-23 Thread Marek Gmyrek
Hi, is there any free JDBC driver for MS SQL Server 7.0. I am looking for a driver with a good national character support. The standard JDBC-ODBC bridge (jdk1.1) does not support national characters at all. Alternatively a one without national character support would do either (I could do the

RE: msql jdbc drivers

2000-01-19 Thread Wright Robert B Civ 96 CG/SCWDE
check out the JDBC section of the mysql web site (http://www.mysql.org/Contrib/). i've successfully used the mm driver by mark matthews. Rob > -Original Message- > From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 18, 2000 8:53 PM > To:

msql jdbc drivers

2000-01-19 Thread Joseph Shraibman
Someone on this list once emailed me the url of a mature mysql jdbc 2.0 driver, but I seem to have lost the email. Does anybody know of one? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubs

Re: Interclient 1.51 JDBC problems on Linux with Blackdown 1.2.2RC3

2000-01-13 Thread Joseph Shraibman
work. I can run all test servlets > > and java > > on all machines. All logs show a complete startup and > >tells me that installation seems to be ok. > > > > Problems: > > 1. Interclient(jdbc) reports "Broken pipe on connection ...". But ONLY > >

Re: Interclient 1.51 JDBC problems on Linux with Blackdown 1.2.2RC3 repost of more info

2000-01-13 Thread Ola Samuelson
run all test servlets > > and java > > on all machines. All logs show a complete startup and > >tells me that installation seems to be ok. > > > > Problems: > > 1. Interclient(jdbc) reports "Broken pipe on connection ...". But ONLY > > if >

Re: Interclient 1.51 JDBC problems on Linux with Blackdown 1.2.2RC3

2000-01-13 Thread Ola Samuelson
run all test servlets > > and java > > on all machines. All logs show a complete startup and > >tells me that installation seems to be ok. > > > > Problems: > > 1. Interclient(jdbc) reports "Broken pipe on connection ...". But ONLY > > if >

Re: Interclient 1.51 JDBC problems on Linux with Blackdown 1.2.2RC3

2000-01-13 Thread Wim Ceulemans
and >tells me that installation seems to be ok. > > Problems: > 1. Interclient(jdbc) reports "Broken pipe on connection ...". But ONLY > if > leaving the local machine(ie db url to other machine). > Strange thing is that if coming with jdbc from Windows to sa

Interclient 1.51 JDBC problems on Linux with Blackdown 1.2.2RC3

2000-01-13 Thread Ola Samuelson
1.1b3/Apache 1.3.9 * Loads of memory, SMP kernel on all machines * Everything starts ok and seems to work. I can run all test servlets and java on all machines. All logs show a complete startup and tells me that installation seems to be ok. Problems: 1. Interclient(jdbc) reports "Broken pi

RE: JDBC & mSQL

2000-01-04 Thread Edson Carlos Ericksson Richter
the Applet tag, because Browsers don't know nothing about Java 2 things. Edson Richter -- From: Urivan Saaib Sent: terça-feira, 4 de janeiro de 2000 05:50 To: [EMAIL PROTECTED] Subject: JDBC & mSQL After figthing a while with the odbc driver for Linux and wasti

JDBC & mSQL

2000-01-04 Thread Urivan Saaib
After figthing a while with the odbc driver for Linux and wasting lot of time configuring the windows machine, i decided to migrate the database to mSQL, but now that i got a functional code (access and reads the data), when i insert it into the applet, it doesn't work... Is there anything extra t

jdk1.2 and jdbc (paradox driver)

1999-12-31 Thread Urivan Saaib
Hello, I need to build an applet that will access a Paradox DB on a Windows 95, i've searched the paradox drivers for jdbc and haven't found it. If there aren't any paradox driver, then i'll need a odbc driver. Do any of the members of this mailing list has any idea for

Re: Jar file with JDBC

1999-12-29 Thread M.N.Balaji
hai, I have installed JDK 1.2.2 on Redhat 6.0, i am able to compile and run java programs , but rmi is giving problems, when i type rmic it is giving the following error. Please tell me how to rectify the problem. java.lang.NoClassDefFoundError: sun/rmi/rmic/Main at java.lang.Throwable

CLASSPATH to Install Oracle JDBC driver for jdk1.2?

1999-12-29 Thread Palsedge, John
Oracle for Linux wants a CLASSPATH defined to install the JDBC driver. For the older java versions, it was the path to the classesxxx..zip file but this has changed with jdk1.2. What should it be now? ./jdk1.2/lib would be my first choice: correct? I would appreciate advice from someone

Re: Jar file with JDBC

1999-12-29 Thread Peter Mount
:-) Peter -- Peter T Mount [EMAIL PROTECTED] Main Homepage: http://www.retep.org.uk PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres Java PDF Generator: http://www.retep.org.uk/pdf -- To UNSUBSCRIBE, email to [EMAIL

RE: Jar file with JDBC

1999-12-29 Thread Edson Carlos Ericksson Richter
JDBC Hi, When I added 'System.out.printStackTrace()' it told while compilation Method printStackTrace() not found in class java.io.PrintStream. System.out.printStackTrace(); I have imported java.io.*; What else I need to do? I have included postgresql

Re: Jar file with JDBC

1999-12-29 Thread David Marshall
ALPESH KOTHARI wrote: > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); > > I have imported java.io.*; > What else I need to do? > I have included postgresql.jar

Re: Jar file with JDBC

1999-12-29 Thread Matthias Pfisterer
ALPESH KOTHARI wrote: > > Hi, > > When I added 'System.out.printStackTrace()' it told > while compilation > Method printStackTrace() not found in class > java.io.PrintStream. > > System.out.printStackTrace(); It should be: e.printStackTrace(); where e comes from: catch (Exception e) Matthia

Re: Jar file with JDBC

1999-12-29 Thread ALPESH KOTHARI
Hi, When I added 'System.out.printStackTrace()' it told while compilation Method printStackTrace() not found in class java.io.PrintStream. System.out.printStackTrace(); I have imported java.io.*; What else I need to do? I have included postgresql.jar in my jar

RE: Jar file with JDBC

1999-12-28 Thread Peter Mount
ng the files, but this may then break the Manifest. Personally I keep everything separate, and use the Manifest to add the jar files required by an app to its classpath. Peter [snip] -- Peter T Mount [EMAIL PROTECTED] Main Homepage: http://www.retep.org.uk PostgreSQL JD

RE: Jar file with JDBC

1999-12-28 Thread Edson Carlos Ericksson Richter
] Cc: [EMAIL PROTECTED] Subject:Re: Jar file with JDBC Hi, > try > { > Class.forName("postgresql.Driver"); > db = DriverManager.getConnection(url, usr, pwd); > st = db.createStatement(); > } > st.executeUpdate(crt); > ^^^

Re: Jar file with JDBC

1999-12-28 Thread Peter Mount
How are you preparing the jar file? Are you including all of the postgresql classes in it, in the same directory structure? Peter -- Peter T Mount [EMAIL PROTECTED] Main Homepage: http://www.retep.org.uk PostgreSQL JDBC Faq: http://www.retep.org

Re: Jar file with JDBC

1999-12-27 Thread Dustin Lang
ointer It looks as though the driver can't create a statement, since "st" is null. Are you sure you are including absolutely all the classes required by all parts of your application and your jdbc driver? To test this specifically, try putting all the classes you use in one base d

Re: Jar file with JDBC

1999-12-27 Thread ALPESH KOTHARI
Hi, I am using PostgreSQL - 6.5.1 with the JDBC driver compiled from the sources. My machine is RH6.0 with Java-1.2 preV2. I am attatching a portion of my source code where it gives exception String url = "jdbc:postgresql:postgres"; String usr = "postgres"; String p

Re: Jar file with JDBC

1999-12-27 Thread Peter Mount
On Mon, 27 Dec 1999, ALPESH KOTHARI wrote: > Hello all, > > I have written an application using Java2. It works > fine with JDBC interface. I prepared a jar file of all > the class file as well as 'postgresql.jar'.(I am using > postgresql-6.5 as db). > >

Jar file with JDBC

1999-12-27 Thread ALPESH KOTHARI
Hello all, I have written an application using Java2. It works fine with JDBC interface. I prepared a jar file of all the class file as well as 'postgresql.jar'.(I am using postgresql-6.5 as db). At this time it gives null pointer exception whenever it encounters a first create table

JDBC ODBC Servlets on JWS

1999-12-10 Thread Amit
i was attempting to use the JDBC ODBC driver along with Java Servlets operating on a Java Web Server. I have been getting an error when attempting to concurrently access the same servlet accessing a stored procedure in Oracle 8 which i have not been able to figure out. the details of the error

Re: JDBC newbie question

1999-11-07 Thread James Seigel
Really 4 years? <> <> Peter Mount wrote: > On Sat, 6 Nov 1999, John N. Alegre wrote: > > > Peter, > > > > I have no problem on my end. I have 4 years expeience with Server Side > > Java. I want the most advanced JDBC

Re: JDBC newbie question

1999-11-07 Thread Peter Mount
On Sat, 6 Nov 1999, John N. Alegre wrote: > Peter, > > I have no problem on my end. I have 4 years expeience with Server Side > Java. I want the most advanced JDBC driver/db combination. The question I am > rasing is which JDBC drier is more robust and closer to the JDBC 2.0

Re: JDBC newbie question

1999-11-06 Thread John N. Alegre
Peter, I have no problem on my end. I have 4 years expeience with Server Side Java. I want the most advanced JDBC driver/db combination. The question I am rasing is which JDBC drier is more robust and closer to the JDBC 2.0 speck. Once I have a solid driver, there is no problem writing code

JDBC useing MySQL and mm.

1999-11-02 Thread Brent Allsop
tpeter, This sound like some problems I had. I was trying to import the mm stuff but this wasn't correct. Here's a a module I finally was able to make work. Hope it helps. Brent P.S.Hey, I went to BYU one semester a long time ago.. -- cut h

JDBC useing MySQL and mm.msql InstantiationError

1999-11-01 Thread tpeter
I'm trying to connect to MySQL 3.22 via JDBC and mm.mysql.jdbc-1.2b. I can get a Connection object, however when I try to create a statement useing this connection i get the following java.lang.InstantiationError: [Loaded org.gjt.mm.mysql.Util] [Loaded org.gjt.mm.mysql.Statement] [L

Re: JDBC newbie question

1999-11-01 Thread Eric vanberkel
t; applet > >home dir. I know it's a shame, butt... > > > >If you haven't got a jar you use the jar tools to pack > the > >mm.mysql classes into a jar file. > > > >This knowledge cost me a lotta sweat. I hope it pays off > >f

Re: JDBC newbie question

1999-10-26 Thread Peter Mount
extracting the classes so they are downloaded individually are old, but tips I still give out when people ask me about problems with browsers. > Is the JDBC support that much more advanced in PostgrSQL? I should hope so, as it takes up a lot of my time :-) For the next release I'm hoping

Re: JDBC newbie question

1999-10-25 Thread John N. Alegre
Has anyone else had this experience. I have been reluctant to move to PostgrSQL for reasons of complexity and speed. Is the JDBC support that much more advanced in PostgrSQL? All comments welcome. john On 24-Oct-99 Eric vanberkel wrote: > I've been thru this. > > You go to

Re: JDBC newbie question

1999-10-24 Thread Eric vanberkel
sweat. I hope it pays off for you brother... Oh, I managed to step over the line to PostgrSQL. Support for JDBC is much better. This might be a hint. They also upgraded to JDBC2 faster then mysql usually does Good luck, gr. Eric --- Jalaluddin Riaz <[EMAIL PROTECTED]> wrote: &g

Re: JDBC newbie question

1999-10-20 Thread Cynthia Jeness
How are you getting the driver loaded? Also, the driver manager tries to discover the correct driver based on the URL you specify when you get a connection. So be sure that your URL is correct. Cynthia Jeness Jalaluddin Riaz wrote: > hi, > I am a newbie to JDBC programming and am

JDBC newbie question

1999-10-19 Thread Jalaluddin Riaz
hi, I am a newbie to JDBC programming and am having some problems. I am using mysql rdbms and mm.mysql.jdbc-1.2 driver and have jdk1.2preV2 installed. the problem is everytime i try to run a prog. i get class not found exception. the prog is not able to find the driver class files. i have

Re: JDBC for mysql?

1999-10-15 Thread Matt Welsh
tion, I > believe it is close enough.Can someone point me to a mysql driver > for jdbc? Thanks in advance! > > sincerely, > > Brian Gilman

Re: JDBC for mysql?

1999-10-15 Thread Brent Allsop
Brian Gilman <[EMAIL PROTECTED]>, I'm using Mark Matthews's MySQL JDBC driver and it is working great! You can find it at: http://www.worldserver.com/mm.mysql/> Brent Allsop --

Re: JDBC for mysql?

1999-10-15 Thread jools enticknap
Hi Brian There are two available drivers for MySQL. http://www.tcx.se/Contrib/ Look for JDBC. :-) I use the mm.mysql driver, the twz driver seems to be a little overkil. Best regards --Jools P.S. If you have any Linux JDBC questions, TCX have there own mailing list, I suggest that you

JDBC for mysql?

1999-10-14 Thread Brian Gilman
Hello all! although this is not *exactly* a java Linux question, I believe it is close enough.Can someone point me to a mysql driver for jdbc? Thanks in advance! sincerely, Brian Gilman -BEGIN PGP PUBLIC

Re: JDBC problem!

1999-10-04 Thread Peter Mount
didn't test it, but this seems like the problem. > > Troy This shouldn't matter as his code is using setInt() on an int4 field. Peter -- Peter T Mount [EMAIL PROTECTED] Main Homepage: http://www.retep.org.uk PostgreSQL JDBC Faq: http://www.retep.org.uk/po

Re: JDBC problem!

1999-10-01 Thread schen
On Thu, 30 Sep 1999, ALPESH KOTHARI wrote: > Hello, > > What you told is perfectly true. But in my case it is > a different story! When I read only characters then > also it create the problem. To rectify it I have > modified my program and now I am reading only few > characters from the file(

Re: JDBC problem!

1999-09-30 Thread Weiqi Gao
ALPESH KOTHARI wrote: > > Hello, > > What you told is perfectly true. But in my case it is > a different story! When I read only characters then > also it create the problem. To rectify it I have > modified my program and now I am reading only few > characters from the file(i.e. not going till

Re: JDBC problem!

1999-09-30 Thread ALPESH KOTHARI
Hello, What you told is perfectly true. But in my case it is a different story! When I read only characters then also it create the problem. To rectify it I have modified my program and now I am reading only few characters from the file(i.e. not going till end of file). Then also the same proble

Re: JDBC problem!

1999-09-30 Thread schen
and > store it then the program works fine. ^^ This should give you a clue. This has *nothing* to do with JDBC, rather your code to read the string from the file is incorrect! And also, your code to write the string to the file is incorrect. > Here is the code: ... >

Re: JDBC problem!

1999-09-29 Thread [EMAIL PROTECTED]
Try converting the int into a string. E.g. >int pid1; > pid1=din.readInt(); String pid1; pid1 = Integer.toString(din.readInt()); I didn't test it, but this seems like the problem. Troy > > Hello Everybody, > > I have written one progr

Re: JDBC problem!

1999-09-29 Thread Dallas C. Hockley
e quotation marks around the string built for the char() field in the database, so that the insert would have 'foo' as a parameter rather than just foo. You can also direct the question to the postgresql interfaces mailing list, whe

JDBC problem!

1999-09-28 Thread ALPESH KOTHARI
Hello Everybody, I have written one program in java2 to write the data in postgresql. I am storing one integer and one string in the database. When i read the string from the file it is proper. But when i store it, it gives the following exception: java.sql.SQLException: ERROR: parser: parse err

Re: JDBC

1999-09-21 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > Thanks for the help so far regarding the JDBC-ODBC bridge. > > I have down loaded the mm.mysql driver for JDBC, which after reading the > docs, this is a class IV driver. Does this mean that it DOES NOT require the > ODBC bridge. Cos if doe

JDBC

1999-09-21 Thread Nicholas.Knight
Thanks for the help so far regarding the JDBC-ODBC bridge. I have down loaded the mm.mysql driver for JDBC, which after reading the docs, this is a class IV driver. Does this mean that it DOES NOT require the ODBC bridge. Cos if does why is JRE still asking for it Thanks Nick

Re: JDBC ODBC bridge

1999-09-17 Thread Carlos Alberto Román Zamitiz
And, why do you use JDBC ODBC Bridge? You can use pure JDBC only. Or can you explain your problem in detail? Mmm, I think you need the next line in your program: Class.forName("sun.jdbc.odbc.JdbcOdbc"); before you make the Connection object. "Nicholas.Knight" wrote: > I

Re: JDBC ODBC bridge

1999-09-16 Thread Nathan Meyers
"Nicholas.Knight" wrote: > > I have obtained a driver for MySQL for database support, but it keeps > returning an error of not being able to find JDBC ODBC bridge, where is it, > what is it and how do I install it!! Where did you get your MySQL jdbc drive

Re: JDBC ODBC bridge

1999-09-16 Thread Bernardo Paz Betancourt
Hi, I´m using Oracle and Java with JDBC ODBC so if you explicit a little bit your problme I may helpyou. Bernardo At 10:21 a.m. 16/09/99 +0100, you wrote: >I have obtained a driver for MySQL for database support, but it keeps >returning an error of not being able to find JDBC ODBC bridge,

JDBC ODBC bridge

1999-09-16 Thread Nicholas.Knight
I have obtained a driver for MySQL for database support, but it keeps returning an error of not being able to find JDBC ODBC bridge, where is it, what is it and how do I install it!! Many thanks Nick Knight -- To UNSUBSCRIBE

Re: JDBC - ODBC Bridge on Linux

1999-08-31 Thread Peter Pilgrim
[EMAIL PROTECTED] wrote: > > Why do you need a JDBC-ODBC bridge? Doesn't MySQL hava a good JDBC driver? I > thought theirs was one of the best available on Linux. > > Just wondering. > john > Try surfing `http://java.sun.com/products/jdbc/' to a list of JDBC

RE: JDBC - ODBC Bridge on Linux

1999-08-28 Thread John N. Alegre
Why do you need a JDBC-ODBC bridge? Doesn't MySQL hava a good JDBC driver? I thought theirs was one of the best available on Linux. Just wondering. john On 27-Aug-99 Patrick & Freda wrote: > Hi everyone, > > I have installed MySQL, MyODBC and unixODBC on my Linux Redhat pl

Re: JDBC - ODBC Bridge on Linux

1999-08-27 Thread Brad Cox
I'm using http://www.worldserver.com/~mmatthew/mysql/ Works great.. At 12:42 AM +0800 08/28/1999, Patrick & Freda wrote: >Hi everyone, > >I have installed MySQL, MyODBC and unixODBC on my Linux Redhat platform. > >Now i am looking for a JDK that contains the JDBC -

JDBC - ODBC Bridge on Linux

1999-08-27 Thread Patrick & Freda
Hi everyone,I have installed MySQL, MyODBC and unixODBC on my Linux Redhat platform.Now i am looking for a JDK that contains the JDBC - ODBC classes and shared object files.I have found JDK 1.1.7 v3 and JDK 1.1.8 (for arm) do NOT have JDBC - ODBC classes etc...my theory is, when

oracle/jdbc Image retrival from achive

1999-08-17 Thread Matt Zagni
Hi, This may seem complicated but I would like to retrive a number of images from a zip'ed/jar file where the location and image file is stored in the database. The jdbc/oracle query selects the user, returns the location of the image/photo and the image name. userid = location = /usr/

RE: Connect to Oracle 7.3.4 using JDBC

1999-08-05 Thread Aravind Selvaraje
As long as it is a Type 4 driver it will work on any OS as it is pure Java. -- Aravind > -Original Message- > From: Sittidej Kuwarewong [mailto:[EMAIL PROTECTED]] > Sent: Friday, 6 August 1999 11:16 > To: [EMAIL PROTECTED] > Subject: Connect to Oracle 7.3.4 using JDB

Connect to Oracle 7.3.4 using JDBC

1999-08-05 Thread Sittidej Kuwarewong
Hello, this is the my first time posting question on this community. How can I connect to Oracle Database 7.3.4 via JDBC or other way using Apache JServ for Linux ? I've trying to search download section on http://technet.oracle.com, but I found only JDBC for Oracle Database 7 on N

Re: Intermittent freezes with JDBC for Oracle805

1999-07-27 Thread Robert Perry
Actually I have experienced some flakiness with the Oracle JDBC drivers under IRIX's JDK when using native threads, particularly when multiple thread were sharing the same DB connection. I think that is a legal thing to do, but maybe it is not. Peter Kovacs wrote: > The jdk1.2/

Intermittent freezes with JDBC for Oracle805

1999-07-26 Thread Peter Kovacs
The jdk1.2/demo/jfc/Table/TableExample2.java freezes after a short time when used with Oracle's jdbc driver for Oracle 8.0.5. I suspect that this is a problem with JDK1.2 pre2 and not with the oracle driver since the same demo runs in a stable manner with green threads. Is blackdown awa

Re: Minor jdbc question.

1999-07-23 Thread matt
Matt Zagni wrote: > > Ok, > > jdbc works for simple select statements like.. > > But how can you pass this statement > select count(*) from col That will depend on your DBMS - JDBC is just a pipe (for the most part,) sending information to the database back end. Wha

Minor jdbc question.

1999-07-23 Thread Matt Zagni
Ok, jdbc works for simple select statements like.. select * from col But how can you pass this statement select count(*) from col or a more complex statement. Many thanks Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED

Re: jdbc and oracle 8.0.5 using jdk1.2

1999-07-20 Thread sgee
This may not be exactly what you are looking for, but this is the code I use to connect to oracle. ( and it is for 1.1 ). /***/ /**

jdbc and oracle 8.0.5 using jdk1.2

1999-07-20 Thread Matt Zagni
Hi, I have installed java jdk1.2 and oracle 8.0.5 Installed net8 and all is working fine. refed the CLASSSPATH for jdbc as $ORACLE_HOME/jdbc/lib/classes111.zip The java source compiles ok, but when I run the .class file I am getting the following error. Exception in thread "

RE: mysql - jdbc???

1999-07-04 Thread Aravind Selvaraje
Check out http://www.worldserver.com/mm.mysql/ It works. -- Aravind > -Original Message- > From: ½ÅÇöÀÏ [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 4 July 1999 19:21 > To: [EMAIL PROTECTED] > Subject: mysql - jdbc??? > > > Hi.. > I test a JDBC.. > I use M

mysql - jdbc???

1999-07-04 Thread ½ÅÇöÀÏ
Hi.. I test a JDBC.. I use Mysql DB. I want Mysql Driver file and a simple source. anybody success this(myslq-java) send me. thank. I'm korean boy.. I'm not good English..sorry. good-bye. --MIME Multi-part separator-- ---

Re: JDBC in POSTGRESQL (HELP ME)

1999-06-25 Thread Anonymous
> My problem is using JDBC(ODBC) in POSTGRESQL. My machine has Red Hat >Linux 5.2. In the Howto Postgres document it is written that JDBC driver >is supplied with this CD. I created Database and tabels using psql >interactive prompt. Then I wrote one java program to access the tab

Re: JDBC in POSTGRESQL (HELP ME)

1999-06-25 Thread Anonymous
Sitanshu Bhusan Nanda wrote: > Hi > My problem is using JDBC(ODBC) in POSTGRESQL. My machine has Red Hat > Linux 5.2. In the Howto Postgres document it is written that JDBC driver > is supplied with this CD. I created Database and tabels using psql > interactive prompt. Then I

  1   2   >