All Questions

1
answer

How to use trigger in mysql so that when you delete a record change the value of a column of the other records?

Well, what I'm trying to do is a query so that when a record is deleted from the "class" table, the value of the "counter" column of the other records is subtracted 1 as long as the id of the records is greater than the id of the record that I d...
asked on 04.04.2018 / 17:54
3
answers

Delete ALL nodes children of a div

I am developing an application and I have encountered the following problem: By pressing the "Analyze" button, I dynamically create JavaScript with different div containing their own table with data. The problem arises that pressing...
asked on 10.04.2018 / 20:37
0
answers

ts-checker-webpack-plugin can not find a custom tslint rule written in TypeScript

I have a TypeScript project with Webpack with the following in package.json "ts-checker-webpack-plugin": "^0.3.0", "tslint": "^5.9.1", "typescript": "^2.8.3", I also have a custom tslint rule made in TypeScript that is compiled by...
asked on 29.04.2018 / 22:36
3
answers

create a pause before opening modal window to load scripts

These scripts add specific format to a table, when the page is opened for the first time everything is shown correctly, but to visualize the modal for the second time the files are loaded very fast and it is not applied on the table. function...
asked on 05.04.2018 / 18:24
0
answers

UPDATE with INNER JOIN in Oracle 11G (Performance)

I am currently starting to work with Databases in Oracle and it is common to have to perform UPDATE from one table to another. Since the databases I have access to do not have many records, if I run an Update with inner join I can not evaluate t...
asked on 12.04.2018 / 21:25
1
answer

Error creating table using Spring Boot and postgres

Greetings to all! I am trying to create an application using Spring and Postgres. Currently I have 3 entities which are: User , Role and UserRole User import lombok.AllArgsConstructor; import lombok.Builder; import...
asked on 19.04.2018 / 19:53
1
answer

Get mp3 duration in php?

I want to get the duration of an mp3 and I'm using link but it does not work for me . I do not know what I'm doing wrong. Do I have to import something? <?php $mp3file = new MP3File("audio.mp3"); $duracion = $mp3file->getDuration...
asked on 24.12.2016 / 07:46
1
answer

Array overflow

I have this overflow problem in an array that I have within several objects.    java.lang.ArrayIndexOutOfBoundsException: 7       at Exercise.Visiting.run (Visitor.java:73) The code public class Visitor extends Thread { private String...
asked on 18.12.2016 / 03:30
1
answer

Insert data from a table into another SQL

I have a MySQL database for a car dealership. There are 3 types of users: A, C and P. What I am trying to do is that when a new data is inserted in the table users with type "P", it is also inserted in the suppliers table. That is, when I add...
asked on 26.04.2018 / 13:41
1
answer

OnItemClick () for multiple views in a ListView

I have a% custom% co within a snippet, which takes the data from ListView . In each row of CursorAdapter there are several ListView , one TextView (a check box) and a button. What I want is to attend to the clicks of...
asked on 03.12.2016 / 18:03