CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Sybase Java

  1. #1
    Join Date
    Feb 2000
    Location
    Mexico, MEXICO
    Posts
    2

    Sybase Java


    Hi, im working on an application supposed to interact with sybase but i have 2 problems. One, is there a driver for this? the application will be running under linux 6.1

    two. How can i save files on the database? do i have to convert to binary and save as text?

    thanks in advance


  2. #2
    Join Date
    Dec 1999
    Location
    Chonghe, Taipei County, Taiwan, R.O.C.
    Posts
    231

    Re: Sybase Java

    I think that you may contact the vendor of sybase for the JDBC driver. One thing that
    you may take care is if it supports JDBC 1.2 or 2.0. If it support JDBC 2.0, you may
    use Blob method to save your binary data in the database. The detail usage should be
    reference to the document of sybase database. If it does not support JDBC 2.0, you
    may save the file name in the database. When you want to process your binary data,
    you may query that file with the specified file name to access the stuff which will be
    processed by your programs. This is an indirect method, but it can save your disk
    space. with this method, you do not have to define the large space for the field to save
    your data. It might eliminate the sparse effect.
    good luck
    Alfred Wu


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured