Posts by Thiesen • 494 points
13 posts
-
-1
votes1
answer346
views -
0
votes1
answer346
views -
1
votes2
answers621
viewsA: Dynamic scheduling of tasks with spring batch + Quartz
Yes, the Spring Scheduler commands can be programmatically adjusted. More details here Just persist your view data and create a new one CronTrigger with the execution data.…
-
4
votes2
answers188
viewsA: SQL Query Optimization in Mysql and Index
Your problem is at the points where Voce uses the function CONCAT and SUBSTRING. When you use this type of function as a search filter or grouping function, the Database cannot use the indexes for…
-
2
votes1
answer361
viewsA: Spring-Data JPA and Audit updated by @Modifying
@Query and @Modifying has nothing to do with Audit. They are annotations that inform Spring Data when a method is just a query, or when that method makes modifications such as Insert or update. To…
-
2
votes4
answers607
viewsA: Object orientation - How to find the right abstractions?
Well, although I don’t think any answer is appropriate to your question, I will risk helping Oce on the path that you want to tread. The direct answer to your question "How to identify classes in an…
-
1
votes1
answer73
viewsA: Select(HTML) with multiple selection. Mark one and should mark all, not working
With jquery it would be something like this: $(document).ready(function(){ $('#ddl_autorizacaoprevia option').click(function(){ var that = $(this); if ($(that).val() == 0){ $('#ddl_autorizacaoprevia…
-
2
votes2
answers1267
viewsA: Dynamically update application
I see two different problems here in your case: Manage multiple versions of your APP Automatically update the application database at the moment of deploy. For the first case, I’m not sure how…
-
1
votes1
answer1207
viewsA: How to save an html page in java
An option for PDF generation would be to generate a report even using iReports or Jasper. If this is not an option, Voce can venture into libraries that convert HTML to PDF, some cases here I don’t…
-
1
votes1
answer59
viewsA: Notifier of any event that the user performs in the system
I imagine you need to create something using aspects of Spring. More information here With Aspectj, Voce can monitor some point in your application and perform processing before, during or after as…
-
2
votes1
answer1021
viewsA: INSERT and UPDATE in n:m relationship in Mysql
I don’t know if I understand the need, but I think it would be: insert into empresas_has_representantes (empresas_id, representantes_id) values (<id da empresa>, <id do representante>)…
-
13
votes4
answers4276
viewsA: Should I initialize strings (or objects in general) with null?
No difference, the compiler initializes class attributes with null by default. In the case of primitive types, initialize with the default value (false for Boolean and 0 for double, long, int...)…
-
3
votes4
answers1204
views