Posts by Cleiton Ribeiro • 757 points
40 posts
-
0
votes1
answer30
viewsQ: Size of elements on a responsive page
I am in a very complicated situation, I have researched in several places and I do not know if I am researching right, however, my doubt is the following: On many sites we have the following…
-
1
votes1
answer584
viewsQ: After requesting AJAX input no arrow value to Managedbean?
I’m building an address registration form and implemented the State and City combos respectively. They work as usual, with the city combo being filled in according to the value selected by the state…
-
3
votes2
answers928
viewsQ: Close entityManager after operations? How to manage?
I have been doing some courses and all the material I have read so far exemplifies the use of JPA/Hibernate in small examples, however, when we are developing something more concrete as a project,…
-
0
votes2
answers150
viewsQ: After @Joincolumn JPA does not find Entity attribute
I have two entities that are directly related to @Entity State and @Entity City And my intention was to rename the foreign key present in the customer identity, for example, from 'city.stade_state'…
-
1
votes1
answer197
viewsQ: Is it possible to modularize JSF registration formularies?
The question is this... although the problem does not involve JPA/ORM I find it interesting to contextualize. My little project has a @Entity Addressee and as the name suggests it is an entity…
-
1
votes2
answers939
viewsQ: Use foreign key as primary key - Hibernate
I am implementing Hibernate in my project and arrived at a stage where I am having problems to map my entities. I have an entity called Book and would like to create a Stock entity to store the…
-
0
votes1
answer32
viewsQ: To use Hibernatestatistics is required to create a Hibernate.cfg.xml?
I found nonsense, since usually the settings of Hibernate are allocated in the xml persistence. Can you recover the sessionfactory only using the settings of Hibernate allocated in persistence.xml ?…
-
0
votes2
answers174
viewsQ: How to load persistence.xml settings in Combopooleddatasource?
I configured C3P0 via persistence.xml, however, when I try to recover the configuration values via Combopooleddatasource the received values are different from what was configured in the…
-
4
votes1
answer105
viewsQ: Lock optimistic; why not fire exception?
I tried to simulate an optimistic Lock situation where one tries to update the same record twice, but the excesses are not triggered. I find it interesting is that even after changing the value of…
-
0
votes1
answer539
viewsQ: JPA-HIBERNATE : I understood the conjunctions and disjunctions ? Is that right?
I took some JPA booklets and read some tutorials on the internet, but I’m still a little lost with regards to disjunction and Conjunction in JPA. From what I understood the conjunction serves to…
-
1
votes0
answers31
viewsQ: How to receive feed changes instantly?
I’m trying to make a podcast player and I have a question about the feed system. I thought of doing a sync button, which would be able to return the updated list of podcasts when pressed. But I…
-
2
votes2
answers1743
viewsQ: Jdbctemplate - How to commit and rollback?
i am working with a Desktop application and use spring to realize my Inserts in the database. The object I’m using is Jdbctemplate, which has the datasource encapsulated within it. I would like to…
-
0
votes1
answer472
viewsQ: How to generate a jar through ANT?
I’m using Jdeveloper in conjunction with Ant, however I came across a very boring situation... I can’t generate one. functional jar through ant. I have already built a build.xml that contains the…
-
1
votes0
answers73
viewsQ: How should the body of a Soap envelope be built for a request?
I searched for some tutorials and up to this point I understood that... Header contains the evelope authentication data, however I don’t know about the body... if the body tags should have the same…
web-serviceasked Cleiton Ribeiro 757 -
1
votes1
answer171
viewsQ: How to avoid reducing the width of the columns?
I’m using the itextsharp library for PDF reporting and although I can generate documents with a nice layout and assign specific widths through an array of dimensions :…
-
1
votes1
answer123
viewsA: Is there any way to give the columns an automatic width?
Considering that the report is constructed from an array containing the table content, and an array containing its header, then just use this method to get the vector with the proper column sizes.…
-
1
votes1
answer123
viewsQ: Is there any way to give the columns an automatic width?
I’m assembling a report via Itextsharp and have read about how to assign specific widths to Pdfptable columns, however I would like this width to be automatically assigned according to the content…
-
1
votes0
answers253
viewsQ: Use a . tlb that has a dll . net dependency
I have developed a library that uses dll itextsharp, however this library I wrote in VB.Net will be used in a VB6 program and therefore it is necessary to generate a tlb of the same. The doubt…
-
0
votes1
answer278
viewsQ: Place where methods of interaction of CRUD with the bank in ASP.NET MVC should be
I am using the Entity framework and developing a system through ASP.NET MVC5 but I was in doubt about CRUD. The methods of interaction with the database (Create,Update,Select,Delete) should be…
-
2
votes1
answer457
viewsQ: Insert sub-total per page into a RDLC Report (.NET) table
I need to insert cumulative sub-total on each page of my RDLC report. NET, I am using a table to allocate all the values of the fields and their summations. The great difficulty is to insert the…
-
6
votes2
answers3589
viewsQ: Entity Framework 6 does not create database
I created a c# WEB MVC5 project in visual studio 2013, installed Entity framework 6 and created my classes("entities") as well as Dbcontext with the respective Dbsets. Inside the WEB.Config I set up…
-
1
votes0
answers1135
viewsQ: Consume Sefaz’s Webservice
I need to obtain information from a company through the CNPJ, however, when searching on the Internet I could notice that there are several web-services of Sefaz, each one aimed at a Brazilian…
web-serviceasked Cleiton Ribeiro 757 -
0
votes1
answer201
viewsQ: ASP.NET Form MVC 5 cannot access Model properties
I am starting at ASP.NET MVC, following tutorials and handouts on the internet I created a study project and I have some doubts. Well, first I’ll create a class structure to follow: > Acesso…
-
3
votes1
answer622
viewsQ: Master Page does not appear in the list when I try to associate it to a view
I am using Microsoft Visual Studio 2013 and created a C# ASP.NET MVC 4 project. I created a Master Page in the directory of Views, calling for Modelo.master. Then I created a Controller in the…
-
1
votes1
answer2363
viewsA: I cannot change column type -> Object Depends on the column in question
Troubleshooting : Script: IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[NomeDaConstraint]') AND type = 'D') BEGIN ALTER TABLE [dbo].[NomeDaTabela] DROP CONSTRAINT…
sql-serveranswered Cleiton Ribeiro 757 -
4
votes1
answer5739
viewsQ: Is it possible to generate a table script from an SQL command?
I would like to generate a table creation script, from an SQL command so I could build a program that was able to clone tables. I am using SQL Server 2008 R2 and need to implement a table cloning…
-
1
votes1
answer2363
viewsQ: I cannot change column type -> Object Depends on the column in question
I need to modify the column type of a client table, however this change will be made through a program written in VB.Net and therefore needs to be done via SQL command. The point is that when using…
sql-serverasked Cleiton Ribeiro 757 -
2
votes1
answer170
viewsQ: Know the number of characters from the size of the vb6 listview column
I have an api in vb6 responsible for generating reports from components of type listview. Turns out, the report is composed of a table with several columns that are mirrored in Listview. The measure…
-
3
votes3
answers4061
viewsQ: Insert an empty row <tr> at each size range of an html table (With Javascript)
i have an HTML page that works as report page. It has a table that is fed by the database, however when there are many rows in the query then the HTML table gets very large. It turns out that…
-
3
votes1
answer1265
viewsQ: Removing columns from a <table> via Javascript
My web page is powered by database data and has a report format, with data inserted into an html table. The point is that the database has tables with many columns, which sometimes make the page…
-
2
votes1
answer3266
viewsQ: Call javascript function
I have a VB application that builds HTML pages powered by database data. So I can issue reports by inserting the data into an HTML table. It happens, that sometimes the table becomes too big to be…
-
0
votes1
answer560
viewsQ: Write TXT formatted via VB6
I am trying to copy the structure of a GRID/ Table inside a text file, including copying the structure of the cells(Table). However, I cannot align the columns in the text file, although it has a…
-
6
votes1
answer5046
viewsQ: Client/Server (Windows) with C Sockets
I’m trying to write a program written in C, which is able to upload a file or text to a particular server. I searched a lot on google but most of the tutorials are aimed at linux environment, either…
-
0
votes1
answer1975
viewsQ: Create dynamic menu in VB6
What seemed to be simple and easy, became a nightmare... The idea of a dynamic menu is simple. Just create menus, items and sub-items according to the database. However, the tool available by the…
-
4
votes2
answers117
viewsQ: Doubt object orientation + java ORM
I am wanting to store the data of my program via ORM and am separating cute each object. My User object, for example, has its basic attributes and is also composed of other objects such as Address,…
-
3
votes4
answers11775
viewsQ: Dynamically set the Excel column size
I am working with the generation of spreadsheets in EXCEL, and for this I use the framework’s default api. Imports Microsoft.Office.Interop.Excel However, when I have a column with very long text,…
-
-1
votes1
answer844
viewsQ: Data does not appear in datagridview, even if it is a populated datasource, why?
I’m trying to capture some information from the database, filter it and then run validation tests on each of the returned lines. Then I try to take the lines that failed the test and insert them…
-
3
votes1
answer1867
viewsQ: How to associate datatable fields to Datagridview columns?
My problem is following, I make a query in the database that returns me a datatable with a wide variety of fields. The goal is to display this query in datagridview, however, displaying only some of…
-
2
votes1
answer2006
viewsQ: How to wait for a Thread to finish and how to receive values from it?
I am working on a situation that requires the use of multiprocessing. I need to read files and a shitload of lawsuits that could take some time. During this process, I want to display a kind of user…
-
0
votes2
answers4655
viewsQ: How to apply bold to a manually created PDF document text snippet?
I am developing a module responsible for generating and exporting PDF documents (Reports). As I did not find any solution third party free, so I’m using a simple VB library, which puts the document…