Questions tagged as 'java'

1
answer

Hibernate is not generating id to write to the database

I'm doing the manipulation of an xls file, so that's fine. I can perform setters and getters normally. but in the save to go to the bank, the id is coming null and with that not recording in the bank. I'll post my codes for better visualization....
asked by 05.02.2018 / 12:43
0
answers

ListView Search

I need to do a search on the data in a listview and make a filter. I looked for some ways to do this, and what seemed to me simpler was to implement Filterable in the 'adapter' and instantiate its methods. But even following the whole...
asked by 09.02.2018 / 00:57
1
answer

List Jar Classes Generated

I have a class that searches and lists the classes inside my jar, it being: public static Class[] getClasses(String packageName) throws ClassNotFoundException, IOException { ClassLoader classLoader = Thread.currentThread().getContextClassL...
asked by 09.02.2018 / 13:16
0
answers

primary key as as char

I have a table as a primary key with char(1) on the sql server using the jtds driver. public class Situacao{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "cod_sit_pedi_aval") private Character codSitPediAval;...
asked by 09.02.2018 / 19:59
0
answers

How to insert a View between 2 children of a LinearLayout

I have a% of Vertical% and 4% of% within it. For example: linearLayout frame_1 frame_2 frame_3 frame_4 I want to add LinearLayout to existing ones For example: linearLayout...
asked by 05.02.2018 / 19:22
0
answers

Write resource within war file on AWS s3

Hello, how do I record a resource that is inside a war structure, generated by the deploy of the java application, in the AW3 S3. The method below works when the application is on the local server, but when I deploy through ElasticBEanastalk,...
asked by 05.02.2018 / 19:43
0
answers

Getkeycodeforchar wrong printing JAVA

getExtendedKeyCodeForChar is wrongly typed: Using this test class: package test; import iRobot.iRobot_Functions; public class Test { public static void main(String[] args) { String admUsr = "HOMP\adm03!@"; iRobot_Func...
asked by 04.02.2018 / 14:53
0
answers

How to search for and retrieve java bean value with maximum performance

See if you can help me. I have a service REST in PHP and it returns a JSON big enough! I'm using a library on Android " Volley " to cache this Json so far it works perfectly! Now I need to bring 4 updated fields in...
asked by 07.02.2018 / 14:15
0
answers

How do I send data from my Android CRUD to a SOAP webservice?

I need to send the results of the fill fields to a webservice. This is the material record. From here, I do not know if there has to be a "progress bar" to sync in the background or if you have to have a textview indicating the webservice res...
asked by 04.02.2018 / 14:37
2
answers

How to focus position using RecyclerView?

Hello, I have a problem saving the last view position of the user, eg: The user sweeps the list and when clicking on a position the app opens a new Activity and when returning to list it returns to the top, in case it would have to return to...
asked by 07.02.2018 / 15:04