I apologize about the current CVS state.  With luck, it will be fixed soon.  
The nightly tarballs should be good up until 8/28, I believe.

Thanks for your feedback.  Fact is, very few people have really used the JDBC 
functions, so there's bound to be some problems.  Plus, Data.java is one of 
the oldest java classes around (seeing as how serious Java only goes back to 
1995, or so :-)  I will take a look at both these issues in the near future.

For the JDBC URL problem, I may go to a single line allowing the user to 
specify the entire connection string.  That would certainly give maximum 
flexibility, and, I suspect, anyone doing such database testing is probably 
very familiar with what this string is all about anyway.

Thanks again.

-Mike

On Saturday 01 September 2001 00:59, you wrote:

> > Hello everyone,
>
> I tryied to download JMeter dated 08/30 from CVS but it wount compile. So I
> have downloaded JMeter dated 08/25 and lakily it compiled. But I have some
> minor problems with JDBC testing. So maybe you will be interesting in it.
>
> 1) file: org.apache.jmeter.protocol.jdbc.config.DbConfig
> if you look into getConnectionString function you will see something like
> that:
>
> public String getConnectionString()
>  {
>   return "jdbc:"+getSubProtocol()+"://"+getUrl();
> }
>
> so it assumes that all drivers have jdbc protocol jdbc:blablabla://url
> which is not true, I use oracle thin driver and syntax is
> jdbc:oracle:thin:@url:port:sid. So it is impossible 4 me to enter falid
> connection string from GUI. Maybe "jdbc:subprotocol://url"  is a JDBC
> standard (I'm not to familiar with JDBC) but it does not work with oracle
> thin drivers :(   So what I did is
>
> public String getConnectionString()
>  {
>   //return "jdbc:"+getSubProtocol()+"://"+getUrl();
>     return getUrl();
> }
>
> which allows me enter valid connection string manually. I'm sure it is not
> the solution though.
>
> 2) file: org.apache.jmeter.protocol.jdbc.util.Data function getHeaders will
> throw NullPointerException if no Headers can be found in ResultSet durring
> update/insert statement there are no ResultSet -- no headers.
>
>   public String[] getHeaders()
>   {
>   String[] r=new String[header.size()];
>   if ( r.length>0 )
>   {
>   r=(String[])header.toArray(r);
>   }
>   return r;
>   } //end of Method
>
> as a temporary solution I did following
>   String[] r=new String[header==null?header.size():0];
>
> which is not (again) solution.
>
>
>
> But in general great work guys! There are major improvements since last
> couple month.
>
> P.S. if this was fixed/not in scoupe/not applicable sorry for spam.
>
> - justin

----------------------------------------
Content-Type: text/html; charset="koi8-r"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------

-- 
Mike Stover
[EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to