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...
Type: Posts; User: caseta; Keyword(s):
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...
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...
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...
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...
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...
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...
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>...
I have a simple Maven + Spring + JPA app.
In the business Maven module:
@Service
public class OrderManagerImpl implements OrderManager {
@Autowired
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"...
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...
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:...
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...