André Shevantes

1

votes
2

answer
43

views

How to programmatically discover the JPA implementation and SQL dialect being used by Spring Boot?

I know it is possible to change the JPA implementation in use by Spring Boot, the default is to use Hibernate, but it's also possible to user others, like EclipseLink. It is possible to find, at application runtime, which JPA implementation is being used, and also discover which SQL dialect is curre...
André Shevantes
1

votes
1

answer
84

views

What is the difference between jbehave core and web distributions?

The page on http://jbehave.org/download.html allows me to download the core and web distributions of JBehave. Can anyone tell me what are the differences between them?
1

votes
3

answer
5k

views

How to submit a SAPUI5 SimpleForm using the “Enter” key?

I have a SimpleForm inside a XML view. I would like to capture the event of the user pressing the 'enter' button, when the cursor is inside any of the fields in the Simple Form so that I can submit the form (actually I will use this pressing of the 'enter' key to fire the press event of a sap.m.Butt...
André Shevantes
1

votes
2

answer
833

views

Why I cannot see the XML files for XML views?

When I use a XML view for a page in SAPUI5, and I open Developer Tools on Google Chrome and check, under the 'Sources' tab, the directory that has the '.controller' file, I cannot see the 'view.xml' file. Why does it happen? Does the browser 'excludes' the XML file after it is processed by the UI5 c...
André Shevantes
7

votes
2

answer
25.9k

views

How does the lifecycle of UI5 Controls work?

Can someone give a more detailed explanation about the lifecycle of the default events of a UI5 Control? I know there is this page on the documentation that gives an overview of a Control lifecycle, however, I think it is very brief and wanted something more detailed. Can someone list the order of t...
André Shevantes
1

votes
3

answer
354

views

What are examples of real-world scenarios where a message queuing system can accept the loss of some messages?

I was reading this blog post, in which the author proposes the following question, in the context of message queues: does it matter if a message is lost? If you application node, processing the request, dies, can you recover? You’ll be surprised how often it doesn’t actually matter, and you can...
André Shevantes
1

votes
1

answer
46

views

How to get a brief description for every executable in a folder?

My Unix system has lots of executables under the usr/bin folder. I want to get a brief description of each executable, similar to the brief description shown by the man command under the 'NAME' section. The final output would be a list like this (in alphabetical order): ls - list directory contents...
2

votes
1

answer
3.7k

views

What triggers a Control re-rendering after the initial page load?

I was working with Controls in SAPUI5 and saw events like onBeforeRendering and onAfterRendering on them; I supposed a Control was rendered only one time (in the initial loading of the page); However, are there other occasions that re-render a control without full a page reload? And in what occasion...
André Shevantes
2

votes
1

answer
962

views

OData Service Returns 404

I am following the 'Application Best Practices Example' in the OpenUI5 docs. In the Component Configuration step I use the same value for 'serviceUrl' that is configured in the guide: serviceUrl : '/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/' However this url is...
André Shevantes
2

votes
1

answer
153

views

Can someone explain jQuery.sap.setObject?

Why would I use jQuery.sap.setObject to set the value of a property in a object? Is not easier to simply write object.property = 'value'? Can someone explain what is the use-case for jQuery.sap.setObject? In which situations do you find it to be useful? Thanks in advance!