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...
Type: Posts; User: truthseeker; Keyword(s):
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...
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
...
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...
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!
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...
I am getting an exception from Spring Data Jpa 1.0.0.M2 like this:
Caused by: java.lang.AbstractMethodError:...
I am also getting this kind of error, but from Spring Data JPA 1.0.0.M2:
Caused by: java.lang.AbstractMethodError:...
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.
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...