Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    348

    Thanks, but I already know how to configure 2...

    Thanks, but I already know how to configure 2 EntityManagers and use them inside DaoImpl classes.

    My question was "how to tell Spring Data which Entity Manager I want it to use ?" considering...
  2. Replies
    3
    Views
    348

    Spring-Data with 2 entity managers

    Hi,

    My application is working with different entities from 2 different DB's (for example, the users are in one DB, the invoices are in another DB).
    I have 2 entity managers in my...
  3. Thanks for the reply. I did actually search on...

    Thanks for the reply.

    I did actually search on the Internet, but apparently my google-fu was weak this time.
    And I did spend a few hours researching the issue and trying to fix it.
    I know how...
  4. Transaction not initialized when the @Service annotation is used

    If I annotate the implementation class of my service with @Service, I get:


    TransactionRequiredException: no transaction is in progress

    If I comment it out and instead add this line in my...
  5. Hi, I managed to find the problem. The issue...

    Hi,

    I managed to find the problem. The issue was in the Business project -> Properties -> Deployment Assembly. Somehow that got messed up and instead of packaging /src/main/java and...
  6. I have STS version 2.7.1 (the current version):...

    I have STS version 2.7.1 (the current version):
    http://www.springsource.com/downloads/sts

    I just downloaded the 2.8.0.M1 and I get the same.

    I suspect this is a Maven issue (the structure of...
  7. I am using SpringSource Tool Suite (Eclipse +...

    I am using SpringSource Tool Suite (Eclipse + Spring Tools) to develop and deploy.
    I got the following projects:

    parent



    <groupId>com.j</groupId>
    <artifactId>j</artifactId>...
  8. Bean not found if classes are in a JAR in WEB-INF/lib

    I have a simple Maven + Spring + JPA app.

    In the business Maven module:



    @Service
    public class OrderManagerImpl implements OrderManager {

    @Autowired
  9. Caching with Spring + Hibernate JPA + JBoss Cache

    I can't seem to make the cache work properly

    Here's my persistence.xml



    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence"...
  10. nobody ?

    nobody knows ?

    by the way Mdavison, thx for replying even if you had no business doing so. cause you apparently have no idea about how things work and didn't even bother to follow up. now that...
  11. I am NOT calling isFormSubmission() myself

    I am NOT calling isFormSubmission() myself. I am expecting Spring to call it when a request is made to that form.

    That is what should happen according to the workflow described here:...
  12. onSubmit() not called even if isFormSubmission() returns true

    Hi,

    I got a controller that extends SimpleFormController (servlet, not portlet). I have a search form and I want Spring to automatically fill the search bean for me each time. For particular...
Results 1 to 12 of 12