 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
news.inode.at Guest
|
Posted: Fri Apr 28, 2006 9:03 am Post subject: MySQL driver integration in jbuilder |
|
|
i am using jbuilder 2006 enterprise on windows xp and try to connect to a
mysql server.
i have downloaded and installed the sql server, all works fine...
i have downloaded the mysql connector and copied the .jar file to the class
path (i also tried several other locations - always same result!),
registered the driver via Enterprise->Entzerprise setup->database driver.
Unfortunately the driver cannot be selected in the connection dropdown-list
in the designer when adding a database.
who can help me ?
thanks in advacne
ossi |
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Fri Apr 28, 2006 3:04 pm Post subject: Re: MySQL driver integration in jbuilder |
|
|
news.inode.at wrote:
| Quote: | i am using jbuilder 2006 enterprise on windows xp and try to connect to a
mysql server.
i have downloaded and installed the sql server, all works fine...
i have downloaded the mysql connector and copied the .jar file to the class
path (i also tried several other locations - always same result!),
registered the driver via Enterprise->Entzerprise setup->database driver.
Unfortunately the driver cannot be selected in the connection dropdown-list
in the designer when adding a database.
|
Did you add the JAR file as a library?
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
ossi Guest
|
Posted: Sun Apr 30, 2006 7:13 pm Post subject: Re: MySQL driver integration in jbuilder |
|
|
I added the jar as library via Tools->Config->Libs (I am using the german version so I hope the translation is ok)
I also added the lib via Project->Properties->Essential libs.
The thing is:
- I coded a query per hand and it works fine
- But I cannot use the query-builder and other things since the conenction cannot be chosen in the connections-drop-down list...
Is there any way to add the connection manually to the drop-down so I can use the designer stuff ?
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote:
| Quote: | news.inode.at wrote:
i am using jbuilder 2006 enterprise on windows xp and try to connect to a
mysql server.
i have downloaded and installed the sql server, all works fine...
i have downloaded the mysql connector and copied the .jar file to the class
path (i also tried several other locations - always same result!),
registered the driver via Enterprise->Entzerprise setup->database driver.
Unfortunately the driver cannot be selected in the connection dropdown-list
in the designer when adding a database.
Did you add the JAR file as a library?
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
|
| Back to top |
|
 |
Olaf Raether Guest
|
Posted: Sun Apr 30, 2006 8:04 pm Post subject: Re: MySQL driver integration in jbuilder |
|
|
You need to copy the jar to the lib directory of Jb2006, so jbuilder
load the jar at startup.
the library entry is "only" for the distribution and program start.
The entry in lib directory is for the design functions of jbuilder
Olaf Raether
ossi wrote:
| Quote: | I added the jar as library via Tools->Config->Libs (I am using the german version so I hope the translation is ok)
I also added the lib via Project->Properties->Essential libs.
The thing is:
- I coded a query per hand and it works fine
- But I cannot use the query-builder and other things since the conenction cannot be chosen in the connections-drop-down list...
Is there any way to add the connection manually to the drop-down so I can use the designer stuff ?
"Kevin Dean [TeamB]" <NkOdSePaAnM (AT) datadevelopment (DOT) com> wrote:
news.inode.at wrote:
i am using jbuilder 2006 enterprise on windows xp and try to connect to a
mysql server.
i have downloaded and installed the sql server, all works fine...
i have downloaded the mysql connector and copied the .jar file to the class
path (i also tried several other locations - always same result!),
registered the driver via Enterprise->Entzerprise setup->database driver.
Unfortunately the driver cannot be selected in the connection dropdown-list
in the designer when adding a database.
Did you add the JAR file as a library?
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html
|
|
|
| Back to top |
|
 |
Kevin Dean [TeamB] Guest
|
Posted: Mon May 01, 2006 1:04 pm Post subject: Re: MySQL driver integration in jbuilder |
|
|
Olaf Raether wrote:
| Quote: | You need to copy the jar to the lib directory of Jb2006, so jbuilder load
the jar at startup.
the library entry is "only" for the distribution and program start.
The entry in lib directory is for the design functions of jbuilder
|
JBuilder should pick up the library regardless of its location; the fact
that it is configured as a library and is defined as a database driver is
sufficient for JBuilder's designers to allow you to interact with it.
That being said, I really don't know why it's not working for the original
poster. I don't use the visual SQL designers much so have to defer to
anyone else who has more direct experience with this issue.
--
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/
NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html
Please see Borland's newsgroup guidelines at
http://info.borland.com/newsgroups/guide.html |
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Wed May 10, 2006 2:15 am Post subject: Re: MySQL driver integration in jbuilder |
|
|
news.inode.at wrote:
| Quote: | i am using jbuilder 2006 enterprise on windows xp and try to connect to a
mysql server.
i have downloaded and installed the sql server, all works fine...
i have downloaded the mysql connector and copied the .jar file to the class
path (i also tried several other locations - always same result!),
registered the driver via Enterprise->Entzerprise setup->database driver.
Unfortunately the driver cannot be selected in the connection dropdown-list
in the designer when adding a database.
who can help me ?
thanks in advacne
ossi
|
The details about the jar files, etc, are different, but the process of
adding a new JDBC driver to JBuilder is exactly the same as in my
article for Apache Derby:
http://bdn.borland.com/article/0,1410,33327,00.html
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|