Re: Sun buys out MySQL
- From: Arne Vajhøj <arne@xxxxxxxxxx>
- Date: Sun, 09 Mar 2008 16:01:51 -0400
David Harper wrote:
Arne Vajhøj wrote:Lothar Kimmeringer wrote:Arne Vajhøj wrote:
Lothar Kimmeringer wrote:Arne Vajhøj wrote:What really constitutes "linking" in Java is not very well defined,
but Class.forName("com.mysql.jdbc.Driver") can definitely be argued
to be linking.
[...]
If the Java byte code can work with any database providing
a JDBC version X compliant JDBC driver, then it should not be
considered linking.
I think, these two statements are the opposite of each other
but it shows the different views.
No.
Code with a hardcoded Class.forName("com.mysql.jdbc.Driver") will
only work with MySQL.
It is a thin line, but I think the line is there.
There's also the issue of whether the code sends MySQL-specific commands to the database server, such as to set session variables. Then you could argue that the application is tied to MySQL, whether or not the driver class name is hard-coded or not.
True.
Arne
.
- References:
- Sun buys out MySQL
- From: Roedy Green
- Re: Sun buys out MySQL
- From: David Segall
- Re: Sun buys out MySQL
- From: Arne Vajhøj
- Re: Sun buys out MySQL
- From: David Segall
- Re: Sun buys out MySQL
- From: Arne Vajhøj
- Re: Sun buys out MySQL
- From: Lothar Kimmeringer
- Re: Sun buys out MySQL
- From: Arne Vajhøj
- Re: Sun buys out MySQL
- From: Lothar Kimmeringer
- Re: Sun buys out MySQL
- From: Arne Vajhøj
- Re: Sun buys out MySQL
- From: David Harper
- Sun buys out MySQL
- Prev by Date: Re: Sun buys out MySQL
- Next by Date: Re: free database for java
- Previous by thread: Re: Sun buys out MySQL
- Next by thread: Re: Sun buys out MySQL
- Index(es):
Relevant Pages
|
|