Search:

Type: Posts; User: L ZHANG; Keyword(s):

Search: Search took 0.06 seconds.

  1. spring-data-jpa-example does not work with OpenJPA

    Hi Spring Data Developers:

    Anyone out there has a workable Spring Data example with OpenJPA? The spring-data-jpa-example from SpringSource works with Hibernate but I cannot make it work with...
  2. "Try reducing the scope of the introduction or...

    "Try reducing the scope of the introduction or convert it to an AspectJ syntax."

    Can you explain this in detail? An example is preferred. Thanks.
  3. Replies
    9
    Views
    11,895

    This won't work. I remember someone said you...

    This won't work. I remember someone said you cannot use aop:config and ProxyFactoryBean together.
  4. Replies
    7
    Views
    1,218

    Looks like I have similar issue with...

    Looks like I have similar issue with ProxyFactoryBean and aop:config based transaction declaration or Annotation-based transaction declaration. I'm using Spring 2.0.4. Basically I cannot use...
  5. Replies
    2
    Views
    1,056

    I figured this out. It was because Oracle 10g R3...

    I figured this out. It was because Oracle 10g R3 loads the antlr.jar in the toplink\jlib folder and it conflicts with the one required by Hibernate 3.2.1 ga.
  6. Replies
    2
    Views
    1,056

    JPA/Hibernate annoatation and named query

    Does anyone out there know why I alway get the following (ClassNotFoundException) error when I deploy my app to Oracle 10g R3? However, if I run unit test or run with jetty, I got no errors. I...
  7. That is because I'm using Struts 2 and Spring. I...

    That is because I'm using Struts 2 and Spring. I just figured out I cannot use Spring's interceptor directly with Struts 2 action classes. XWORK2 requires the interceptor to implement its Interceptor...
  8. Replies
    0
    Views
    681

    Is there a plan to integrate struts 2?

    Just wondering when I can use some of the good features of Spring with Struts 2, for example, OpenEntityManagerInViewInterceptor. Currently it looks like I cannot directly use this interceptor in...
  9. The problem is I don't know how to use the...

    The problem is I don't know how to use the interceptor (created in Spring) in struts config file. I put the following in the spring config file:

    <bean id="openEntityManagerInViewInterceptor"...
  10. Thank you. OpenSessionInViewFilter will for sure...

    Thank you. OpenSessionInViewFilter will for sure work with Struts 2. I prefer the use of Interceptor because it gives me more control on what action needs to invoke the interceptor. I'm wondering if...
  11. OpenEntityManagerInViewInterceptor and Struts 2

    I'm currently using Spring, JPA, and Struts 2. Struts 2 offers the capacity to use spring-managed beans as its POJO action classes. Good, but how can I use Spring's OpenEntityManagerInViewInterceptor...
  12. Sorted it out. I changed the id generation...

    Sorted it out. I changed the id generation strategy from AUTO to TABLE (see below) and added TableGenerator annotation. Don't know why Thomas Risberg & Matt Raible provide the download but the code...
  13. qestion about JPA/Hibernate primary key auto generation

    I've checked out the spring-kickstart (presented by Thomas Risberg & Matt Raible at Spring Forward 2006) from Google Code (svn checkout http://spring-kickstart.googlecode.com/svn/trunk/...
Results 1 to 13 of 13