Questions tagged as 'java'

4
answers

It does not compare well the string (I think). Java CompareTo ()

Well, I have a problem and I do not understand why it does not compare well the value of the string. I would appreciate all the help possible. By not sharing well the "numbers" (passed as string). the final string is larger than a long and gives...
asked by 24.11.2017 / 13:50
1
answer

Life time of a variable within a class

how I have a project where you read a csv file of thousands of lines a column of the CSV I save it and send it to a class where a list feeds my question is how long life has that list. once finished it will restart. or how would the lifetime of...
asked by 25.01.2018 / 20:18
1
answer

problem hibernate Envers "ID" Invaled Identifier

Good morning, my problem is as follows. I have to audit the entities of my application. For this I use the Hibernate Envers tool. I have all the entities I want to persist annotated with @Audited . I have also added the _AUD and REVI...
asked by 26.01.2018 / 14:35
3
answers

Store unicode characters in Bundle

I have a project of java internationalized and versioned, but it seems that when opening it the accented characters of the resource bundle (the .properties file) of the Spanish language are seen incorrectly. I already tried to change the...
asked by 17.12.2015 / 09:39
2
answers

Hibernate with sqlite [closed]

I am developing a desktop application and I want to do it using Sqlite e Hibernate . Does anyone know if it is possible to integrate Hibernate with Sqlite3 ?     
asked by 17.12.2015 / 13:23
1
answer

Do not add the elements of a vector

I have a problem when adding elements of a vector (do not add them and print each element instead of printing the total sum of the elements) and I do not know what is wrong, I hope you can help me! What I want is for you to add all the elemen...
asked by 19.01.2016 / 21:22
2
answers

Error in data output C

I have a problem, I am learning C and I am "translating / converting" my Java code to C to make it more efficient, just that I have a problem in the output: It is assumed that the output must be 11 15 18, but only the 15 leaves correctly and the...
asked by 08.11.2017 / 02:10
1
answer

The JDK 9 is not compatible with 32-bit systems

I tried to install the Java 9 JDK but on the official page I can not find the version for 32 bit systems, so I would like to know if Java 9 is only for 64 bits or later the 32 bit version will be released .     
asked by 04.11.2017 / 22:29
1
answer

diamond operator is not supported in -source 1.5

I have the following code which shows some products in a combobox <%@page import="java.util.List"%> <%@page import="java.util.ArrayList"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html&...
asked by 24.10.2017 / 20:23
1
answer

Display data in ListView in reverse

I have a ArrayList of type ArrayList v_DtCajasTarimasLista and every time I enter new data they are added correctly and they are shown in the ListView, but what happens is that the last record entered appears to the bottom of the ListView an...
asked by 05.03.2018 / 21:23