Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Comment on

( #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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (9)
    As of 2014-09-19 07:05 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      How do you remember the number of days in each month?











      Results (132 votes), past polls