All Questions

2
answers

Execute a Javascript function for the site link?

Example I have the link: www.meusite.com.br/index.php?subject=conteudo do assunto;message=teste de mensagem I want to call the onclick function of this button automatically: <input value="Enviar" tabindex="3" onclick="return sub...
asked on 18.09.2015 / 03:06
1
answer

How do I configure Apache Log4J to write to the Bank via Hibernate?

I'm starting to use Apache's Log4J and would like to know how to configure it by the XML file to write the logs to the bank using hibernate?     
asked on 26.08.2015 / 20:05
1
answer

How to remove xml encapsulation in json returned by WebService

I created the following method: [WebService(Namespace = "http://myDomain.com.br/PublicacaoService")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptSer...
asked on 12.08.2014 / 18:49
1
answer

Pass varialvel to modal

I have a page with a table whose code field is link that opens a modal. I need that when opening the modal, show another table, only with the data according to the value of the field (code) clicked. How do I get the value of the chosen field wit...
asked on 10.08.2015 / 20:28
1
answer

Differences between Criteria and HQL

In the handouts I read and tutorials I followed Criteria is more used, however I identified myself more with HQL . But I have the following doubt, everything done with Criteria can do with HQL ? HQL example: //Sele...
asked on 04.08.2015 / 17:02
1
answer

Find all instances of a pattern in a text

I need to write a program that identifies a lowercase letter surrounded by three uppercase letters on each side. For example: "AEIoSDE" == "o" I wrote the code as follows: # coding: utf-8 letra = raw_input() for i in range(1, len(letr...
asked on 15.08.2014 / 18:15
2
answers

Oracle - How to force a field size on a function return

I hope to be clear on this issue, I will define it in a generic way but I think it's enough 1) I create a FUNCTION any that returns a VARCHAR, does not matter much what is returned 2) I create a VIEW that uses this FUNCTION Result: The...
asked on 11.09.2015 / 16:19
1
answer

Relate two mysql tables with data from the same column?

I'm creating a 2014 cup table. I created two tables. times (ID, nome, sigla, bandeira) jogos (ID, fase, local, time1_id, time2_id, data) I have a relatively simple problem, but I did not find a search solution ... I want to make a Selec...
asked on 10.06.2014 / 22:10
1
answer

In a service-oriented architecture, is the database decentralized?

I'm looking forward to getting a great project, and on its own scale I've suggested adopting a service-oriented architecture - because it is easier to solve several average problems than a very large one. I was asked about the database: that e...
asked on 22.08.2014 / 23:13
1
answer

Problem DropDown bootstrap menu

I have my dropdown menu But I always have to give 2 clicks to open the menu, I would like the first click to open it ... Would it be possible to have it without the element <a ? this is my code: <div class="navbar navbar-...
asked on 13.08.2014 / 22:04