Results 1 to 2 of 2
  1. #1
    javajo is offline Member
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Default a connection from sql-table to a java class

    Hi.

    I have one sql-table and that table is not java class.
    I want to make a connection from that sql-table to a certain java class.
    I think I must write something in this java class and could it be like this;

    java.sql.Connection AND THE NAME OF THE TABLE ????

    Please, how can I make this connection?, how should I write it?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    7

    Default

    Quote Originally Posted by javajo View Post
    Hi.

    I have one sql-table and that table is not java class...
    Yes, obviously.


    Quote Originally Posted by javajo View Post
    Hi.
    ...
    I want to make a connection from that sql-table to a certain java class.
    ..
    Eh?


    Quote Originally Posted by javajo View Post
    Hi.
    ...
    I think I must write something in this java class and could it be like this;

    java.sql.Connection AND THE NAME OF THE TABLE ????

    Please, how can I make this connection?, how should I write it?
    Google and read about JDBC.

Similar Threads

  1. Replies: 0
    Last Post: 08-15-2009, 08:30 AM
  2. Replies: 14
    Last Post: 05-28-2009, 05:44 AM
  3. Data from a model class won't show up in the table
    By ayampanggang in forum AWT / Swing
    Replies: 3
    Last Post: 11-27-2008, 08:20 PM
  4. Replies: 0
    Last Post: 04-01-2008, 10:43 AM
  5. Replies: 0
    Last Post: 09-28-2007, 01:01 PM

Posting Permissions

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