Search:

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

Search: Search took 0.01 seconds.

  1. I saw that the debugging hibernate sql code has...

    I saw that the debugging hibernate sql code has something like:(for a select statement)

    ... cast(null as date) as from_date, ....

    And the 'date' is not valid for SQL Server, so I manually...
  2. spring data jpa M2 query findBy did not work for non-id fields

    I have a simple application which tries out the spring data jpa M2 release. I have this repository defined:
    public interface fooRepository extends JpaRepository<Foo, String> {
    // query by ID
    ...
  3. nullpointer in data.repository.support when injecting entityManager to JpaRepository

    Hi, (first I have to thank your response first, I'm afraid you won't stay after all the exception print outs) -:)

    I am attempting to inject an EntityManager into the JpaRepositoryFactoryBean, and...
  4. Now it's working! here is where I got stuck: I...

    Now it's working! here is where I got stuck:
    I loaded hibernate core 3.6., but left the entity manager to use 3.3.
    thanks a lot!
  5. Oliber, (thanks for the quick reply by the way!)...

    Oliber, (thanks for the quick reply by the way!) do you mean JPA M2?
    Yes I changed to use Spring Data Commons Core M5 with Spring Data JPA M2, but now get another AbstractMethod error, if you can...
  6. another AbstractMethodError

    I am getting an exception from Spring Data Jpa 1.0.0.M2 like this:

    Caused by: java.lang.AbstractMethodError:...
  7. another AbstractMethodError

    I am also getting this kind of error, but from Spring Data JPA 1.0.0.M2:
    Caused by: java.lang.AbstractMethodError:...
  8. Replies
    1
    Views
    727

    found out why

    I found out that I was calling the objects by using a java main() that did not use the spring context xml file. So after loading the objects from the context everything works now.
  9. Replies
    1
    Views
    727

    simple logging AOP not working

    I'm new to Spring and AOP. I have created an AOP test like this:
    I have a class that does the logging of all the methods.
    I can see the AOP markers and I can go to them from the Spring IDE. All...
Results 1 to 9 of 9