All Questions

1
answer

What is CDI technology?

I'm developing a web application and a colleague from the university who is some periods beyond what I'm studying said that using the CDI would have a better performance, however, so far had not heard of that term. I would like a simple example...
asked on 24.11.2015 / 01:54
1
answer

Doubt about relationship between tables in mysql

I have the following tables: Table: Customers Table: Customer Interests Table: User In the customer interests table, I need to insert the user id and client id as foreign keys, the user id I'm going to get from a session. I n...
asked on 23.11.2015 / 14:39
1
answer

Is there a way to name the selected tables in a stored procedure to identify them in the DataSet?

I have a Store Procedure in SQL Server that projects multiple data. Example: CREATE PROCEDURE [dbo].[teste_sp] AS BEGIN select * from compra select * from cliente select * from fatura END However, when retrieving the DataSet in...
asked on 18.12.2015 / 18:02
4
answers

Generate random values from a distribution in Python

Hello I'm trying to generate random values from a distribution (Gamma, normal and etc) in python, but I'm having trouble importing the library. I am using the following library "import scipy.special as sps", but it is giving error ... using b...
asked on 11.11.2015 / 19:24
1
answer

Is there a parameter passing in a trigger?

I have two tables, one with the sessions and another with the activities. Within the activities table I have two fields, available and salable and within session I have vacancies. I would like to get the id of the session to be able to do the...
asked on 23.07.2015 / 20:33
1
answer

How to get the result of the Request in Retrofit 2.0

Well, I'm starting to study Android, I even made an application with Volley but a friend indicated Retrofit because it was much faster and "simple". But I still can not understand much. I have a WebService where I want to log in. I have to se...
asked on 09.12.2015 / 23:00
2
answers

get word in given coordinate (x, y)

I am formatting a document for printing and I need to add a page break + header and footer in certain coordinates, if the coordinate is in the middle of the paragraph I need to divide it. I can already do the inserts by manually entering the pos...
asked on 05.08.2015 / 21:34
1
answer

Table Update in PostGreSQL

I have the following question in Java: how can I pass to SQL that it should capture the "date and time" of the computer and update the User Table in PostGreSQL? Follow the code below: public class UsuarioAtualizar { private Connection...
asked on 29.11.2015 / 15:18
1
answer

Data modeling via JPA and Hibernate

I am doing a project with JPA for a quotation system and I have doubts on how to build the relationship between classes, and would like (if possible) some opinions. My project is a quotation system, where the company will create a quote and s...
asked on 08.08.2015 / 22:16
1
answer

jquery function not being recognized on page

My situation looks like this: I have an ASP page that assembles a table. And I have another one, also in ASP that has some functions, which do the following. It provides an html for popular to table. I put a modal jquery and it gives error. It s...
asked on 04.08.2015 / 23:05