Posts by José Filipe Lyra • 402 points
6 posts
-
4
votes1
answer537
viewsQ: How to work with associative table with additional attributes in REST?
Imagine you have 3 entities: Student, Discipline and Alunodiscipline. The entity AlunoDisciplina , in addition to relating the Aluno with the Disciplina, also includes other information, such as the…
-
3
votes1
answer2235
viewsA: Exception org.hibernate.Propertyaccessexception: could not set a field value by Reflection Setter
Bruno, In his class GrupoAtendimentoEmpresa, instead of using the @Id annotation in your group and company attributes, add two new attributes (whole type) that represent the ids of these entities…
-
1
votes1
answer1836
viewsQ: I can’t see console output on project with Wildfly
I can’t see any console output on a project with Wildfly 8.0.0. If at any point in my code I make one System.out.println("Qualquer coisa") Simply nothing appears on my Eclipse Kepler console. The…
-
3
votes2
answers633
viewsA: How to fix POST request URL using REST in Extjs 4?
Based on the source code of class Ext.data.proxy.Rest, I wrote the method buildUrl(), as follows below: buildUrl : function(request) { var me = this, operation = request.operation; // Se o tipo de…
-
3
votes2
answers633
viewsQ: How to fix POST request URL using REST in Extjs 4?
I am using REST proxy. According to the default, when adding a data is used the POST without any parameter in the URL. For example, if I want to add a user, my URL should be localhost/usuarios/.…
-
14
votes1
answer489
viewsQ: How to link models (with Association), Forms, and grids in Extjs 4?
I’m using Extjs 4.2 in a project and I’m having problems involving model Associations and how to link them to Forms and grids. Let me illustrate with an example. I have 3 classes and 1 json, as…