Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread HRH
In the old day, I used to have a java code to dynamically populate DB tables from a form. I have to search my code archives on a different system and maybe I can find them for you. PS: Nowadays, I accomplish the same functionality with Java EE, Java Server Faces (JSF) front end, and Object

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Mark A. Flacy
Greetings, Is there a base project that contains what you've attempted to this point that could be shared amongst us? Are you talking about a NetBeans application to do this? Or is this some other Java application for which you want to use NetBeans to compile and test? -- Mark A. Flacy

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Amy Wolf
Thanks for your reply. This is the Java to SQL connection code in NetBeans 8.2: con = DriverManager.getConnection("jdbc:mysql://localhost/iamysql-userdata", "root", ""); However, I am getting an error that this connection is not valid. I have the jar file in my library, and it says it's

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread John Mc
Geertjans link shows you how to use NetBeans to connect to a Java Derby Server. But there was one key thing in that link. The JDBC connection string for NetBeans to connect to that database. Taking that knowledge you could look at the link I sent on. Replace the usual connection string with the

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Geertjan Wielenga
https://www.sis.pitt.edu/mbsclass/is2560/resources/UsingDerbyandDBMSinServlets.pdf Gj On Sun, Mar 14, 2021 at 9:18 PM Amy Wolf wrote: > John: I have been googling. The problem is that the page Gertjan referred > to shows how to insert ALREADY EXISTING DATA into a table. > > My goal is to take

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Amy Wolf
John: I have been googling. The problem is that the page Gertjan referred to shows how to insert ALREADY EXISTING DATA into a table. My goal is to take the data from the JAVA form and have it insert into the Derby table every time a user comes along and fills it out. Thanks. On 2021/03/14

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread John Mc
Amy, Have you tried googling? A quick search found me: https://www.javaguides.net/2019/07/registration-form-using-java-swing-jdbc-mysql-example-tutorial.html?m=1 This shows you a simple swing application with MySQL. If you couple this with Geertjan's link it should get you what you want...

Re: NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Geertjan Wielenga
https://netbeans.apache.org/kb/docs/ide/java-db.html Gj On Sun, Mar 14, 2021 at 8:32 PM Amy Wolf wrote: > Could someone please provide sample Java code f9or NetBeans to capture > data filled out in NB form into a Java derby database? OS is Windows 10 -- > latest version of NetBeans. > >

NEED EXAMPLE CODE: how to use database to fill out NB Form

2021-03-14 Thread Amy Wolf
Could someone please provide sample Java code f9or NetBeans to capture data filled out in NB form into a Java derby database? OS is Windows 10 -- latest version of NetBeans. URGENT! Thanks. - To unsubscribe, e-mail:

Re: Profiler warnings - Illegal reflective access

2021-03-14 Thread Zahid Rahman
I have already put it in a bug report for this warning. Actually Somebody did it for me. I was informed by the mvn expert that this happened because the Unbuntu included the incorrect libraries in debian. If you download direct from maven website then this warning shouldn't appear. That was

Fwd: Profiler warnings - Illegal reflective access

2021-03-14 Thread Bradley Willcott
Sorry, I forgot to provide some context: Netbeans 12.1 Fedora Linux 32 This text appears before the program starts to run, and just after it has been successfully compiled. Brad. Forwarded Message Subject:Profiler warnings - Illegal reflective access Date: Sun, 14

Profiler warnings - Illegal reflective access

2021-03-14 Thread Bradley Willcott
Hi there, Should I put this into a bug report? This showed up when I was trying to profile an application that was accessing MySQL server.  I was profiling SQL Queries: Profiler Agent: Waiting for connection on port 5140, timeout 10 seconds (Protocol version: 18) Profiler Agent: Established