Questions tagged as 'mysql'

0
answers

TransactionRequiredException exception when executing an update: javax.persistence.TransactionRequiredException: Executing an update / delete query

I am trying to execute an update query to a database with hibernate but it turns out that it shows me the following transaction exception and does not update me. I'm working with jboss, hibernate. I've tried to follow up with transaction, begin,...
asked by 02.11.2018 / 20:28
0
answers

Problems editing in Mysql and JSP

I have a problem with java and Mysql, I'm doing a web application with java in jsp, On a page I have the method that shows me a list of records in a table with a button to show the detail of each record, The detail I show it in a modal window cr...
asked by 03.11.2018 / 22:17
0
answers

Logs with php and mysql

Someone would help me to paginate the results of my query in this code please. ++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++ <div class="tab-pane fade" id="list"> <...
asked by 03.11.2018 / 22:39
0
answers

How to make a request on a PHP page with IFTTT?

I need to send an information to a public page in an online server, I am using IFTTT Platform in which when I publish a Tweet I have to send certain tweet information (User, Hashtag, content etc) to a PHP page through of the URL and save that in...
asked by 08.11.2018 / 23:12
0
answers

How to generate a JSON of a query in MySQL and see it through a URL?

Good morning classmates would like to know how to perform this process, get the data of a MySQL query in a JSON but can obtain it through a URL or in case of tests postman , the languages that I usually use are Laravel and I was try...
asked by 08.11.2018 / 20:59
1
answer

SAVE DATA FROM A COMBO BOX TO MYSQL

I will comment on the problem I have. I have a ComboBox in Java which is connected to a BD (Mysql). The ComboBox loads perfectly the data of the BD, in this case the name of some users. However, when I programmed the 'Save' button I do not know...
asked by 08.11.2018 / 22:36
1
answer

How should you define a regular expression to get the month and year numbers of a date in MySQL?

I would like to obtain the two numbers that correspond to the month of a date in dd-mm-yyyy format using MySQL. So far this: ^\w{2}-("+month+")-+("+year+")$ Using Python, exchange month and year for the corresponding variables, leaving f...
asked by 01.11.2018 / 18:02
0
answers

Problem when subtracting PHP Dates [duplicated]

I am doing a code to subtract dates, but when executing it I get a message that I can not correct, I leave the code and the message. I would like to help me see how I can correct it <?php require("../conexion.php"); $consult...
asked by 01.11.2018 / 17:52
1
answer

I need help to write a code line in Mysql

I'm new to mysql, I've been trying all day to do the following: How would the code show the number of students enrolled in each of the tutorials? Table Enrolled mysql> select * from Inscritos; +----+--------------+------------+ | id...
asked by 12.06.2018 / 02:56
1
answer

Avoid redirecting with JavaScript

I have this js and this query $("#sub").click( function(event) { $.post( $("#myForm").attr("action"), $("#myForm :input").serializeArray(), function(info){ $("#result").html(info); }); }); $('#myFor...
asked by 11.06.2018 / 15:50