Tim Molter

Results 113 comments of Tim Molter

Note to self. Create a second `JobFactory` like `SimpleJobFactory`.

@lind You you have a sample JobFactory that takes new'd up objects that you could share?

I should probably update the lib to use ExecutorService instead of a custom Threadpool like it does now.

@tvarsis 's solution is how I was expecting it to work out of the box. Very disappointed and confused regarding the current implementation. As it is now, there is just...

@andola-dev Thanks for the tip. Funny thing is, is that I tried that already, but I couldn't find any errors anywhere. Where exactly will the errors appear?

Good question. Undoubtedly for sure! :) This is a really good analysis.

So if I understand this correctly, you would want to pass in `Integer` or `Long` (or even `String`?) to the `insert` method and not be forced to receive a `Long`?

Thanks. I tried this, but using `ScalarHandler`, I cannot guarantee which type is returned (int, long) and the cast can go wrong, ending up with a `java.lang.ClassCastException`. My InsertedIDResultSetHandler forces...

OK, so your idea was to have the client make the call what type it should be. That makes sense, but I'll need to look at it again to see...