Search:

Type: Posts; User: too_many_details; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    452

    I eventually started looking through the Spring...

    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...
  2. Replies
    1
    Views
    452

    MongoDB Distinct Queries

    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...
  3. Replies
    2
    Views
    407

    Found the problem, not sure of the solution

    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...
  4. Replies
    2
    Views
    407

    Mapping issues with MongoDB

    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...
  5. Replies
    2
    Views
    303

    Reading through the forum, it seems that with a...

    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!
  6. Replies
    2
    Views
    303

    Not authenticating

    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...
  7. Replies
    3
    Views
    298

    Hi Craig, thanks for the reply. I guess...

    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...
  8. Replies
    3
    Views
    298

    How to test a Social App

    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...
  9. yes its (sort of) working now. I can receommend...

    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
  10. Learning JMS and Spring but having problems...

    Hi,

    first time looking into JMS and having compilation problems:



    import org.springframework.jms.core.JmsTemplate;
    import org.springframework.jms.core.MessageCreator;
    import...
  11. I was trying to point out that perhaps the data...

    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...
  12. Sorry but i don't agree. A table is allowed to...

    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...
  13. If this represents the fact that the USER,...

    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...
  14. Not sure what you are trying to say here. Is that...

    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...
  15. I think the bar for needing a proper data model...

    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...
  16. What happened to all the data modellers?

    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...
  17. Replies
    11
    Views
    4,193

    Hmmmm, I'm having some trouble with passing...

    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...
  18. I'm using Hibernate too if that helps answer...

    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
  19. AbstractTransactionalSpringContextTests query

    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...
  20. Replies
    11
    Views
    2,965

    Hi, just a quick update - i have upgraded to...

    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...
  21. Does working with domain objects in views have to be so hard?

    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...
  22. Replies
    1
    Views
    1,056

    Hi, so that different values can be provided...

    Hi,

    so that different values can be provided easily. Check out PropertyPlaceholderConfigurer.

    R
  23. Replies
    16
    Views
    8,189

    Hi, I had exactly the same problem last week....

    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...
  24. Replies
    4
    Views
    1,196

    yes. The issue is that i do not know how to use...

    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...
  25. Replies
    4
    Views
    1,196

    thanks but i ended up trying the for each...

    thanks but i ended up trying the for each approach because i couldnt get the form:option working.

    Can anyone help???

    Thanks

    R
Results 1 to 25 of 237
Page 1 of 10 1 2 3 4