
| Key: |
APF-1202
|
| Type: |
Improvement
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
tibi
|
| Reporter: |
tibi
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
when running appfuse:gen the manager files are not fully autowired.
- add @Autowired to the constructor like this:
/**
* @param contentDao
* will be pushed to super
*/
@Autowired
public ContentManagerImpl(final ContentDao contentDao) {
super(contentDao);
this.contentDao = contentDao;
}
- change @Repository to @Repository("contentDao")
@Repository("contentDao")
public class ContentDaoHibernate extends GenericDaoHibernate<content, Long> implements ContentDao {
|
|
Description
|
when running appfuse:gen the manager files are not fully autowired.
- add @Autowired to the constructor like this:
/**
* @param contentDao
* will be pushed to super
*/
@Autowired
public ContentManagerImpl(final ContentDao contentDao) {
super(contentDao);
this.contentDao = contentDao;
}
- change @Repository to @Repository("contentDao")
@Repository("contentDao")
public class ContentDaoHibernate extends GenericDaoHibernate<content, Long> implements ContentDao {
|
Show » |
|