Why put a DAO layer over a persistence layer (like JDO or Hibernate)

You make some points. But I nevertheless use a Dao layer, here’s why: Database accesses are calls to a remote system. In all such cases (also web-service, ajax etc…), the granularity of interaction need to be big enough. Many tiny calls would kill performance. This performance necessity requires often a different view of the system, … Read more

Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy

Answers are directly available on documentation I realize it can help make my DAOs work with a plain JDO PersistenceManagerFactory. Yes. TransactionAwarePersistenceManagerFactoryProxy proxy allows DAOs to work with a plain JDO PersistenceManagerFactory reference, while still participating in Spring’s (or a J2EE server’s) resource and transaction management. You can surely use it in your app. But … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)