Posts by Wender • 169 points
6 posts
-
2
votes1
answer202
viewsA: Manual configuration of Spring Data
The problem is that the application was not being initialized as a Spring application. For me this was not necessary for desktop application, it was a thing of web application. Below are the two…
-
3
votes1
answer202
viewsQ: Manual configuration of Spring Data
I’m trying to use Springdata on a Jface/SWT project. Because the Crudrepository self implementation feature is something fantastic and very advantageous. For this, I include here in the classpath…
-
1
votes1
answer472
viewsA: How to generate a jar through ANT?
<property name="build.dir" value="/home/wender/" /> <property name="jar.name" value="meuQuerido.jar" /> <!-- Diretório onde sua IDE gera os .class --> <property…
-
0
votes2
answers568
viewsA: Gson: serialization of dates in various formats
I made a Typeadapter for Timestamp, the problem is that I work with Timestamp for all date fields, but Webserservice is restricted to formats ("yyyy/MM/dd" or "yyyyyy/MM/dd’T'12:30:00.0'Z'"), the…
-
0
votes2
answers568
viewsQ: Gson: serialization of dates in various formats
I am using Gson and need to serialize a class with different date formats: @TimeStampField(onlyDate = false) private Timestamp datahora @TimeStampField(onlyDate = true) private Timestamp diaLimite I…
-
0
votes3
answers1363
viewsA: "Decode error - output not utf-8" in Sublime Text
See if your editor has option to change the character of the text, it is probably in cp1252, pass to UTF-8 (in eclipse by right clicking on the tree of the project), by Notepad++, in the top menu…