Tag Archives: Work
Orcl: IN!=(!(NOT IN))
Ich spar mir jetzt mal die Details da alles Wesentliche hier (NOT IN « Oracle Scratchpad) bereits ausgeführt ist.
Kurz:
id == NULL => NULL
führt dazu, dass bei Oracle-DBs
SELECT * FROM product WHERE id NOT IN (“0815”, “4711”, NULL)
durchaus auch Producte mit der id 0815 oder 4711 ausspuckt.
Spring Integration upgrade from 1.0 to 2.0.3
Today I had the pleasure to upgrade from Spring Integration 1.0 to 2.0.3 in a big project. As there are some major changes in 2.0 it took me several hours just to get everything compiling – not thinking about to get the millions of tests to run ;).
Here is what I found out besides the stuff that can be found in the official migration document or in this helpfull blogpost from JTEAM.
-
MessageChannel#getName removed
-
void AbstractReplyProducingMessageHandler #handleRequestMessage(Message, ReplyMessageHolder) replaced by Object AbstractReplyProducingMessageHandler #handleRequestMessage(Message)
-
org.springframework.integration.channel.MapBasedChannelResolver removed (each router can have mappings now)
-
MessageChannelTemplate renamed to MessagingTemplate
-
MessageChannelTemplate#send(Message, MessageChannel) replaced by MassagingTemplate#send(MessageChannel, Message)
Fun @office
Grenade cake @ office
Java and Double
double d = 2.2250738585072012e-308; System.out.println("Value: " + d);
Funny bad things could be done with that number .oO(…)
More information can be found at Exploring Binary.