Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2003
    Posts
    2

    Unanswered: how to store java objects into database

    how to store java objects in a database.

  2. #2
    Join Date
    Sep 2003
    Posts
    156

    Re: how to store java objects into database

    Originally posted by baskarkb
    how to store java objects in a database.
    <a href="http://javaalmanac.com/egs/java.sql/Java2OracleType.html"> follow link top javaalmanac</a>
    rgs,

    Ghostman

  3. #3
    Join Date
    Sep 2003
    Posts
    156

    Re: how to store java objects into database

    Originally posted by baskarkb
    how to store java objects in a database.
    http://javaalmanac.com/egs/java.sql/...racleType.html link top
    rgs,

    Ghostman

  4. #4
    Join Date
    Nov 2003
    Posts
    2

    Re: how to store java objects into database

    Originally posted by GhostMan
    http://javaalmanac.com/egs/java.sql/...racleType.html link top
    i want to store my java object in database.
    eg.
    suppose i have written a class like Student

    public class Student
    {
    String studentName;
    int studentNumber;
    int studentMarksInSub1;
    int studentMarksInSub2;
    int studentMarksInSub3;

    public String studentStatus(studentMarksInSub1,studentMarksInSub 2,studentMarksInSub3)
    {
    float avg=studentMarksInSub1+studentMarksInSub2+studentM arksInSub3/3;
    if(avg>70)
    return "dinstinction";

    //like this...........

    }


    }

    now i want to create an instance to the above class , and want to store in database(oracle).
    i may retrieve this from database and call methods on it.

    how can i do that.

    please help me...........

Posting Permissions

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