Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    552

    OpenID+OAuth (hybrid) support

    Hi there, in this site, https://developers.google.com/accounts/docs/OpenID , there's a section which supports making an openid+oauth request in order to do both, user authentication and authorization...
  2. Replies
    2
    Views
    1,327

    init-method comes before @Transactional

    Hey there, I have a class with a public @Transactional method which loads some values from the DB.

    I'm declaring the bean in the xml with the init-method argument set.

    The problem I'm facing is...
  3. org.springframework.data.document.mongodb.config...

    org.springframework.data.document.mongodb.config package in spring-data-mongodb.jar
  4. yes, I got it working by simply updating the...

    yes, I got it working by simply updating the deps.

    mvn -U package
  5. spring-data-mongodb 1.0 snapshot downloading spring-data-commons-core 1.1

    ...why?

    i'm getting the following exception since today, trying to create the converter:



    java.lang.NoClassDefFoundError:...
  6. hey, worked great. Thanks! Fede.

    hey, worked great.
    Thanks!

    Fede.
  7. I've had the same issue: try this: ...

    I've had the same issue:

    try this:



    <mongo:mongo host="localhost"/>

    <mongo:db-factory dbname="myDBName" />
  8. Replies
    15
    Views
    3,997

    which converter are you using? make sure you...

    which converter are you using?

    make sure you are using MappingMongoConverter


    Fede.
  9. Hey, thank you very much!, that was a quick fix...

    Hey, thank you very much!, that was a quick fix :)

    I'll try the latest snapshot

    thanks


    Fede.
  10. Spring Data - MongoDB - Doesn't write GrantedAuthority instances

    Hey there, I'm using SpringData MongoDB - latest snapshot, and Spring Security 3.0.5.

    I have the following class I want to persist:



    @Document
    public class MyUser implements UserDetails {
    ...
  11. Replies
    1
    Views
    976

    where is the declaration of bean...

    where is the declaration of bean preauthAuthProvider ?

    you are referencing it, but i don't see it declared. You have it somewhere else?

    Could we see the full stacktrace please?

    Thanks.
    ...
  12. you have this line in your code ...

    you have this line in your code


    <tx:annotation-driven transaction-manager="transactionManager" />

    but I can't see the actual transaction manager being created.

    Make sure you add the bean...
  13. Replies
    5
    Views
    1,465

    welcome to the club :)

    welcome to the club :)
  14. Replies
    5
    Views
    1,465

    View Post

    <mongo:repositories base-package="net.net.flexcellence.redux.server.dao.imp l" mongo-template-ref="mongoTemplate" />

    you are referring "net.net.flexcellence....", isn't that a typo?
  15. Replies
    2
    Views
    684

    I don't understand. Would you rephrase the...

    I don't understand. Would you rephrase the question please?
    In your example, all ObjectIds are the same. It's like having an object with attributes objects pointing to themselves.

    Do you mind...
  16. Replies
    15
    Views
    3,997

    Jbrisbin, this approach works - thanks. ...

    Jbrisbin, this approach works - thanks.

    However as I said. This would be only a workaround since I'm not comfortable with the idea of not being atomic.

    Thank you all.

    Fede.
  17. Replies
    15
    Views
    3,997

    Hey Mark, you were right. It seems to be a bug...

    Hey Mark, you were right. It seems to be a bug since updateFirst doesn't work.
    I'll keep an eye on the bug url.

    Thanks!

    Fede.
  18. Are you using MongoDB's @Id? or Hibernate's? I...

    Are you using MongoDB's @Id? or Hibernate's? I also believe that @ManyToOne is from Hibernate.

    I don't think you can mix both: Hibernate and MongoDB. Hibernate works only for relational databases....
  19. Replies
    15
    Views
    3,997

    I'll try loading it and then saving it. How ever...

    I'll try loading it and then saving it. How ever i'm concerned about the concurrency since it'd not be atomic. (the object could be modified while i pull it, change it and store it )
  20. Replies
    15
    Views
    3,997

    hey there, I'll try the mongoConverter tonight...

    hey there, I'll try the mongoConverter tonight when I get home. I'll keep you posted.

    Thanks for your replies!

    fede.
  21. anyway, shouldn't this post be in other subforum...

    anyway, shouldn't this post be in other subforum than Data?
  22. wait, I assume you are building a webapp, since...

    wait, I assume you are building a webapp, since I've read that you put your libs in WEB-INF. Then, why are you trying to run the app with java.exe ? You should put your webapp in a servlet/app...
  23. Replies
    11
    Views
    5,050

    another interested user!

    another interested user!
  24. Replies
    15
    Views
    3,997

    Can't serialize an embedded object

    Hi there, I'm having a problem saving an object in MongoDB. I'm using Spring Data MongoDB 1.0.0.M2



    @Document
    public class Session {

    @Id
    private String id;
    private String name;
Results 1 to 24 of 24