JDBC-JConnect Question 
Author Message
 JDBC-JConnect Question

I trying to get the Sybase jConnect sample programs to run. Can
someone tell me why I get the below error? I'm new to java by the
way...

symbol  : class SybSample  
location: class sample2.Sample
    static SybSample _sybSample;
           ^
Sample.java:58: cannot resolve symbol
symbol  : class SybSample  
location: class sample2.Sample
    public void settings(SybSample sybSample, SybDriver sybDriver,
String dir, boolean anApplet, CommandLine cmdline)
                         ^
Sample.java:133: cannot resolve symbol
symbol  : variable SybSample  
location: class sample2.Sample
            SybSample.error(" Closing connection on sample\n");
            ^
Sample.java:134: cannot resolve symbol
symbol  : variable SybSample  
location: class sample2.Sample
            SybSample.error(" Sample Finished Executing\n");
            ^
Sample.java:162: cannot resolve symbol
symbol  : variable SybSample  
location: class sample2.Sample
            SybSample.error("\n *** Warning ***\n");
            ^



Sat, 06 Nov 2004 04:53:21 GMT
 JDBC-JConnect Question

Have u run the correct startup/ini files for these sample examples?

I did manages to run these ok on an NT platform, and I think UNIX also
sometime ago.
Apart from the .sh, .bat files which should set things up it does
require a little bit of java knowledge
to get things to work correctly.

If u e-mail more details of what u r doing perhaps I, or some one else
in this group may be able
to help.

Naran.

Quote:

> I trying to get the Sybase jConnect sample programs to run. Can
> someone tell me why I get the below error? I'm new to java by the
> way...

> symbol  : class SybSample
> location: class sample2.Sample
>     static SybSample _sybSample;
>            ^
> Sample.java:58: cannot resolve symbol
> symbol  : class SybSample
> location: class sample2.Sample
>     public void settings(SybSample sybSample, SybDriver sybDriver,
> String dir, boolean anApplet, CommandLine cmdline)
>                          ^
> Sample.java:133: cannot resolve symbol
> symbol  : variable SybSample
> location: class sample2.Sample
>             SybSample.error(" Closing connection on sample\n");
>             ^
> Sample.java:134: cannot resolve symbol
> symbol  : variable SybSample
> location: class sample2.Sample
>             SybSample.error(" Sample Finished Executing\n");
>             ^
> Sample.java:162: cannot resolve symbol
> symbol  : variable SybSample
> location: class sample2.Sample
>             SybSample.error("\n *** Warning ***\n");
>             ^



Wed, 10 Nov 2004 05:25:16 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. A question about jConnect (JDBC driver)

2. DBVisualize and jConnect for JDBC by Sybase

3. Help: Trying to get Started with JDBC and JConnect

4. JDBC jConnect driver / Sybase System 11 / autoCommit

5. JDBC and SYBASE - Best Solution jConnect or other?

6. Sybase JConnect JDBC Performance on Stored Procs - SLOW!

7. Error with jConnect - JDBC for Sybase

8. jConnect from Sybase and JDBC

9. jconnect/jdbc and thread safety

10. Java Studio and JDBC (jConnect)

11. jconnect/jdbc and thread safety


 
Powered by phpBB® Forum Software