Skip to content
Advertisement

Tag: netbeans

Where can I find MySQL Path/URL for NetBeans?

I’m trying to do school JAVA EE project and I have to connect schema made in mysql from MYSql. part of code is (for SQL select) : and i apperently have no URL somehow Any ideas on that? I’m new to SQL and JAVA EE so i face lots of problems :/ Answer First of all you need a running

java netbean inserting data to db does not work

I’m trying to insert data to data base by my own interface using java netbean But I’m stuck with insert query doesn’t work here is my code segment st.executeUpdate(query) mark as wrong. Answer Ok, let me explain your problem. You don’t have configured jdbc driver. Don’t need to cast anything! You have question mark ‘?’ In your query, and you

Advertisement