0
votes
0answers
16 views

How should I use UTF-8 in MySQL?

I have set my MariaDB to Default Character Set UTF-8. According to Blue Box Blog Character Set Hell, setting that will save me the problem from unrecognized accented character like 'é'. However, I ...
1
vote
1answer
12 views

Distinct function with Criteria

I want to execute this query with Criterias but it seems is not working as expected: SELECT DISTINCT descripcion, id, familia_id, numero_departamento FROM familia WHERE familia_id IS NULL GROUP BY ...
0
votes
0answers
20 views

How to change read only database to editable : Mysql on Eclipse

I created Database using command line and created user and granted priviliges to user also but still showing same error while i am doing create and insert on eclipse but working on command line This ...
0
votes
1answer
21 views

Abstract Dao not updating or saving with Hibernate

I'm having and issue with Hibernate where I'm trying to save and entity through and Abstract Dao class and it seems to not want to save or update however my delete functionality seems to work ...
0
votes
2answers
43 views

NullPointerException in closing jdbc connection

While I am trying to close the JDBC it is throwing NullPointerException. public void getDBConnection() throws SQLException { Driver driver = new Driver(); ...
0
votes
1answer
11 views

Validate blank fields in JavaFX

I have problem when trying to validate blank field before insert data in database. I am currently using Netbeans JavaFX Application, scene builder and MySQL. For this method, it will pass the ...
0
votes
1answer
15 views

login form with mysql calling soap webservice in android 4.0

I have to develop an one android application. Here i have using following code. public class MainActivity extends Activity { String status; EditText username,userPassword; ...
2
votes
2answers
29 views

java.sql.SQLException: Invalid argument value: java.io.NotSerializableException

This is my code of SQL Connection class where I am getting error. public class SqlConnection { static Connection con; ....... static public ResultSet getData(String sql, List<LogModel> ...
0
votes
3answers
24 views

Test about a rows in jComobobox java swing

I have a combobox where I display data from a table column. The sql table contains 2 columns: name - etat_syn So the combobox displays the data of name: jComboBox3.removeAllItems(); try{ ...
0
votes
2answers
34 views

Mysql Connection with out password using corejava program (getting Access denied for user 'root'@'localhost' ) [duplicate]

i wanted to connect for mysql database, while installing mysql i not gave any password, so in my program i did the same but i am getting error on connection. I am using properties file to get ...
2
votes
6answers
55 views

Mysql Connection with out password using corejava program

I want to connect to a MySQL database. While installing MySQL I did not give any password, so in my program I did the same but I am getting error on connection. I am using properties file to get the ...
-1
votes
3answers
35 views

How to fix Column Index out of range SQLException

When i'm passing a query i'm getting below error. Errorno is Nil Error String Is Query Problem..... java.sql.SQLException: Column Index out of range, 2 > 1. This is the code in my java ...
0
votes
3answers
43 views

How to use java variable to insert values to mysql table?

Hi i am trying to insert the values in to mysql table. i am trying this code. i have assigned values to variable and i want to pass that variable to that insert statement. Is this correct? code ...
0
votes
0answers
9 views

How to use struts2 jquery plugin on freemarker files

I developed a java application using struts2 2011 library and 100% freemarker template files. I would like to upgrade the library without having to convert all of those mentioned freemarker files ...
0
votes
3answers
33 views

How to retrieve records from db where a particular column is equal to a set of Strings?

I have a table T1 with columns ID(primary key,varchar), name(varchar), value(number) and key(number).I have a String array which consists of ID's and I want to retrieve all the records with those id ...

1 2 3 4 5 385
15 30 50 per page