| To: | users@xxxxxxxxxx |
|---|---|
| Subject: | Re: [cinjug-users] oracle.sql.ArrayDescriptor |
| From: | santosh kaushik <santoshkaushik@xxxxxxxxx> |
| Date: | Thu, 25 Aug 2005 15:07:48 -0700 (PDT) |
| Delivered-to: | mailing list users@cinjug.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vcHpLbdtslUSPl5vWNipzbUvWhY5azdjl8/vj4IBhZDi4S54/nv3oO3fmBsz94ab6TvHSTWaLs2l3OSUFv1JmMXb1ckEN4BKQ3jCg/DE0V9QDHETIVzaJikTjdRvWLV2a4YAUYOQeEK+l/vUuY3Jd2OmplWyC0N6jAgP26o+ZrA= ; |
| In-reply-to: | <20050825031447.7658.qmail@web32406.mail.mud.yahoo.com> |
| Mailing-list: | contact users-help@cinjug.org; run by ezmlm |
|
Hi Saleem
I tried casting it to OracleConnection but it throws ClassCastException.
I could solve the problem by creating a connection in my code instead of getting one from the datasource and passing it to ArrayDescriptor.
I guess the problem is that the application server gives some implementation to java.sql.Connection and returns it. Because of which it doesnt allow us to type cast it, which oracle.sql.ArrayDescriptor tries to do after receiving a Connection.
sqlj is a nice suggestion i will try to explore it more and use it in future.
Thanx
Regards,
Santosh
Saleem Jeelani <saleemjeelani@xxxxxxxxx> wrote: Try casting the connection you are getting from the __________________________________________________ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | oracle.sql.ArrayDescriptor, santosh kaushik |
|---|---|
| Next by Date: | Pre-approved Application #NCSF951, Trey Valenzuela |
| Previous by Thread: | oracle.sql.ArrayDescriptor, santosh kaushik |
| Next by Thread: | Pre-approved Application #NCSF951, Trey Valenzuela |
| Indexes: | [Date] [Thread] [Top] [All Lists] |