3 posts in this topic

Posted

I was just wondering why the java MySQL driver was not in the standard lib? surely it should be its a really useful thing to have :/ (well it would be if i could get the lil b*7ch working )

Share this post


Link to post
Share on other sites

Posted

MySQL is one of many different database implementations. Not only that, if java included the JDBC driver for every database implementation that had a JDBC driver, every java program out there would be absolutely massive. The MySQL one alone is several megs. There are so many applications that don't even use databases at all.

Another way to think of it is this. If you bought a motherboard for your computer, should the motherboard just come with a NVIDIA graphics card? What if you wanted an AMD one or didn't want one at all and just wanted to use the CPU's integrated graphics? As long as the motherboard has a PCI-express slot, you're free to buy and use any graphics card you want. The PCIE slot is analogous to JDBC. MySQL is analogous to a specific NVIDIA graphics card that has a PCIE slot.

Share this post


Link to post
Share on other sites

Posted

[quote name='psyko_x' timestamp='1354159195' post='595356264']
MySQL is one of many different database implementations. Not only that, if java included the JDBC driver for every database implementation that had a JDBC driver, every java program out there would be absolutely massive. The MySQL one alone is several megs. There are so many applications that don't even use databases at all.

Another way to think of it is this. If you bought a motherboard for your computer, should the motherboard just come with a NVIDIA graphics card? What if you wanted an AMD one or didn't want one at all and just wanted to use the CPU's integrated graphics? As long as the motherboard has a PCI-express slot, you're free to buy and use any graphics card you want. The PCIE slot is analogous to JDBC. MySQL is analogous to a specific NVIDIA graphics card that has a PCIE slot.
[/quote]
Well, the Java programs themselves wouldn't be massive, the JDK/JRE would be more massive. They're not included because then it would be Oracle who would be in charge of putting out the updates for the vendors.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.