Yes, the quote says the same thing and it is much more detailed...after all it is a book not just a post on a forum :-)
The idea isn't something new, it has been formulated by most of the guys...
Type: Posts; User: szabtam; Keyword(s):
Yes, the quote says the same thing and it is much more detailed...after all it is a book not just a post on a forum :-)
The idea isn't something new, it has been formulated by most of the guys...
I don't think the counter-argument is valid.
If you can't construct an object in a certain way then you can't, you don't need those tests ...
Yes, this one is trickier.
Do you have an...
Sorry, but I'm not sure I understand this.
If you have some private members that are always correctly initialized by the static factory and can't be changed because you don't provide setters for...
I've just checked the code, they seem to be bugs.
I raised two bugs in JIRA.
Tamas
Hi,
Couldn't find a section for the Mock objects so I will post the problem here.
Sorry for any inconveniences.
I think I found two problems with the MockHttpServletRequest implementation, but...
With Oracle you can get the type of the exception just based on the error code.
If you need the constraint name you have to parse the message, but even then I think that the message has a standard...
Yes, you are probably right.
However if the error message's format is specified then that is the api.
Spring does a good job at converting the way to generic and checked SQLExceptions to the...
Yes, that's why I said (in a sneaky way :-) ) in the first post that a constraint name will do. And I said that ideally I would like the column name as well.
And I'm also not sure that the...
I'm doing the backend too and it feels tempting to just log it I admit :-), but I would like to handle it by logging it _and_ throwing an exception that has all the information in it like I just...
Well, I have a stateful client so the objects referenced can be easily removed by other clients.
There are usually two kind of data that is referenced. One that is static and it doesn't change to...
Hi,
I'm trying to use Spring + Hibernate for a small application.
I was really excited when I read that I get automatic exception
translation by using HibernateTemplate.
My plan was to catch...