I eventually started looking through the Spring source code. From what I can tell, the parser knows about distinct, but the MongoQueryCreator class never uses it.
Can anyone comment? Oliver Gierke...
Type: Posts; User: too_many_details; Keyword(s):
I eventually started looking through the Spring source code. From what I can tell, the parser knows about distinct, but the MongoQueryCreator class never uses it.
Can anyone comment? Oliver Gierke...
Hi,
according to the reference manual for Spring Data, apparently distinct is supported in the method name to auto generate the appropriate query.
However, I cannot get this to work and the...
So digging further into the Spring source code, I found that the map key being a fully qualified class name is the problem.
I tried overriding the default behaviour (to reject dots in the class...
Hi,
I am getting the org.springframework.data.mapping.model.MappingException: Cannot use a complex object as a key value exception.
My domain class contains a Map with generics information so...
Reading through the forum, it seems that with a valid token,I may be able to instantiate a FacebookTemplate and then interact with Facebook.
Very nice!
Hi,
is it possible to use Spring Social and connect to Facebook/Twitter without authenticating first?
In our architecture, a client will authenticate and send my app the token(s). We then want...
Hi Craig,
thanks for the reply.
I guess what I want to know is can I ignore real facebook and twitter and rely on the Spring Social api's for my automated testing and leave real integration...
Hi,
apologies if this has already been answered but my questions are sort of open-ended and rambling so I had little luck searching!!
My question relates to testing - how to write meaningful...
yes its (sort of) working now. I can receommend the Spring recipes book over the Pro Spring if you want to get something working (rather than trying to understand how it works under the hood).
R
Hi,
first time looking into JMS and having compilation problems:
import org.springframework.jms.core.JmsTemplate;
import org.springframework.jms.core.MessageCreator;
import...
I was trying to point out that perhaps the data model design you mentioned might not be wrong...
I do think a lot of Java developers think that a proper normalised data model is not important and...
Sorry but i don't agree. A table is allowed to have more than one foreign key relationship. Please point me to some online resource that says otherwise. If another entity comes along that needs an...
If this represents the fact that the USER, COMPANY, EMPLOYEE and CONTACT entities can have one or more addresses then I do not see this as bad modelling. It makes sense to put all the addresses in...
Not sure what you are trying to say here. Is that good or bad? Why is it bad?
I don't get it from these posts as they are mildly sympathetic to what i am saying. I get this from my...
I think the bar for needing a proper data model is much lower than you mention. I would say any application that could be termed 'Enterprise' falls into this. Its almost impossible to know which apps...
Hi folks,
If you go back a few years before Java was so dominant, when people talked about modelling domains, they meant database models. Models based on the rules of normalisation, which in turn...
Hmmmm,
I'm having some trouble with passing Java dates to my sql query too with namedParamterJdbcTemplate.
I dont really understand whats been done in the previous posts. Here's my snippet of...
I'm using Hibernate too if that helps answer this.
I've rerun my tests with setDefaultRollback() set to true and false.
What more info is needed?
R
Hi,
I'm using AbstractTransactionalSpringContextTests so that the tests will be rolled back automatically.
However, I have noticed that if there are not null columns in the db, the tests do not...
Hi,
just a quick update - i have upgraded to acegi-security-1.0.0-RC2.jar
and i still get the same stack trace once the server session has expired.
I think i need to do manual session...
Hi,
recently I have been working on a project using JSP+Spring MVC + Hibernate.
I found working with JSPs and JSTL to be quite tedious and labour intensive.
Do all view technologies have...
Hi,
so that different values can be provided easily. Check out PropertyPlaceholderConfigurer.
R
Hi,
I had exactly the same problem last week. I looked at the above OSS solutions but they were overkill and i wanted something generic and did NOT retrieve all rows from the db.
In the end I...
yes. The issue is that i do not know how to use the new tags to get the options i want when the data is held in a List of Maps (its what you get when you call queryForList from jdbcTemplate).
With...
thanks but i ended up trying the for each approach because i couldnt get the form:option working.
Can anyone help???
Thanks
R