All Questions

1
answer

render related data

I'm using a query to search for records, I have two tables, one is "sale" and the other is "detallevet" (this refers to the details of the sale) by this query I proceed to do the search of the sales in its corresponding model: def self.busqu...
asked on 28.12.2016 / 15:25
2
answers

Select in java MySQL

I do a function to verify if a plate exists in a table: 0 if it does not exist and 1 if it was found. However, I do not understand why I still know that there is, when I only have one record in the table public int buscarplaca(String placa)...
asked on 20.12.2016 / 00:55
1
answer

How to implement the elevation property in api 19 and lower?

I'm doing a project in android studio and I want to use the property elevation for LinearLayout but as the app will also be directed to lower versions of the api 20     
asked on 24.12.2016 / 17:31
1
answer

Export JTable with header to Excel

I would like to know how I can do so that when exporting a table to Excel from Java , I can include a header such as my company name or something like that. I can export the table without problems, but I do not know how to put a header, or at...
asked on 30.12.2016 / 01:58
1
answer

Use cast for a filter on sql server

select (select NOMCLI from CARROS where cast(IDCLI as int) = idreg1) as NOMCLI, fecha from replog where movimiento = 'ALT' and TABLA = 'CARROS' and usuario = 'sa' I have an example here where idcli is integer: 327 and idreg1 i...
asked on 28.12.2016 / 20:07
1
answer

How to execute 2 or more stored procedures with mysqli in php?

I have 2 procedures stored in the same file, the connection is made correctly because if I delete any of the 2 procedures, the other one shows information but if I leave both, only the first one is executed. I have the file conectar.php...
asked on 30.12.2016 / 18:58
2
answers

Group by a field and see all the values of each record - SQL

I need to group by date a table with several dates with a specific value for each date. For example: 01/01/2016 10 01/01/2016 20 01/01/2016 30 02/01/2016 40 02/01/2016 50 ... The result should be: 01/01/2016 10 20 30 02/01/2016 40 50 T...
asked on 09.01.2017 / 19:15
1
answer

Doubt treeMap in Java

I would like to know if when I make a list treemap of objects Producto which has byproducts in inheritance type: ProductoA ProductoB Could you just show the ProductoA ? This is how I believe it: public Cataleg(){...
asked on 11.01.2017 / 15:44
1
answer

WebView - Error loading some Web's

When I put this link: link What is a web that allows you to update the online text in my application without having to edit the App. But I always get an error: "We are trying to connect to the server." if I use for example Google if i...
asked on 09.01.2017 / 20:16
1
answer

Error compiling jsx with Browserify ReactJS

Good morning, I am totally new in the world of ReactJS. I am trying to make a trial app and I find the following. These are my files: BtnLink.jsx: var BtnLink = new React.createClass({ render : function(){ return(...
asked on 04.01.2017 / 05:24