sql ser via java


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: sql ser via java

Hybrid View

  1. #1
    a Guest

    sql ser via java


    i created several classes that retrieve data from a SQL Server. Question:
    on my development side, i created an ODBC connection hooking up to the SQL
    Server (2000). I used the jdbcdbc:sourcename, next i tested it and it
    worked great on my pc, i went to test it elsewhere. Mapped a directory on
    their NT wkstn. it asked for a odbc source name not valid. i thought it
    didn't matter in java. do i need to create an odbc in all the 20 plus pc's?
    this will be accesseed only like a "windows" application and not by browser--thanks
    for any info you can help with.

  2. #2
    cdb Guest

    Re: sql ser via java


    "a" <albert77@rocketmail.com> wrote:
    >
    >i created several classes that retrieve data from a SQL Server. Question:
    > on my development side, i created an ODBC connection hooking up to the

    SQL
    >Server (2000). I used the jdbcdbc:sourcename, next i tested it and it
    >worked great on my pc, i went to test it elsewhere. Mapped a directory

    on
    >their NT wkstn. it asked for a odbc source name not valid. i thought it
    >didn't matter in java. do i need to create an odbc in all the 20 plus pc's?
    > this will be accesseed only like a "windows" application and not by browser--thanks
    >for any info you can help with.

    Your application needs to use the ODBC data source on the local host. The
    data source connects to the ODBC data file specified. You map to a remote
    directory but the ODBC data source simply looks for a file in the path specified.
    You need to setup the data source where you application runs.

  3. #3
    albert77 Guest

    Re: sql ser via java


    thankx it worked,

    "cdb" <cburke@iss.net> wrote:
    >
    >"a" <albert77@rocketmail.com> wrote:
    >>
    >>i created several classes that retrieve data from a SQL Server. Question:
    >> on my development side, i created an ODBC connection hooking up to the

    >SQL
    >>Server (2000). I used the jdbcdbc:sourcename, next i tested it and it
    >>worked great on my pc, i went to test it elsewhere. Mapped a directory

    >on
    >>their NT wkstn. it asked for a odbc source name not valid. i thought

    it
    >>didn't matter in java. do i need to create an odbc in all the 20 plus

    pc's?
    >> this will be accesseed only like a "windows" application and not by browser--thanks
    >>for any info you can help with.

    >Your application needs to use the ODBC data source on the local host. The
    >data source connects to the ODBC data file specified. You map to a remote
    >directory but the ODBC data source simply looks for a file in the path specified.
    > You need to setup the data source where you application runs.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center