Re: Netbeans and Derby
Hello, In the tab Services of NetBeans you have an entry Databases > Drivers. Add the driver here: Cutomize and add the jar. Which version of Derby do you have? For the version 10.15, you must add 3 files: derbyclient.jar, derbyshared.jar and derbytools.jar. For the older versions, I think you have only to add derbyclient.jar (verify...). Hope it help, Richard Le 19/03/2020 à 23:28, Klerman a écrit : Hello, Richard I want to give a try to the code generation from entities with Apache Netbeans. Following some tutorials, I installed Netbeans 11.3 and Apache Derby on a computer with Ubuntu. Some other tutorials show how to generate code, no programming, for simple CRUD cases. But I can't make it work, because every time I select Connect to the Database Connection, I receive the error "not suitable jdbc driver". All the information that I have found relates to the case when people receive that error when trying to open a connection to the database from code, which is not my case. I haven't installed Glassfish, nor Payara. Thanks for your help.
Re: Netbeans and Derby
Hello, Richard I want to give a try to the code generation from entities with Apache Netbeans. Following some tutorials, I installed Netbeans 11.3 and Apache Derby on a computer with Ubuntu. Some other tutorials show how to generate code, no programming, for simple CRUD cases. But I can't make it work, because every time I select Connect to the Database Connection, I receive the error "not suitable jdbc driver". All the information that I have found relates to the case when people receive that error when trying to open a connection to the database from code, which is not my case. I haven't installed Glassfish, nor Payara. Thanks for your help.
Re: Netbeans and Derby
Hello, Chris, When I registered the Derby installation in Netbeans, (Services/Java DB/Properties), it only asked for the Java DB installation path, and for a path to locate new databases. I guess that Netbeans uses that information to detect and use the derby.jar and derbyclient.jar. Other that that, I don't know a way to select a jar. Inspecting the properties of the connection, I can see that the driver is one called "apache_derby_net", and that the driver class is "org.apache.derby.jdbc.ClientDriver". Many thanks for your help
Re: NetBeans and Derby
Yeah, it is not the easiest thing - which jar from the derby installation did you use to create the connection? > On 19 Mar 2020, at 04:42, Klerman wrote: > > Hello, > I'm not sure if this is the right place to post this question. > I'm trying to configure NetBeans 11.3 so it can be used with Derby. > I guess that Derby is correctly installed, as I can execute commands with its > utilities in the Ubuntu Terminal. > I registered the Derby software in NetBeans, with Databases/Java > Db/Properties. > NetBeans created a sample database automatically, but when I try to connect > to it with Database Connection/Connect, I always get a message saying that a > suitable jdbc client driver can't he found. > Ubuntu 18.04.4 LTS > Java 11.0.6 > Apache Netbeans 11.3 > Derby 10.15.1.3 > > Any suggestion will be greatly appreciated. > > Klerman Gutierrez > > CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. Cerner Limited, Registered in England no 2519305, Registered Office 37 North Wharf Road, London W2 1AF. - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: NetBeans and Derby
Hello, Do you use Payara? Richard Envoyé depuis mon smartphone Samsung Galaxy. Message d'origine De : Klerman Date : 19/03/2020 05:43 (GMT+01:00) À : users@netbeans.apache.org Objet : NetBeans and Derby Hello, I'm not sure if this is the right place to post this question. I'm trying to configure NetBeans 11.3 so it can be used with Derby. I guess that Derby is correctly installed, as I can execute commands with its utilities in the Ubuntu Terminal. I registered the Derby software in NetBeans, with Databases/Java Db/Properties. NetBeans created a sample database automatically, but when I try to connect to it with Database Connection/Connect, I always get a message saying that a suitable jdbc client driver can't he found. Ubuntu 18.04.4 LTS Java 11.0.6 Apache Netbeans 11.3 Derby 10.15.1.3 Any suggestion will be greatly appreciated. Klerman Gutierrez
NetBeans and Derby
Hello, I'm not sure if this is the right place to post this question. I'm trying to configure NetBeans 11.3 so it can be used with Derby. I guess that Derby is correctly installed, as I can execute commands with its utilities in the Ubuntu Terminal. I registered the Derby software in NetBeans, with Databases/Java Db/Properties. NetBeans created a sample database automatically, but when I try to connect to it with Database Connection/Connect, I always get a message saying that a suitable jdbc client driver can't he found. Ubuntu 18.04.4 LTS Java 11.0.6 Apache Netbeans 11.3 Derby 10.15.1.3 Any suggestion will be greatly appreciated. Klerman Gutierrez