Yeap! You can�t instantiate an abstract class, but you can derive it and
implement those abstract method that make this class to be abstract. Then
you would be able to instantiate the derived class. I don�t know
CachedRowSet class but you could take a look to the documentation looking
for a class that implement the abstract one: something like CachedRowSetImpl
perhaps.
Hope this helps.
I�ve been searching for a while at java.sun and google but no good answers
found. Sorry.
Fran

        -----Mensaje original-----
        De:     Amjad Shahrour [SMTP:[EMAIL PROTECTED]
        Enviado el:     jueves 12 de junio de 2003 10:25
        Para:   [EMAIL PROTECTED]
        Asunto: Re: CachedRowSet

        "CachedRowSet is an abstract class. It can't be
        instantiated."

        That's the problem DUHH!

        -----Original Message-----
        From: A mailing list about Java Server Pages specification and
reference
        [mailto:[EMAIL PROTECTED] On Behalf Of Benoit Jodoin [ V7 ]
        Sent: Thursday, June 12, 2003 9:57 AM
        To: [EMAIL PROTECTED]
        Subject: CachedRowSet

        Anyone here using a CachedRowSet?

        all examples i found looked like this :

        import sun.jdnc.rowset.*;
        sun.jdbc.rowset.CachedRowSet crs = new
sun.jdbc.rowset.CachedRowSet();

        this is the error message i get:

        class sun.jdbc.rowset.CachedRowSet is an abstract class. It can't be
        instantiated. CachedRowSet crs = new CachedRowSet();

        the .jar is in the classpath...i cant figure out whats the problem.


        any ideas would be very helpful.
        thanks in advance
        Ben

==========================================================================To 
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to