NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

New Database Connection - properties?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
dferrero



Joined: 29 Mar 2011
Posts: 1

PostPosted: Tue Mar 29, 2011 8:35 pm    Post subject: New Database Connection - properties? Reply with quote

I'm trying to create a New Database Connection and the Sybase database I'm trying to connect to uses an unsupported character set (charset). I get a stack of exceptions saying so much. I am able to connect using a java-based application, DbVisualizer, but only after I set the connection propeties "CHARSET" to "iso_1".

Is there no way to set additional properties within NetBeans or by editing a database connection file by hand? It does not appear this is possible? Thanks for any help!
Back to top
Matthias Bl
Posted via mailing list.





PostPosted: Wed Mar 30, 2011 8:29 pm    Post subject: New Database Connection - properties? Reply with quote

Hey,

Am Dienstag, den 29.03.2011, 20:35 +0000 schrieb dferrero:
Quote:
Is there no way to set additional properties within NetBeans or by
editing a database connection file by hand? It does not appear this is
possible? Thanks for any help!


I had a look at the underlying code. And its currently not possible.

Currently meaning, that I wanted to have a look at it. My itch is a
connector, that enables Connector/J (mysql jdbc driver) to connect via
an ssh-Link.

Greetings

Matthias
Back to top
Matthias Bl
Posted via mailing list.





PostPosted: Sat Apr 02, 2011 4:04 pm    Post subject: New Database Connection - properties? Reply with quote

Hey,

Am Dienstag, den 29.03.2011, 20:35 +0000 schrieb dferrero:
Quote:
Is there no way to set additional properties within NetBeans or by
editing a database connection file by hand? It does not appear this is
possible? Thanks for any help!

I'll also open a feature request for this, but I will surely never go
into netbeans 7.0. I put the patch for now here:

http://www.doppel-helix.eu/dbconnectionproperties.patch

And I rebuild the db-Module with the patch integrated:

http://www.doppel-helix.eu/org-netbeans-modules-db.jar

This was build against netbeans-7.0-rc1 but as the interface was not
touched it should also work against 6.9. Just download the jar and
replace the version you have in $netbeansInstallDir/ide/modules.

It would be nice if you could test it. It worked as expected with the
informix drivers. I moved the INFORMIXSERVER declaration from the jdbc
url to the properties and did a positive test (with the property set)
and to exclude luck a negative test (without the property set).

Would be nice if you give it a spin, but be prepared - don't mess with
your installation if your live depends on it - it might eat your cat ;-)

Greetings

Matthias
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo