Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Articles
Articles_cn
Articles_de
Articles_pt
Articles_zh
HibernateRelationshi...




JSPWiki v2.2.33

[RSS]


Hide Menu

HibernateRelationships


Difference between version 68 and version 67:

At line 270 added 1 line.
At line 500 changed 1 line.
Before any of these tests will compile, you need to create the DAO interface and implementation.
!!DAO Interfaces
At line 503 added 3 lines.
Before any of these tests will compile, you need to create the DAO interfaces and then implementations.
!WeblogDAO Interface
At line 520 added 1 line.
public List getEntries(Long weblogId);
At line 524 added 1 line.
!EntryDAO Interface
At line 526 added 38 lines.
[{Java2HtmlPlugin
package org.appfuse.dao;
import java.util.List;
import org.appfuse.model.Entry;
public interface EntryDAO {
public Entry getEntry(Long entryId);
public List getEntries(Entry entry);
public void saveEntry(Entry entry);
public void removeEntry(Long entryId);
}
}]
!CategoryDAO Interface
[{Java2HtmlPlugin
package org.appfuse.dao;
import java.util.List;
import org.appfuse.model.Category;
public interface CategoryDAO {
public Category getCategory(Long categoryId);
public List getCategories(Category category);
public void saveCategory(Category category);
public void removeCategory(Long categoryId);
}
}]

Back to HibernateRelationships, or to the Page History.