Posts by Jack • 123 points
21 posts
-
0
votes1
answer143
viewsQ: Left Join Slow on Firebird 2.0
I have two tables: Sale > 100 Records Primary key fields: Invoice Payments > 200,000 Records Primary key fields: Id, Invoice, Type, Document. I have the following SQL: Select V.FATURA, P.ID…
-
1
votes1
answer214
viewsQ: How to use Delphi pointers?
I have the following code snippet: if TMenuItem(fmPrincipal.FindComponent('teste')) <> nil then if TMenuItem(fmPrincipal.FindComponent('teste')).Visible then ... I’m looking for a menu item…
-
1
votes1
answer671
viewsQ: Catch Delphi file size even though it is in use
I need to get the file size from Delphi 7 but am getting I/O error because the file is being used. (The file is a . exe and is open) I’ve tried the following codes: function…
-
1
votes1
answer191
views -
0
votes1
answer341
viewsA: Catch table name with Trigger/Function in Postgres
Searching the documentation of postgres found how to pick up, just use the: TG_TABLE_NAME Documentación Postgres…
-
0
votes1
answer341
viewsQ: Catch table name with Trigger/Function in Postgres
I am implementing a simple replication form of two tables or more. I have the table replication which has the table name to be replicated and id. To feed the table replication I have a Rigger in…
-
0
votes1
answer93
viewsA: Pgbouncer does not connect via service in windows
The whole problem is due to version. I installed the version: 1.6.1 64bits and it worked.
-
0
votes1
answer93
viewsQ: Pgbouncer does not connect via service in windows
I installed pgbouncer as a service in windows 10 using: pgbouncer.exe --regservice <pgbouncer.ini> Placing the ini path and from the folder where the pgbouncer exe is. The service is installed…
-
0
votes2
answers715
viewsA: JSON format in Localdate field
I solved using this function in front-end: function convertLocalDateToServer (date) { if (date) { return $filter('date')(date, 'yyyy-MM-dd'); } else { return null; } } And then I only call her…
-
0
votes2
answers715
viewsQ: JSON format in Localdate field
Personal have the record sequinte being returned by a query using SpringData: page = grupoService.findByNomeStartingWithOrderByNomeAsc(2, pageable); If I run the following code:…
-
3
votes2
answers2382
viewsQ: Query with dynamic spring data column
I need to perform a select using the spring data @Query, but I need to pass the column name by parameter Example: @Query("SELECT g FROM Grupo g where g.? = ?") Page<Grupo> findTeste(String…
-
1
votes1
answer817
viewsA: Save Rest entity using @oneToMany
For the first problem, I just changed the name of the image json property to images to match the backend. In case to save the product id for each record in the picture table, I put: @JoinColumn(name…
-
2
votes1
answer817
viewsQ: Save Rest entity using @oneToMany
I have the following entities generated by jHipster using java with oneToMany relationship: Product @Entity @Table(name = "produto") public class Produto implements Serializable { private static…
-
0
votes2
answers680
viewsA: Hibernate jumping id sequence
Unfortunately I did not find anywhere, nor in the documentation of Hibernate a way to do this automatically. I had to create the query in hand before Insert to check if the name already existed in…
-
0
votes2
answers680
viewsQ: Hibernate jumping id sequence
I managed a project by JHipster who uses Java, Spring and Hibernate in backend, I created a class as follows: Liquibase: <changeSet id="20160504131602" author="jhipster"> <createTable…
-
0
votes1
answer239
viewsA: How to access inherited attribute in an entity with a query in Spring Data
Guys I discovered the problem, the question is that in my entity Person the attribute is mapped as name_person but in the entity is as name. After the tests worked, Springdata can access attributes…
-
0
votes1
answer239
viewsQ: How to access inherited attribute in an entity with a query in Spring Data
Guys, I have the entity Client that extends Pessoa: @Entity @Table(name = "cliente") @PrimaryKeyJoinColumn(name="id_pessoa") @Document(indexName="cliente") public class Cliente extends Pessoa…
-
1
votes1
answer172
viewsA: Error creating project with Java with Jhipster
I solved this problem by installing version 0.12.7 of Node.
-
1
votes1
answer172
viewsQ: Error creating project with Java with Jhipster
I’m creating a project by Jhipster in windows 10. When running the yo jhipster command and selecting the tools I will use I get the following error when creating the project:…
-
1
votes1
answer457
viewsQ: Error in applicationContext-security.xml
My first xml file applicationContext-security.xml: <?xml version="1.0" encoding="UTF-8"?> <b:beans xmlns="http://www.springframework.org/schema/security"…
-
0
votes2
answers722
views