Thanks,
Howard
Joseph Weinstein <j...@bea.com> wrote:
>
>
>David Moser wrote:
>>
>> Where can I get the version of the driver you mention that works with
>CachedRowSet?
>
>I'll send it to you.
>Joe
>
>
>> Joseph Weinstein <j...@weblogic.com> wrote:
>> >Yeah, it's because there's some metadata calls returning a string,
>> >that can't be answered, so our driver returns a null. The CachedRowSet
>> >code does a lot of
>> >
>> >String thereLocalVariable = new String(<our null string>);
>> >
>> >instead of
>> >
>> >String thereLocalVariable = <our null string>;
>> >
>> >I'll send you a version of our driver that returns "" for
>> >unknowable strings instead of null. This works with CachedRowSets...
>> >Joe
>> >
>> >Jhovanny Villegas wrote:
>> >>
>> >> Hi All,
>> >>
>> >> I'm trying to use Sun's implementation of the CachedRowSet with
>the level
>> >4 jdbc driver for SQL Server 7.0, but it keeps giving me this error:
>> >>
>> >> java.lang.NullPointerException
>> >> at java.lang.String.<init>(String.java:193)
>> >> at sun.jdbc.rowset.RowSetMetaDataImpl.setSchemaName(RowSetMetaDataImpl.java:269)
>> >> at sun.jdbc.rowset.CachedRowSet.initMetaData(CachedRowSet.java:680)
>> >> at sun.jdbc.rowset.CachedRowSet.populate(CachedRowSet.java:647)
>> >> at j.go(j.java:57)
>> >> at j.main(j.java:25)
>> >>
>> >> If I use any other driver the code works fine. Any ideas?
>> >>
>> >> Thanks!
>> >>
>> >> Jhovanny Villegas
>> >
>> >--
>> >
>> >PS: Folks: BEA WebLogic is in S.F. with both entry and advanced positions
>> >for
>> >people who want to work with Java and E-Commerce infrastructure products.
>> >Send
>> >resumes to j...@bea.com
>> >--------------------------------------------------------------------------------
>> > The Weblogic Application Server from BEA
>> >
>> > JavaWorld Editor's Choice Award: Best Web Application Server
>> > Java Developer's Journal Editor's Choice Award: Best Web Application
>Server
>> > Crossroads A-List Award: Rapid Application Development Tools
>for Java
>> >
>> >Intelligent Enterprise RealWare: Best Application Using a Component
>Architecture
>> > http://www.bea.com/press/awards_weblogic.html
>
>--
>
>PS: Folks: BEA WebLogic is expanding rapidly, with both entry and advanced
>positions
>for people who want to work with Java, XML, SOAP and E-Commerce infrastructure
>products.
>We have jobs at Nashua NH, Liberty Corner NJ, San Francisco and San Jose
>CA.
>Send resumes to j...@bea.com