Questions tagged as 'java'

1
answer

How do I display the book with the most pages?

I've tried a lot of things and it's just this option case 4 which is to show the book with the most amount of pages that is missing. If you have someone to help me with this option, I thank you for making it difficult. package projet...
asked by 11.11.2017 / 06:24
1
answer

Checking the boolean return of the php function in java

I'm developing a java application that requires a license to activate. I have done the function in php that checks the data in the database and returns a true if everything is right, or false if it goes wrong. This function is in a url:...
asked by 10.11.2017 / 22:26
1
answer

Object comes pro bean with all fields blank JSF

I have a list of object objects that is being iterated in my xthml There, for each iteration, I create a panel and in each panel I display the name of each of the properties in the list and a button that calls a method loadPredio in the Bean. Th...
asked by 30.11.2017 / 17:40
1
answer

JSF error: javax.el.PropertyNotWritableException

I have an error that I can not solve and I do not know the reason for the following error and my classes and view below. type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it...
asked by 30.11.2017 / 21:19
1
answer

Error Returning Query Using Like

I'm trying to do a jpql query with like using JPA. However, it is not working. UserRepository class public class UsuarioRepository extends RepositorioGenerico<Integer, Usuario> { public UsuarioRepository() { super(Usuar...
asked by 14.11.2017 / 19:35
1
answer

Error when trying to put JCheckBox in a JTable column

I'm trying to add a column to a DefaultTableModel , but it seems to be giving some problems. Follow the code! JCheckBox jcheck; DefaultTableModel modelo = new DefaultTableModel(null, new String[]{"Data", "Hora", "SAP", "BPCS", "Etiqueta"...
asked by 14.11.2017 / 12:29
1
answer

How to leave the values in the report with iReport (or TIBCO) only with 2 decimal places

I wanted to make my values in Reals, only 2 decimal places in my report, but I do not know where to declare it. In my application I declare all type floa     
asked by 04.11.2017 / 13:18
1
answer

How do I make two apps use the same database in firebase?

Good afternoon! I'm starting in the mobile development world. I would like to develop two apps. Where app A writes and reads certain data, and that data is viewed (read-only) by app B. I am using the Firebase service. Where do I start ??    ...
asked by 16.10.2017 / 20:15
2
answers

Limit access in app areas for different users

I'm working on an app project for a company and I ended up getting into a problem I did not find how to fix it. I'd like to limit access to certain parts of the app to different users. Ex: I would like company administrators with their l...
asked by 28.09.2017 / 04:46
1
answer

JPA entity generating column with double name id_municipio_id_municipio

I have an entity called districts that contains a relationship with the municipalities table. When I generate the database the table districts creates the field id_municipio_id_municipio being that was to be generated only id_municipality. cl...
asked by 28.09.2017 / 15:34