Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

This is a bit sensitive, so I say it up front that this is not trolling and I am talking in a serious but positive way.

This relates to Handle MySQL BIT data type in Perl. Last night I had the thought maybe I should test it with java, see whether the JDBC driver actually supports BIT data type. I did it this morning, and obviously it worked. If you are interested, here is the testing code:

import java.sql.*; public class Test { public static void main(String argv[]) { try { Connection mysql = MySQLConnection.getConnection(); final String insert = "insert into test(a) value(?)"; PreparedStatement insertStatement = mysql.prepareStatement +(insert); insertStatement.setInt(1, 3); insertStatement.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } } }

Now here comes what I am trying to point out. The JDBC driver is provided by MySQL itself (or someone they contract or whatever). Obviously at the time when they release a new version of the database, they also make sure that the JDBC driver is ready, as those people at MySQL thought that most of their users would use Java. Doesn’t matter whether that was true, that’s how they thought.

Although nobody here likes it, this does come as a drawback for Perl. There would be people who want to go with a new version as soon as possible, either for the purpose of utilizing new features or some other reasons, as long as the new version is reasonably stable. (I am not saying BIT data type has any particular importance, it is not important to most of the people, but there will be other times, some other feature that is important.) If the language can have the driver ready, obviously it comes as one pro.

This is not important to us hardcore Perl users. We work together as one community, and make sure the DBD being available reasonably quick. But there is a different story with the general public. On the other hand, I don't think MySQL is the only company that thinks in this way.

Now I am just throw this topic on the table, and would like to hear everybody’s thought, especially what remedy we can come up as a united community.


In reply to Vendor's support of Perl by pg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found