Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    7,090

    Please add code tags to your post where...

    Please add code tags to your post where appropriate.

    This thing works for me, as stated in previous posts. If it is of any help to you, here are all the JARs in my classpath:


    antlr-2.7.6.jar...
  2. Replies
    12
    Views
    7,090

    This is exactly why I mentioned getting the...

    This is exactly why I mentioned getting the example and building it with maven. It will make sure you have a consistent set of JARs that work (and you will be able to test that by running the unit...
  3. Replies
    12
    Views
    7,090

    The most common cause for this problem is mixing...

    The most common cause for this problem is mixing different versions for the Spring JARs. Other than that, I know that some missing JARs are only detected at run time and can cause this exception.
    ...
  4. Replies
    11
    Views
    6,265

    Hello Grzegorz, Thanks for your well reasoned...

    Hello Grzegorz,

    Thanks for your well reasoned answer, it provides a lot of food for my thoughts.



    Fair enough.
  5. Replies
    11
    Views
    6,265

    MVC is too narrow a domain for REST

    This discussion covers exactly my own doubts. I have been using Spring MVC to implement several REST services, and deploy those on Jetty, which is very lightweight. Everything works like a charm and...
  6. Another possible cause

    I came to this thread with a similar symptom, which I solved on my own, and wanted to share the answer in case it can help someone else.

    I found two instances of (apparent) double initialization:...
  7. Replies
    4
    Views
    5,869

    Any updates on this? I am working with Spring...

    Any updates on this? I am working with Spring Data 1.0.0.M1, Postgres 9.0 and postgresql-8.4-702.jdbc4.jar. I thought I would be able to map a java.util.UUID field in my entity directly into a...
  8. Replies
    1
    Views
    1,228

    I have worked this out. Here is what I did: ...

    I have worked this out. Here is what I did:


    Declare a CarRepositoryCustom interface that has a bunch of methods, including those where I want to use native SQL.
    Declare a CarRepositoryImpl...
  9. Replies
    1
    Views
    1,228

    Calling native SQL query for updating

    I continue using Spring Data JPA more and more. Maybe this question is a little more advanced...

    I have a stored procedure in my Postgres database that is called to add a new record to table Car....
  10. Replies
    3
    Views
    741

    Thanks for all the hints. That last one by Oliver...

    Thanks for all the hints. That last one by Oliver was the one that solved it for me. I also printed the Spring Data reference and am reading it right now.

    I am loving Spring Data (JPA) / Hades. I...
  11. Replies
    3
    Views
    741

    @Autowired and repositories

    I have created a repository CarRepository that extends JpaRepository<Car, Long>. I also have a test where I declare a member variable of type CarRepository and tag it as @Autowired. The test runs...
  12. Replies
    12
    Views
    7,090

    I just wanted to report that I found the cause...

    I just wanted to report that I found the cause for this exception: I was missing the spring-data-commons-core JAR in my classpath.

    Thanks for all the help and best regards.
  13. Replies
    12
    Views
    7,090

    Sorry, I mistyped. Those two files come from the...

    Sorry, I mistyped. Those two files come from the 3.6.2 Hibernate zip. Are you suggesting I should use a different version of Hibernate? Since v4 is not released yet, I think I would have to stick...
  14. Replies
    12
    Views
    7,090

    I am using hibernate-jpa-2.0-api-1.0.0.Final.jar...

    I am using hibernate-jpa-2.0-api-1.0.0.Final.jar and hibernate3.jar. Both come from the final 3.2.6 Hibernate distribution.


    I have uploaded a full stack trace and a full library list here.
    ...
  15. Replies
    12
    Views
    7,090

    MalformedParameterizedTypeException

    Hello, first post here.

    I have followed the very well written blog entry Getting started with Spring Data JPA. When trying to run my unit tests, I am getting a Failed to load ApplicationContext...
Results 1 to 15 of 15