Posts by Rafael Carlos • 133 points
13 posts
-
0
votes2
answers972
viewsQ: How to Use an UPDATE within IF ELSE SQL Server
I’m trying to verify if a column exists within a certain table. When checking if it exists, I want to update the column with the value 1, if not, create and update. However, every time I run the…
-
0
votes1
answer50
viewsQ: Error Returning Query Using Like
I am trying to make a jpql query with like using JPA. However, it is not working. User class repository public class UsuarioRepository extends RepositorioGenerico<Integer, Usuario> { public…
-
2
votes0
answers206
viewsQ: Gson Does Not Convert List to Json
Every time I try to pull all data from a database table and convert the result to json, using Gson, gives error. @GET @Path("todos") public String todos() { Gson g = new Gson(); UsuarioRepository…
-
0
votes1
answer158
viewsQ: How to Insert List with JPA
Good afternoon! I am making a web service that receives a Json from the application, disembowels and inserts into the database. I can disembowel normally, the problem occurs at the time of entering…
-
1
votes1
answer244
viewsQ: Generate Form by Clicking the Button
I’m making a form that by clicking the Add button, I get a new form. So far so good, but every time I get a new one, I have two selects, so when I choose some index of the first one, press such…
-
0
votes2
answers416
viewsA: Alertdialog button to confirm ERROR
You need to pass a theme by the builder. Example: AlertDialog.Builder dialog = new AlertDialog.Builder(context, R.style.MyAlertDialog);
-
0
votes3
answers1934
viewsA: How to use Scrollview + Listview
You forgot to close your Scrollview tag. He can only have one child. Place this line at the end of your code: <ScrollView/>
-
-1
votes1
answer779
viewsA: Navigation Drawer - back button
Instead of Fragmentmanager, use Fragmenttransaction. Example: import android.support.v4.app.FragmentTransaction; FragmentTransaction ft = getSupportFragmentManager().beginTransaction();…
-
1
votes0
answers47
viewsQ: Problem to convert date to Brazilian standard using JAXB
I’m having trouble converting xml to object using JAXB. The date comes in the format Sun Jan 30 16:08:23 BRT 18, and want to convert to Brazilian format 12-08-2009 16:08:23. JAXB Conversion Class:…
-
0
votes0
answers252
viewsQ: Problem with CDI Glassfish Server
I am developing a Webservice with the Restful API, Glassfish server and had the following error: Severe: Exception during lifecycle processing org.glassfish.deployment.common.DeploymentException:…
-
4
votes2
answers655
viewsQ: Problem Migrating Mysql Database to SQL Server
I am unable to migrate a database from Mysql to SQL Server using Mysql Workbench Database Migration. In SQL Server authentication, it uses sa login, I tried to reset the password of this login, but…
-
3
votes1
answer311
viewsQ: Fixed Menu in Csharp
I would like to know how to have a fixed menu in c#, as the user moves the application, just change the context, similar to web pages.
-
0
votes1
answer218
viewsQ: Events on buttons
How do I place event in buttons to call another screen on Android? I’m using the Intent, but I’m not getting it.
androidasked Rafael Carlos 133