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_ko
Articles_pt
Articles_zh




JSPWiki v2.2.33

[RSS]


Hide Menu

XDocletEclipse


Difference between version 4 and version 1:

At line 72 removed 1 line.
At line 76 changed 2 lines.
<br>
<br>
Mirrored from [http://www.meagle.com:8080/hibernate_template.jsp]
At line 83 changed 2 lines.
that are valid for the XDoclet tag.<br>
<br>
that are valid for the XDoclet tag.<br />
<br />
At line 280 changed 2 lines.
<br>
<br>
<br />
<br />
At line 304 changed 1 line.
<br>
<br />
At line 359 changed 2 lines.
<br>
<br>
<br />
<br />
At line 384 changed 1 line.
<br>
<br />
At line 475 changed 2 lines.
<br>
<br>
<br />
<br />
At line 499 changed 1 line.
<br>
<br />
At line 589 changed 2 lines.
<br>
<br>
<br />
<br />
At line 613 changed 1 line.
<br>
<br />
At line 664 changed 2 lines.
<br>
<br>
<br />
<br />
At line 688 changed 1 line.
<br>
<br />
At line 739 changed 2 lines.
<br>
<br>
<br />
<br />
At line 763 changed 1 line.
<br>
<br />
At line 861 changed 2 lines.
<br>
<br>
<br />
<br />
At line 885 changed 1 line.
lazy=&quot;true&quot;<br>
lazy=&quot;true&quot;<br />
At line 887 changed 1 line.
column=&quot;${enclosing_type}_ID&quot;<br>
column=&quot;${enclosing_type}_ID&quot;<br />
At line 890 changed 1 line.
column=&quot;relationship_foreign_key&quot;<br>
column=&quot;relationship_foreign_key&quot;<br />
At line 895 changed 1 line.
<br>
<br />
At line 935 changed 2 lines.
<br>
<br>
<br />
<br />
At line 956 changed 1 line.
table=&quot;relationship_table&quot;<br>
table=&quot;relationship_table&quot;<br />
At line 958 changed 1 line.
inverse=&quot;true|false&quot;<br>
inverse=&quot;true|false&quot;<br />
At line 960 changed 1 line.
lazy=&quot;true&quot;<br>
lazy=&quot;true&quot;<br />
At line 962 changed 1 line.
column=&quot;${enclosing_type}_ID&quot;<br>
column=&quot;${enclosing_type}_ID&quot;<br />
At line 964 changed 3 lines.
class=&quot;relationship_class&quot;<br>
*<br>
* @return ${return_type}<br>
class=&quot;relationship_class&quot;<br />
*<br />
* @return ${return_type}<br />
At line 971 changed 1 line.
<br>
<br />
At line 1000 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1024 changed 1 line.
<br>
<br />
At line 1053 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1077 changed 1 line.
<br>
<br />
At line 1106 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1130 changed 1 line.
<br>
<br />
At line 1181 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1201 changed 1 line.
indicates that an instance<br>
indicates that an instance<br />
At line 1203 changed 1 line.
from transient instances that<br>
from transient instances that<br />
At line 1205 changed 1 line.
specified you will get an exception like this:<br>
specified you will get an exception like this:<br />
At line 1207 changed 2 lines.
same identifier<br>
*<br>
same identifier<br />
*<br />
At line 1211 changed 1 line.
column=&quot;${enclosing_type}_ID&quot;<br>
column=&quot;${enclosing_type}_ID&quot;<br />
At line 1213 changed 1 line.
length=&quot;&quot;<br>
length=&quot;&quot;<br />
At line 1218 changed 1 line.
<br>
<br />
At line 1272 changed 1 line.
identifier property<br>
identifier property<br />
At line 1274 changed 1 line.
instantiated (unsaved),<br>
instantiated (unsaved),<br />
At line 1276 changed 2 lines.
saved or loaded<br>
in a previous session.<br>
saved or loaded<br />
in a previous session.<br />
At line 1335 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1359 changed 1 line.
<br>
<br />
At line 1379 changed 1 line.
of the<br>
of the<br />
At line 1393 changed 1 line.
override the schema<br>
override the schema<br />
At line 1418 changed 1 line.
cascade to child entities<br>
cascade to child entities<br />
At line 1430 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1455 changed 1 line.
<br>
<br />
At line 1475 changed 1 line.
the<br>
the<br />
At line 1489 changed 1 line.
initialization<br>
initialization<br />
At line 1538 changed 1 line.
columns) that<br>
columns) that<br />
At line 1540 changed 1 line.
together with<br>
together with<br />
At line 1562 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1583 changed 4 lines.
class=&quot;package.${return_type}&quot;<br>
*<br>
* @return ${return_type}<br>
*<br>
class=&quot;package.${return_type}&quot;<br />
*<br />
* @return ${return_type}<br />
*<br />
At line 1591 changed 1 line.
<br>
<br />
At line 1685 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1709 changed 1 line.
<br>
<br />
At line 1765 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1789 changed 1 line.
<br>
<br />
At line 1820 changed 1 line.
override the schema<br>
override the schema<br />
At line 1833 changed 1 line.
cascade to child entities<br>
cascade to child entities<br />
At line 1845 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1868 changed 3 lines.
not-null=&quot;false&quot; unique=&quot;false&quot;<br>
*<br>
* @return ${return_type}<br>
not-null=&quot;false&quot; unique=&quot;false&quot;<br />
*<br />
* @return ${return_type}<br />
At line 1875 changed 1 line.
<br>
<br />
At line 1961 changed 2 lines.
<br>
<br>
<br />
<br />
At line 1984 changed 1 line.
<br>
<br />
At line 2024 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2044 changed 1 line.
table=&quot;relationship_table&quot;<br>
table=&quot;relationship_table&quot;<br />
At line 2046 changed 1 line.
inverse=&quot;true&quot;<br>
inverse=&quot;true&quot;<br />
At line 2048 changed 1 line.
lazy=&quot;true&quot;<br>
lazy=&quot;true&quot;<br />
At line 2053 changed 1 line.
<br>
<br />
At line 2132 changed 1 line.
initialization<br>
initialization<br />
At line 2145 changed 1 line.
override the schema<br>
override the schema<br />
At line 2156 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2180 changed 1 line.
<br>
<br />
At line 2233 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2253 changed 3 lines.
column=&quot;${enclosing_method}&quot;<br>
*<br>
* @return ${return_type}<br>
column=&quot;${enclosing_method}&quot;<br />
*<br />
* @return ${return_type}<br />
At line 2260 changed 1 line.
<br>
<br />
At line 2289 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2309 changed 2 lines.
column=&quot;${enclosing_method}&quot;<br>
*<br>
column=&quot;${enclosing_method}&quot;<br />
*<br />
At line 2315 changed 1 line.
<br>
<br />
At line 2344 changed 4 lines.
<br>
<br>
<a name="install"><font class="label">Installation</font><br>
<br>
<br />
<br />
<a name="install"><font class="label">Installation</font><br />
<br />
At line 2349 changed 2 lines.
these instructions.<br>
<br>
these instructions.<br />
<br />
At line 2354 changed 1 line.
Download the <a href="templates.xml">template file</a> and save it
Download the [template file|templates.xml] and save it
At line 2373 changed 4 lines.
<br>
<br>
<a name="usage"><font class="label">Usage</font><br>
<br>
<br />
<br />
<a name="usage"><font class="label">Usage</font><br />
<br />
At line 2384 changed 4 lines.
templates:<br>
<br>
Let&#39;s start with a simple class file called Project.<br>
<br>
templates:<br />
<br />
Let&#39;s start with a simple class file called Project.<br />
<br />
At line 2395 changed 9 lines.
package com.meagle<br>
<br>
/**<br>
* This class represents a project<br>
*<br>
* @author MEagle<br>
*/<br>
public class Project {<br>
<br>
package com.meagle<br />
<br />
/**<br />
* This class represents a project<br />
*<br />
* @author MEagle<br />
*/<br />
public class Project {<br />
<br />
At line 2416 changed 2 lines.
you will see in the editor:<br>
<br>
you will see in the editor:<br />
<br />
At line 2427 changed 2 lines.
or override it with your own table name.<br>
<br>
or override it with your own table name.<br />
<br />
At line 2434 changed 2 lines.
this point:<br>
<br>
this point:<br />
<br />
At line 2443 changed 26 lines.
package com.meagle<br>
<br>
/**<br>
* This class represents a project<br>
*<br>
* @hibernate.class table=&quot;Project&quot;<br>
*<br>
* @author MEagle<br>
*/<br>
public class Project {<br>
<br>
private String name;<br>
/**<br>
* @return<br>
*/<br>
public String getName() {<br>
return name;<br>
}<br>
<br>
/**<br>
* @param string<br>
*/<br>
public void setName(String string) {<br>
name = string;<br>
}<br>
}<br>
package com.meagle<br />
<br />
/**<br />
* This class represents a project<br />
*<br />
* @hibernate.class table=&quot;Project&quot;<br />
*<br />
* @author MEagle<br />
*/<br />
public class Project {<br />
<br />
private String name;<br />
/**<br />
* @return<br />
*/<br />
public String getName() {<br />
return name;<br />
}<br />
<br />
/**<br />
* @param string<br />
*/<br />
public void setName(String string) {<br />
name = string;<br />
}<br />
}<br />
At line 2473 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2483 changed 2 lines.
enter key. Here is what you should see now:<br>
<br>
enter key. Here is what you should see now:<br />
<br />
At line 2492 changed 27 lines.
package com.meagle<br>
<br>
/**<br>
* This class represents a project<br>
*<br>
* @hibernate.class table=&quot;Project&quot;<br>
*<br>
* @author MEagle<br>
*/<br>
public class Project {<br>
<br>
private String name;<br>
<br>
/**<br>
* @return<br>
*/<br>
public String getName() {<br>
return name;<br>
}<br>
<br>
/**<br>
* @param string<br>
*/<br>
public void setName(String string) {<br>
name = string;<br>
}<br>
}<br>
package com.meagle<br />
<br />
/**<br />
* This class represents a project<br />
*<br />
* @hibernate.class table=&quot;Project&quot;<br />
*<br />
* @author MEagle<br />
*/<br />
public class Project {<br />
<br />
private String name;<br />
<br />
/**<br />
* @return<br />
*/<br />
public String getName() {<br />
return name;<br />
}<br />
<br />
/**<br />
* @param string<br />
*/<br />
public void setName(String string) {<br />
name = string;<br />
}<br />
}<br />
At line 2528 changed 2 lines.
the return type. Here is the generated code:<br>
<br>
the return type. Here is the generated code:<br />
<br />
At line 2537 changed 14 lines.
package com.meagle<br>
<br>
/**<br>
* This class represents a project<br>
*<br>
* @hibernate.class table=&quot;Project&quot;<br>
*<br>
* @author MEagle<br>
*/<br>
public class Project {<br>
<br>
private String name;<br>
<br>
/**<br>
package com.meagle<br />
<br />
/**<br />
* This class represents a project<br />
*<br />
* @hibernate.class table=&quot;Project&quot;<br />
*<br />
* @author MEagle<br />
*/<br />
public class Project {<br />
<br />
private String name;<br />
<br />
/**<br />
At line 2553 changed 15 lines.
not-null=&quot;false&quot; unique=&quot;false&quot;<br>
*<br>
* @return String<br>
*/<br>
public String getName() {<br>
return name;<br>
}<br>
<br>
/**<br>
* @param string<br>
*/<br>
public void setName(String string) {<br>
name = string;<br>
}<br>
}<br>
not-null=&quot;false&quot; unique=&quot;false&quot;<br />
*<br />
* @return String<br />
*/<br />
public String getName() {<br />
return name;<br />
}<br />
<br />
/**<br />
* @param string<br />
*/<br />
public void setName(String string) {<br />
name = string;<br />
}<br />
}<br />
At line 2572 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2586 changed 2 lines.
like:<br>
<br>
like:<br />
<br />
At line 2595 changed 14 lines.
package com.meagle<br>
<br>
/**<br>
* This class represents a project<br>
*<br>
* @hibernate.class table=&quot;Project&quot;<br>
*<br>
* @author MEagle<br>
*/<br>
public class Project {<br>
<br>
private String name;<br>
<br>
/**<br>
package com.meagle<br />
<br />
/**<br />
* This class represents a project<br />
*<br />
* @hibernate.class table=&quot;Project&quot;<br />
*<br />
* @author MEagle<br />
*/<br />
public class Project {<br />
<br />
private String name;<br />
<br />
/**<br />
At line 2611 changed 15 lines.
not-null=&quot;false&quot; unique=&quot;false&quot;<br>
*<br>
* @return String<br>
*/<br>
public String getName() {<br>
return name;<br>
}<br>
<br>
/**<br>
* @param string<br>
*/<br>
public void setName(String string) {<br>
name = string;<br>
}<br>
}<br>
not-null=&quot;false&quot; unique=&quot;false&quot;<br />
*<br />
* @return String<br />
*/<br />
public String getName() {<br />
return name;<br />
}<br />
<br />
/**<br />
* @param string<br />
*/<br />
public void setName(String string) {<br />
name = string;<br />
}<br />
}<br />
At line 2630 changed 2 lines.
<br>
<br>
<br />
<br />
At line 2638 changed 2 lines.
embedded in your .java files.<br>
<br>
embedded in your .java files.<br />
<br />
At line 2644 removed 1 line.

Back to XDocletEclipse, or to the Page History.