Posts by Renato Vieira Dantas • 129 points
12 posts
-
0
votes1
answer282
viewsA: Better definition of Entitymanager
Basically and the same thing, the crucial difference at this point is that in one, JVM does its magic to create its Entitymanager and in the other you have a Jpautil class that brings you this…
-
2
votes1
answer74
viewsQ: Mongodb stops inserting documents
I am entering some records, but after a while, it does not let insert more. It follows the console error: java.lang.IllegalStateException: Failed to execute CommandLineRunner at…
-
1
votes2
answers264
viewsQ: Session Hibernate, how to obtain instance
In all the Hibernate documentation, and web-based examples have this code example, or a very similar one, to use Hibernate. List<Object> list = session.createCriteria(Object.class); Since…
-
1
votes1
answer186
viewsQ: Select Hibernate criteria with mapped entity
has how I make a select, using the criteria and bring an uncharted entity, would be several joins, and sometimes bring certain fields and others not.
-
0
votes1
answer56
viewsQ: Create selects with Hibernate criteria Generico
I’m making a web software, administrative, it has several graphs and several tables, the problem with that is that several graphs and tables generate many queries to the database, and with that,…
-
2
votes1
answer288
viewsQ: No Mapping found for HTTP request with URI [/Milicia] in Dispatcherservlet with name 'Dispatcher'
Does not find the uris that I type, always gives the same error, I have remade and still the error persists. Follows the relevant classes and files. relevant part of pom.xml <build>…
-
0
votes0
answers211
viewsQ: Problem with hibernation and JPA
It’s a WS REST, he should return a donor, but he’s making an exception... Console: set 22, 2016 3:37:15 PM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {5.0.1.Final} set 22, 2016…
-
2
votes1
answer457
viewsA: Save information to an Sqlite and then go up to a JSON with webserive
Add google’s Gson dependency to your Google, have in m2Repository, you will do your search in the normal database, turn into a normal java object and then just call gson so new…
-
2
votes1
answer191
viewsQ: JSONP breaks at two points (" : ")
The server sends a JSON, normal. Follows the code: @GET @Path("email") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON) public String getEmail(){ ViewStatisticsEmail…
-
1
votes1
answer719
viewsQ: google Charts - geochart
I’m having a small problem with the geochart, the other charts load normal, but not the geo, it even shows the region of Brazil, but does not populate the regions. Follows the code:…
javascriptasked Renato Vieira Dantas 129 -
0
votes2
answers92
viewsA: Help with Android Studio app
as Voce changed to support earlier versions, may have compatibility problem, make sure to run it in the emulator with the same version of your phone and see if it appears the same error, and when it…
androidanswered Renato Vieira Dantas 129 -
1
votes2
answers287
viewsA: Cardview of welcome
facin cara... saves a value(1 and 0) as if it were a boleano in sheredPreferences and oncreate Voce adds it if the value is 0 , if it is a Voce draws the rest of the normal screen. to do so You have…
androidanswered Renato Vieira Dantas 129