Re: Netbeans and Derby

2020-03-19 Thread Richard Grin
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

Re: Netbeans and Derby

2020-03-19 Thread Klerman
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 w

Re: Netbeans and Derby

2020-03-19 Thread Klerman
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 tha

[no subject]

2020-03-19 Thread Klerman
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 tha

Re: Generate missing switch cases for an enum

2020-03-19 Thread Jerome Lelasseux
got it thanks ! Le jeudi 19 mars 2020 à 20:00:34 UTC+1, Jan Lahoda a écrit : On Thu, Mar 19, 2020 at 6:52 PM Emilian Bold wrote: seems like a neat feature to add to Java too... It does seem work for Java for me - if I have a switch, which is missing some possible cases, and I put

Re: Generate missing switch cases for an enum

2020-03-19 Thread Jan Lahoda
On Thu, Mar 19, 2020 at 6:52 PM Emilian Bold wrote: > seems like a neat feature to add to Java too... > It does seem work for Java for me - if I have a switch, which is missing some possible cases, and I put the cursor inside the "switch" (or after it), there is a lightbulb on the left, and when

Re: Generate missing switch cases for an enum

2020-03-19 Thread Emilian Bold
seems like a neat feature to add to Java too... --emi On Thu, Mar 19, 2020 at 6:18 PM Jerome Lelasseux wrote: > > I just realized the annoucement below was specific for C/C++... I use java. > > Le jeudi 19 mars 2020 à 17:14:25 UTC+1, Jerome Lelasseux > a écrit : > > > Hi, > > Since 8.1 Netbean

Re: Generate missing switch cases for an enum

2020-03-19 Thread Jerome Lelasseux
I just realized the annoucement below was specific for C/C++... I use java. Le jeudi 19 mars 2020 à 17:14:25 UTC+1, Jerome Lelasseux a écrit : Hi, Since 8.1 Netbeans seems able to generate missing switch clauses:http://wiki.netbeans.org/NewAndNoteworthyNB81#Generate_missing_switch_cla

Generate missing switch cases for an enum

2020-03-19 Thread Jerome Lelasseux
Hi, Since 8.1 Netbeans seems able to generate missing switch clauses:http://wiki.netbeans.org/NewAndNoteworthyNB81#Generate_missing_switch_clauses How to access it ? I tried ctrl-space in various places, alt-insert, without success.

Re: NetBeans and Derby

2020-03-19 Thread Luff,Chris
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 De

Re: Java 14 / Netbeans download problem

2020-03-19 Thread Chris Olsen
Emilian and All -- > Then again, the installer could perhaps *detect* JDK 14 and give the users a nicer message? Part of my problem is that not being a developer I am not always able to understand the significance of what I'm reading. Perhaps a message including a workaround would wo