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_de
CreateManager_de
LeftMenu




JSPWiki v2.2.33

[RSS]


Hide Menu

CreateDAO_de


Difference between version 11 and version 10:

At line 43 changed 1 line.
The first thing we need to do is create an object to persist. Let's create a simple "Person" object (in the {{src/dao/**/model}} directory) that has an id, a firstName and a lastName (as properties).
Als Erstes benötigen wir ein Objekt. welches wir persistent speichern wollen. Dafür erzeugen wir ein einfaches "Person" Objekt (im {{src/dao/**/model}} Verzeichnis), welches eine ID, einen Vornamen und einen Nachnamen (als Properties) besitzt.
At line 45 changed 1 line.
%%note __NOTE:__ Copying the Java code in these tutorials [doesn't work in Firefox|http://raibledesigns.com/page/rd?anchor=java2html_plugin_for_jspwiki_causes]. A workaround is to CTRL+Click (Command+Click on OS X) the code block and then copy it.%%
%%note __Bemerkung:__ Der Java Code in diesem Tutorial [kann man nicht mit mit dem Firefox|http://raibledesigns.com/page/rd?anchor=java2html_plugin_for_jspwiki_causes] Browser kopieren. Als Notlösung führt man CTRL+Click (Command+Click mit OS X) auf dem Code Block aus und kopiert ihn anschliessend.%%
At line 57 changed 1 line.
Generate your getters and setters using your favorite IDE:
Getters und Setters mit Hilfe der IDE erzeugen:
At line 59 changed 1 line.
Right-click -> Source -> Generate Getters and Setters
Rechts-Click -> Source -> Generate Getters and Setters

Back to CreateDAO_de, or to the Page History.