Questions tagged as 'java'

1
answer

Jpa does not create column @lob

I am mapping a @lob field to write image to a table, but jpa creates the table, but does not create the column. I created the column manually in MYSQL, but the bytes do not persist there either. My Entity: @Entity @Table(name = "TB_IMAGEM"...
asked by 19.03.2017 / 19:42
1
answer

PrimeFaces DragDrop does not trigger event

I'm trying to do exactly what is in the documentation about DataGrid I drag the components and drop into p:droppable , but nothing happens, it gives a revert and does not create the table as in the documentation example. My...
asked by 21.02.2017 / 13:38
2
answers

When I create two tables in SQLite Android, only one works [closed]

I'm trying to develop a test application that requires two tables ( aluno and disciplina ) in class DataHelper . I create two tables, but at the time of testing, only the Aluno table works. In summary: the application h...
asked by 21.02.2017 / 07:25
0
answers

Error 404 in spring

My jsp <form method="POST" action="/desif/titulo/salvar/"> <div class="form-group has-info"> <label for="codigo"...
asked by 16.03.2017 / 13:45
1
answer

Create a folder with a specific name

I'm trying to create a folder with a certain name but I do not know why bin + name always appears. Example: If secondArg = point then the folder name becomes binpoint. Is it because I'm running at the terminal? Since when I run the termina...
asked by 16.03.2017 / 00:24
1
answer

Problem switching graphics using CardLayout

Hello, I'm having trouble using CardLayout to display the graphs of two classes. I intended to show each graph at a time and display the other at the push of a button, however when I press the button the first graph continues to be drawn and the...
asked by 16.03.2017 / 19:55
0
answers

Rotation parameter in Jasper or iReport does not work when exporting to ODS format

Hello My code: <staticText> <reportElement mode="Opaque" x="282" y="0" width="59" height="82" backcolor="#C4C4C4" uuid="8c5029ee-1b1d-41e8-a82f-ef2f879009c0"/> <box> <topPen lineWidth="1.0"/> <leftPen line...
asked by 17.02.2017 / 15:24
0
answers

Connect Java to Access (.accdb) [closed]

I'm trying to connect a desktop application that uses Java to a server. First I tried using Access, but I had problems with drivers, I tried to use UCanAccess and more problems, I finally gave up, I started with the good old MySQL. First of a...
asked by 03.02.2017 / 23:44
0
answers

Transfer of prices between virtual store and external page [closed]

I want to create a virtual store using solutions already available as Shopify or Iluria. Except that the service (deliveries) would not have a fixed pricing, the price would be based on the location of the sender and the recipient. To do this, I...
asked by 03.02.2017 / 04:15
0
answers

Save a form jsp

When you save a form, that is, it goes to the Spring control class, I need it to throw an exception, to warn the user that some field is required. In JSP it looks like this: <c:if test="${not empty param.e}"> <div...
asked by 17.03.2017 / 20:31