Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: Sun buys ou...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 14 of 18 Topic 3667 of 3800
Post > Topic >>

Re: Sun buys out MySQL

by =?UTF-8?B?QXJuZSBWYWpow7hq?= <arne@[EMAIL PROTECTED] > Mar 10, 2008 at 07:06 PM

Lew wrote:
> Arne Vajhøj wrote:
>> 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.
> 
> How would you view code that injects a driver from a deployment 
> descriptor, similarly to
>  Class.forName( context.getAttribute( "dbdriver" ));
> during init()?
> 
> Here we're assuming a getAttribute() that returns a class name read from

> a deployment descriptor at run time.
> 
> This idiom will work with any database system for which a JDBC driver 
> JAR is available at run time, whether obtained from the application 
> vendor or some other source (such as directly from MySQL).  It could 
> even allow an application to hot-swap its back end, though goodness 
> knows why anyone would do such a thing.
> 
> Every time I've encountered this controversy over whether the GPL 
> restricts certain uses of GPLed JDBC drivers, it hinges on the 
> definition of "linking" to the JDBC driver.  The term is a holdover from

> when most GPLed code was written in C (gcc), and doesn't apply as neatly

> to Java.  I think it would require case law to resolve the question.

You are right that some rulings from the legal system
would help clear up things.

But as long as the code in question can run unchanged with
multiple databases, then I would not call it linking.

Arne
 




 18 Posts in Topic:
Sun buys out MySQL
Roedy Green <see_websi  2008-03-02 04:12:50 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-02 00:53:21 
Re: Sun buys out MySQL
David Segall <david@[E  2008-03-02 06:38:38 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-02 09:26:19 
Re: Sun buys out MySQL
David Segall <david@[E  2008-03-02 15:30:28 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-02 15:05:51 
Re: Sun buys out MySQL
Lothar Kimmeringer <ne  2008-03-08 19:39:05 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-08 16:19:19 
Re: Sun buys out MySQL
Lothar Kimmeringer <ne  2008-03-09 16:58:34 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-09 15:07:51 
Re: Sun buys out MySQL
David Harper <devnull@  2008-03-09 19:15:55 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-09 16:01:51 
Re: Sun buys out MySQL
Lew <lew@[EMAIL PROTEC  2008-03-10 01:10:02 
Re: Sun buys out MySQL
=?UTF-8?B?QXJuZSBWYWpow7h  2008-03-10 19:06:56 
Re: Sun buys out MySQL
Lothar Kimmeringer <ne  2008-03-16 00:18:01 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-15 22:18:55 
Re: Sun buys out MySQL
David Segall <david@[E  2008-03-16 15:33:14 
Re: Sun buys out MySQL
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-16 18:54:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 4:42:42 CDT 2008.