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_pt
CreateActions
CreateDAO
CreateDAO_sp
CreateDAOiBATIS
CreateDAOiBATIS_ko
CreateManager_es
JSFBeans
SpringControllers
...and 3 more




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateManager


Difference between version 36 and version 35:

At line 111 changed 3 lines.
personForm = (PersonForm) mgr.getPerson("1");
fail("Expected 'Exception' not thrown");
} catch (Exception e) {
personForm = (PersonForm) mgr.getPerson(personForm.getId());
fail("Expected 'DAOException' not thrown");
} catch (DAOException e) {
At line 249 changed 1 line.
Save all your edited files and try running "ant test-web -Dtestcase=PersonManager" one more time.
Save all your edited files and try running "ant test-service -Dtestcase=PersonManager" one more time.
At line 253 changed 1 line.
Total time: 13 seconds%%
Total time: 7 seconds%%
At line 255 removed 2 lines.
;:''You'll notice a nice long StackTrace for an ObjectNotFound error - caused by the last part of the "testAddAndRemovePerson" method in PersonManagerTest. You can remove it by removing the e.printStackTrace() in BaseDaoHibernate.retrieveObject(Session ses, Class clazz, Long id).''

Back to CreateManager, or to the Page History.