Author: andyj Date: Wed Oct 3 03:21:19 2007 New Revision: 581557 URL: http://svn.apache.org/viewvc?rev=581557&view=rev Log: JDO-537 Add JDO "Class Types" doc Added: db/jdo/site/docs/class_types.html db/jdo/site/xdocs/class_types.xml Modified: db/jdo/site/docs/cvs-usage.html db/jdo/site/docs/dependencies.html db/jdo/site/docs/downloads.html db/jdo/site/docs/enhancement.html db/jdo/site/docs/exceptions.html db/jdo/site/docs/faq.html db/jdo/site/docs/get-involved.html db/jdo/site/docs/glossary.html db/jdo/site/docs/guides.html db/jdo/site/docs/guides/maven-jdo.html db/jdo/site/docs/guides/replication.html db/jdo/site/docs/impls.html db/jdo/site/docs/index.html db/jdo/site/docs/issue-tracking.html db/jdo/site/docs/issuetracking.html db/jdo/site/docs/javadoc.html db/jdo/site/docs/jdo_dtd.html db/jdo/site/docs/jdo_v_jpa.html db/jdo/site/docs/jdo_v_jpa_orm.html db/jdo/site/docs/jdocentral.html db/jdo/site/docs/jdohelper.html db/jdo/site/docs/jdoquery_dtd.html db/jdo/site/docs/mail-lists.html db/jdo/site/docs/maven-reports.html db/jdo/site/docs/metadata.html db/jdo/site/docs/newshistory.html db/jdo/site/docs/orm_dtd.html db/jdo/site/docs/project-info.html db/jdo/site/docs/references.html db/jdo/site/docs/releases/release-2.0-beta.html db/jdo/site/docs/releases/release-2.0-rc1.html db/jdo/site/docs/releases/release-2.0.html db/jdo/site/docs/roadmap.html db/jdo/site/docs/specifications.html db/jdo/site/docs/svn.html db/jdo/site/docs/tck.html db/jdo/site/docs/team-list.html db/jdo/site/docs/why_jdo.html db/jdo/site/xdocs/navigation.xml Added: db/jdo/site/docs/class_types.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/class_types.html?rev=581557&view=auto ============================================================================== --- db/jdo/site/docs/class_types.html (added) +++ db/jdo/site/docs/class_types.html Wed Oct 3 03:21:19 2007 @@ -0,0 +1,48 @@ +Java Data Objects (JDO) - JDO Class Types

JDO Class Types

+ JDO provides a means of transparent persistence of objects of user defined classes. With JDO there are actually + 3 types of classes. +

    +
  • Persistence Capable classes are classes whose instances can be persisted to a datastore. JDO provide the + mechanism for persisting these instances, and they are core to JDO. These classes need to be enhanced + according to a JDO Meta-Data specification before use within a JDO environment.
  • +
  • Persistence Aware classes are classes that manipulate Persistence Capable instances through direct attribute + manipulation. These classes are typically enhanced with very minimal JDO Meta-Data. The enhancement process performs very + little changes to these classes.
  • +
  • Normal classes are classes that aren't themselves persistable, and have no knowledge of persistence either. + These classes are totally unchanged in JDO, and require no JDO Meta-Data whatsoever.
  • +

PersistenceCapable

+ Classes are defined as PersistenceCapable either by XML MetaData, like this +

+
+<class name="MyClass">
+    ...
+</class>
+

+ or, in JDO2.1, using Annotations. Like this +

+
+@PersistenceCapable
+public class MyClass
+{
+    ...
+}
+

PersistenceAware

+ Classes are defined as PersistenceAware either by XML MetaData, like this +

+
+<class name="MyClass" persistence-modifier="persistence-aware"/>
+

+ or, in JDO2.1, using Annotations. Like this +

+
+@PersistenceAware
+public class MyClass
+{
+    ...
+}
+


\ No newline at end of file Modified: db/jdo/site/docs/cvs-usage.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/cvs-usage.html?rev=581557&r1=581556&r2=581557&view=diff ============================================================================== --- db/jdo/site/docs/cvs-usage.html (original) +++ db/jdo/site/docs/cvs-usage.html Wed Oct 3 03:21:19 2007 @@ -1,7 +1,7 @@ Java Data Objects (JDO) - CVS

Repository

+ @import url("./style/maven-theme.css");

Repository

No SCM repository is defined.