BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MySQL driver integration in jbuilder

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases
View previous topic :: View next topic  
Author Message
news.inode.at
Guest





PostPosted: Fri Apr 28, 2006 9:03 am    Post subject: MySQL driver integration in jbuilder Reply with 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
Back to top
Kevin Dean [TeamB]
Guest





PostPosted: Fri Apr 28, 2006 3:04 pm    Post subject: Re: MySQL driver integration in jbuilder Reply with quote



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





PostPosted: Sun Apr 30, 2006 7:13 pm    Post subject: Re: MySQL driver integration in jbuilder Reply with 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:
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





PostPosted: Sun Apr 30, 2006 8:04 pm    Post subject: Re: MySQL driver integration in jbuilder Reply with 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

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





PostPosted: Mon May 01, 2006 1:04 pm    Post subject: Re: MySQL driver integration in jbuilder Reply with quote

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





PostPosted: Wed May 10, 2006 2:15 am    Post subject: Re: MySQL driver integration in jbuilder Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.