Warsztaty technologiczne także dla studentów

Zapraszamy studentów! temat: Oracle – budowa, działanie, cechy szczególne; 8.03 godz. 15:30; miejsce: biuro TouK;

warsztatyPiątki u nas to dzień poświęcony w części na naukę. Bardziej lub mniej regularnie odbywają się spotkania podczas, których developerzy TouK opowiadają o narzędziach, ciekawostkach dotyczących developmentu i nowych technologiach, których się nauczyli.
W tym tygodniu zapraszamy studentów!
Najbliższe spotkanie 8.03 o godzinie 15:30 poprowadzi Marek Pettka, miejsce: biuro TouK al. Bohaterów Września 9; temat: Oracle – budowa, działanie, cechy szczególne.
Ilość miejsc jest ograniczona dlatego zainteresowanych proszę o maila do środy 6.03 (do końca dnia) na adres: mzb@touk.pl. Oczekujcie odpowiedzi z informacją czy jest jeszcze miejsce.
PS. Jeżeli pomysł się sprawdzi będziemy na blogu informować o następnych spotkaniach.

Zapraszam!

You May Also Like

Grails with Spock unit test + IntelliJ IDEA = No thread-bound request found

During my work with Grails project using Spock test in IntelliJ IDEA I've encountered this error:

java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
at org.springframework.web.context.request.RequestContextHolder.currentRequestAttributes(RequestContextHolder.java:131)
at org.codehaus.groovy.grails.plugins.web.api.CommonWebApi.currentRequestAttributes(CommonWebApi.java:205)
at org.codehaus.groovy.grails.plugins.web.api.CommonWebApi.getParams(CommonWebApi.java:65)
... // and few more lines of stacktrace ;)

It occurred when I tried to debug one of test from IDEA level. What is interesting, this error does not happen when I'm running all test using grails test-app for instance.

So what was the issue? With little of reading and tip from Tomek Kalkosiński (http://refaktor.blogspot.com/) it turned out that our test was missing @TestFor annotation and adding it solved all problems.

This annotation, according to Grails docs (link), indicates Spock what class is being tested and implicitly creates field with given type in test class. It is somehow strange as problematic test had explicitly and "manually" created field with proper controller type. Maybe there is a problem with mocking servlet requests?

Simple HBase ORM

When dealing with data stored in HBase, you are quick to come to a conclusion, that it is extremaly inconvenient to reach to it via HBase native API. It is very verbose and you always need to convert between bytes and simple types - a pain. While I wa...When dealing with data stored in HBase, you are quick to come to a conclusion, that it is extremaly inconvenient to reach to it via HBase native API. It is very verbose and you always need to convert between bytes and simple types - a pain. While I wa...