Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 64738 invoked from network); 18 Mar 2008 19:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Mar 2008 19:02:14 -0000 Received: (qmail 90371 invoked by uid 500); 18 Mar 2008 19:02:12 -0000 Mailing-List: contact jdo-commits-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-commits@db.apache.org Received: (qmail 90355 invoked by uid 99); 18 Mar 2008 19:02:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 12:02:12 -0700 X-ASF-Spam-Status: No, hits=-1998.0 required=10.0 tests=ALL_TRUSTED,URIBL_BLACK X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Mar 2008 19:01:28 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E27AE1A9842; Tue, 18 Mar 2008 12:01:39 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r638506 [2/3] - in /db/jdo/site: docs/ docs/guides/ docs/releases/ xdocs/ Date: Tue, 18 Mar 2008 19:01:24 -0000 To: jdo-commits@db.apache.org From: mcaisse@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080318190139.E27AE1A9842@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: db/jdo/site/docs/jdo_v_jpa_api.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdo_v_jpa_api.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/jdo_v_jpa_api.html (original) +++ db/jdo/site/docs/jdo_v_jpa_api.html Tue Mar 18 12:01:18 2008 @@ -5,7 +5,7 @@ The two persistence standards in Java have very similar API's on the face of it. Here we give a comparison of the method calls and their equivalent in the other API. -

OperationJDO2JPA1
Persist Objectpm.makePersistent()em.persist
Update Objectpm.makePersistent()em.merge()
Remove Objectpm.deletePersistent()em.remove()
Retrieve Objectpm.getObjectById()

- pm.getExtent()
em.find()
Refresh Objectpm.refresh()em.refresh()
Flush changespm.flush()em.flush()
Access transactionpm.currentTransaction()em.getTransaction()
New Querypm.newQuery()em.createQuery()
New Named Querypm.newNamedQuery()em.createNamedQuery()


Modified: db/jdo/site/docs/jdo_v_jpa_orm.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdo_v_jpa_orm.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/jdo_v_jpa_orm.html (original) +++ db/jdo/site/docs/jdo_v_jpa_orm.html Tue Mar 18 12:01:18 2008 @@ -8,6 +8,6 @@ In this guide we show the different types of ORM relation commonly used, and mark against it which specification supports it. This list is not yet complete but will be added to to provide a comprehensive list of relationship type and where you can find it. -

List<PC>
Field TypeRelationJDO2JPA1
PC1-1 Unidirectional
PC1-1 Bidirectional
PC1-1 serialised
PC1-1 CompoundIdentity Unidirectional
PC1-N CompoundIdentity Collection Bidirectional
PC1-N CompoundIdentity Map Bidirectional< /td>
Interface1-1 Unidirectional
Interface1-1 Bidirectional
Interface1-1 serialised?
Collection<PC>1-N ForeignKey Unidirectional Collection
Collection<PC>1-N ForeignKey Bidirectional Collection
Collection<PC>1-N JoinTable Unidirecti onal Collection
Collection<PC>1-N JoinTable Bidirectional Collection
Collection<Non-PC>1-N JoinTable Collection
Collection<PC>1-N JoinTable Collection using shared JoinTable
Collection<PC>1-N ForeignKey Collection using shared ForeignKey
Collection<PC>M-N JoinTable
Collection<PC>1-N CompoundIdentity Unidirectional
Collection<PC>1-N serialised Collection
Collection<PC>1-N JoinTable Collection of serialised elements
List<PC>1-N ForeignKey Unidirectional Indexed List
List<PC>1-N ForeignKey Bidirectional Indexed List
List<PC>1-N JoinTable U nidirectional Indexed List
List<PC>1-N JoinTable Bidirectional Indexed List
List<Non-PC>1-N JoinTable Indexed List
List<PC>1-N ForeignKey Unidirectional Ordered List
List<PC>1-N ForeignKey Bidirectional Ordered List
List<PC>1-N JoinTable Unidirectional Ordered List
1-N JoinTable Bidirectional Ordered List
Map<PC, PC>1-N JoinTable Map
Map<Non-PC, PC>1-N JoinTable Map
Map<PC, Non-PC>1-N JoinTable Map
Map<Non-PC, Non-PC>1-N JoinTable Map
Map<Non-PC, PC>1-N ForeignKey Map Unidirectional (key stored in value)
Map<Non-PC, PC>1-N ForeignKey Map Bidirectional (key stored in value)
Map<PC, Non-PC>1-N ForeignKey Map Unidirectional (value stored in key)
Map<PC, PC>1-N serialised Map
Map<PC, PC>1-N JoinTable Map of serialised keys/values
PC[ ]1-N ForeignKey Unidirectional Array
PC[ ]1-N JoinTable Unidirectional Array
PC[ ]1-N serialised Array
Non-PC[ ]1-N JoinTable Unidirectional Array

< /hr>

< /hr>
Modified: db/jdo/site/docs/jdocentral.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdocentral.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/jdocentral.html (original) +++ db/jdo/site/docs/jdocentral.html Tue Mar 18 12:01:18 2008 @@ -11,5 +11,5 @@ Visit the other pages on the Apache JDO site to find out what's going on with JDO. Join the mailing lists to get involved and provide feedback.


Modified: db/jdo/site/docs/jdohelper.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdohelper.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/jdohelper.html (original) +++ db/jdo/site/docs/jdohelper.html Tue Mar 18 12:01:18 2008 @@ -63,5 +63,5 @@
  • isDetached(Object pc) - returns whether the passed object is detached

  • Modified: db/jdo/site/docs/jdoquery_dtd.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdoquery_dtd.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/jdoquery_dtd.html (original) +++ db/jdo/site/docs/jdoquery_dtd.html Tue Mar 18 12:01:18 2008 @@ -32,5 +32,5 @@ Your MetaData should match either the DTD or the XSD specification.


    Modified: db/jdo/site/docs/mail-lists.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/mail-lists.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/mail-lists.html (original) +++ db/jdo/site/docs/mail-lists.html Tue Mar 18 12:01:18 2008 @@ -8,7 +8,7 @@ open to the public if you are interested in seeing how the sausage is made. For those dedicated to the project who want to follow its development even more closely there's the commits mailing list! -

    +

    User List : jdo-user@db.apache.org

    @@ -21,7 +21,7 @@

    Archive

    -
    +

    Dev List : jdo-dev@db.apache.org

    Subscribe

    @@ -31,7 +31,7 @@

    Archive

    -
    +

    Commits List : jdo-commits@db.apache.org

    Subscribe

    @@ -42,5 +42,5 @@ Archive


    Modified: db/jdo/site/docs/maven-reports.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/maven-reports.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/maven-reports.html (original) +++ db/jdo/site/docs/maven-reports.html Tue Mar 18 12:01:18 2008 @@ -7,5 +7,5 @@ Maven. Each report is briefly described below.

    Overview

    DocumentDescription

    Modified: db/jdo/site/docs/metadata.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/metadata.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/metadata.html (original) +++ db/jdo/site/docs/metadata.html Tue Mar 18 12:01:18 2008 @@ -39,5 +39,5 @@ JDO 2.1 provides support for annotations. Classes and fields/properties can be annotated defining the persistence and, optionally, any ORM information.


    Modified: db/jdo/site/docs/newshistory.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/newshistory.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/newshistory.html (original) +++ db/jdo/site/docs/newshistory.html Tue Mar 18 12:01:18 2008 @@ -12,5 +12,5 @@ Corporate Contributor License Agreement (CCLA) between The Apache Software Foundation and Sun Microsystems, Inc.


    Modified: db/jdo/site/docs/object_retrieval.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/object_retrieval.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/object_retrieval.html (original) +++ db/jdo/site/docs/object_retrieval.html Tue Mar 18 12:01:18 2008 @@ -49,5 +49,5 @@ If the objects found by the query are in the JDO cache then they are retrieved from there, otherwise the JDO implementation goes to the datastore. When the objects are retrieved their fields are populated according to the Fetch Group.


    Modified: db/jdo/site/docs/orm_dtd.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/orm_dtd.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/orm_dtd.html (original) +++ db/jdo/site/docs/orm_dtd.html Tue Mar 18 12:01:18 2008 @@ -32,5 +32,5 @@ Your MetaData should match either the DTD or the XSD specification.


    Modified: db/jdo/site/docs/pm.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/pm.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/pm.html (original) +++ db/jdo/site/docs/pm.html Tue Mar 18 12:01:18 2008 @@ -177,5 +177,5 @@ ... (code to work on "my_obj")

    Modified: db/jdo/site/docs/pmf.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/pmf.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/pmf.html (original) +++ db/jdo/site/docs/pmf.html Tue Mar 18 12:01:18 2008 @@ -45,70 +45,70 @@ series of properties to give the behaviour of the PersistenceManagerFactory. The first property specifies to use PMF of the implementation required to be used, and the following 4 properties define the datastore that it should connect to. -



    Standard JDO Properties

    +



    Standard JDO Properties

    javax.jdo.PersistenceManagerFactoryClass -
    DescriptionThe name of the PersistenceManager implementation


    +
    DescriptionThe name of the PersistenceManager implementation


    javax.jdo.option.ConnectionFactory -
    DescriptionInstance of a connection factory. For RBDMS, it must be an instance of - javax.sql.DataSource. This is for a transactional DataSource


    +
    DescriptionInstance of a connection factory. For RBDMS, it must be an instance of + javax.sql.DataSource. This is for a transactional DataSource


    javax.jdo.option.ConnectionFactory2 -
    DescriptionInstance of a connection factory. For RBDMS, it must be an instance of - javax.sql.DataSource. This is for a non-transactional DataSource


    +
    DescriptionInstance of a connection factory. For RBDMS, it must be an instance of + javax.sql.DataSource. This is for a non-transactional DataSource


    javax.jdo.option.ConnectionFactoryName -
    DescriptionThe JNDI name for a connection factory. For RBDMS, it must be a JNDI name +
    DescriptionThe JNDI name for a connection factory. For RBDMS, it must be a JNDI name that points to a javax.sql.DataSource object. - This is for a transactional DataSource


    + This is for a transactional DataSource


    javax.jdo.option.ConnectionFactory2Name -
    DescriptionThe JNDI name for a connection factory. For RBDMS, it must be a JNDI name +
    DescriptionThe JNDI name for a connection factory. For RBDMS, it must be a JNDI name that points to a javax.sql.DataSource object. - This is for a non-transactional DataSource


    + This is for a non-transactional DataSource


    javax.jdo.option.ConnectionDriverName -
    DescriptionThe name of the driver to use for the DB


    +
    DescriptionThe name of the driver to use for the DB


    javax.jdo.option.ConnectionDriverURL -
    DescriptionURL specifying the datastore to use for persistence


    +
    DescriptionURL specifying the datastore to use for persistence


    javax.jdo.option.ConnectionUserName -
    DescriptionUsername to use for connecting to the DB


    +
    DescriptionUsername to use for connecting to the DB


    javax.jdo.option.ConnectionPassword -
    DescriptionPassword to use for connecting to the DB


    +
    DescriptionPassword to use for connecting to the DB


    javax.jdo.option.IgnoreCache -
    DescriptionWhether to ignore the cache for queries
    Range of Valuestrue | false


    +
    DescriptionWhether to ignore the cache for queries
    Range of Valuestrue | false


    javax.jdo.option.Multithreaded -
    DescriptionWhether to run the PersistenceManager multithreaded
    Range of Valuestrue | false


    +
    DescriptionWhether to run the PersistenceManager multithreaded
    Range of Valuestrue | false


    javax.jdo.option.NontransactionalRead -
    DescriptionWhether to allow nontransactional reads
    Range of Valuestrue | false


    +
    DescriptionWhether to allow nontransactional reads
    Range of Valuestrue | false


    javax.jdo.option.NontransactionalWrite -
    DescriptionWhether to allow nontransactional writes
    Range of Valuestrue | false


    +
    DescriptionWhether to allow nontransactional writes
    Range of Valuestrue | false


    javax.jdo.option.Optimistic -
    DescriptionWhether to use Optimistic transactions
    Range of Valuestrue | false


    +
    DescriptionWhether to use Optimistic transactions
    Range of Valuestrue | false


    javax.jdo.option.RetainValues -
    DescriptionWhether to suppress the clearing of values from persistent instances on transaction - completion
    Range of Valuestrue | false


    +
    DescriptionWhether to suppress the clearing of values from persistent instances on transaction + completion
    Range of Valuestrue | false


    javax.jdo.option.RestoreValues -
    DescriptionWhether persistent object have transactional field values restored when - transaction rollback occurs.
    Range of Valuestrue | false


    +
    DescriptionWhether persistent object have transactional field values restored when + transaction rollback occurs.
    Range of Valuestrue | false


    javax.jdo.option.Mapping -
    DescriptionName for the ORM MetaData mapping files to use with this PMF. For example if this is set to +
    DescriptionName for the ORM MetaData mapping files to use with this PMF. For example if this is set to "mysql" then the implementation looks for MetaData mapping files called "{classname}-mysql.orm" or "package-mysql.orm". If this is not specified then the JDO implementation assumes that all is specified in the JDO MetaData file. - ORM datastores only


    + ORM datastores only


    javax.jdo.mapping.Catalog -
    DescriptionName of the catalog to use by default for all classes persisted using this PMF. +
    DescriptionName of the catalog to use by default for all classes persisted using this PMF. This can be overridden in the MetaData where required, and is optional. JPOX will prefix all table names with this catalog name if the RDBMS supports specification of catalog names in DDL. - ORM datastores only


    + ORM datastores only


    javax.jdo.mapping.Schema -
    DescriptionName of the schema to use by default for all classes persisted using this PMF. +
    DescriptionName of the schema to use by default for all classes persisted using this PMF. This can be overridden in the MetaData where required, and is optional. JPOX will prefix all table names with this schema name if the RDBMS supports specification of schema names in DDL. - ORM datastores only


    javax.jdo.option.DetachAllOnCommit
    DescriptionAllows the user to select that when a transaction is committed all objects - enlisted in that transaction will be automatically detached.
    Range of Valuestrue | false


    javax.jdo.option.CopyOnAttach
    DescriptionWhether, when attaching a detached object, we create an attached copy or simply - migrate the detached object to attached state. This is from JDO 2.1
    Range of Valuestrue | false


    javax.jdo.option.TransactionType
    DescriptionType of transaction to use. If running under J2SE the default is RESOURCE_LOCAL, and - if running under J2EE the default is JTA.
    Range of ValuesRESOURCE_LOCAL | JTA


    javax.jdo.option.PersistenceUnitName
    DescriptionName of the "persistence-unit" to use with this PMF. This borrows the - "persistence-unit" concept from JPA for use with JDO 2.1.


    javax.jdo.option.ServerTimeZoneID
    DescriptionId of the TimeZone under which the datastore server is running. + ORM datastores only


    javax.jdo.option.DetachAllOnCommit
    DescriptionAllows the user to select that when a transaction is committed all objects + enlisted in that transaction will be automatically detached.
    Range of Valuestrue | false


    javax.jdo.option.CopyOnAttach
    DescriptionWhether, when attaching a detached object, we create an attached copy or simply + migrate the detached object to attached state. This is from JDO 2.1
    Range of Valuestrue | false


    javax.jdo.option.TransactionType
    DescriptionType of transaction to use. If running under J2SE the default is RESOURCE_LOCAL, and + if running under J2EE the default is JTA.
    Range of ValuesRESOURCE_LOCAL | JTA


    javax.jdo.option.PersistenceUnitName
    DescriptionName of the "persistence-unit" to use with this PMF. This borrows the + "persistence-unit" concept from JPA for use with JDO 2.1.


    javax.jdo.option.ServerTimeZoneID
    DescriptionId of the TimeZone under which the datastore server is running. If this is not specified or is set to null it is assumed that the datastore server - is running in the same timezone as the JVM under which the implementation is running.


    javax.jdo.option.Name
    DescriptionName of the PMF. This is for use with "named PMF" functionality in JDO 2.1







    javax.jdo.option.Name
    DescriptionName of the PMF. This is for use with "named PMF" functionality in JDO 2.1





    Modified: db/jdo/site/docs/project-info.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/project-info.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/project-info.html (original) +++ db/jdo/site/docs/project-info.html Tue Mar 18 12:01:18 2008 @@ -22,5 +22,5 @@ project. Issues (bugs, features, change requests) can be created and queried using this link.

    Modified: db/jdo/site/docs/references.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/references.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/references.html (original) +++ db/jdo/site/docs/references.html Tue Mar 18 12:01:18 2008 @@ -23,5 +23,5 @@ Core Java Data Objects by Sameer Tyagi, Michael Vorburger, Keiron McCammon, Heiko Bobzin. Publisher: Prentice Hall


    Modified: db/jdo/site/docs/releases/release-2.0-beta.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/releases/release-2.0-beta.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/releases/release-2.0-beta.html (original) +++ db/jdo/site/docs/releases/release-2.0-beta.html Tue Mar 18 12:01:18 2008 @@ -73,5 +73,5 @@ hhttp://www.pc-tools.net/win32/freeware/console. Windows SlavaSoft fsum supports MD5 and SHA1.

    We highly recommend verifying the PGP signature, though.


    Modified: db/jdo/site/docs/releases/release-2.0-rc1.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/releases/release-2.0-rc1.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/releases/release-2.0-rc1.html (original) +++ db/jdo/site/docs/releases/release-2.0-rc1.html Tue Mar 18 12:01:18 2008 @@ -77,5 +77,5 @@ hhttp://www.pc-tools.net/win32/freeware/console. Windows SlavaSoft fsum supports MD5 and SHA1.

    We highly recommend verifying the PGP signature, though.


    Modified: db/jdo/site/docs/releases/release-2.0.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/releases/release-2.0.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/releases/release-2.0.html (original) +++ db/jdo/site/docs/releases/release-2.0.html Tue Mar 18 12:01:18 2008 @@ -124,5 +124,5 @@ hhttp://www.pc-tools.net/win32/freeware/console. Windows SlavaSoft fsum supports MD5 and SHA1.

    We highly recommend verifying the PGP signature, though.


    Modified: db/jdo/site/docs/roadmap.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/roadmap.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/roadmap.html (original) +++ db/jdo/site/docs/roadmap.html Tue Mar 18 12:01:18 2008 @@ -6,5 +6,5 @@

    Submit an Idea


    Modified: db/jdo/site/docs/specifications.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/specifications.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/specifications.html (original) +++ db/jdo/site/docs/specifications.html Tue Mar 18 12:01:18 2008 @@ -13,11 +13,12 @@ Send comments to jdo-experts-ext@sun.com.


    Modified: db/jdo/site/docs/state_transition.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/state_transition.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/state_transition.html (original) +++ db/jdo/site/docs/state_transition.html Tue Mar 18 12:01:18 2008 @@ -5,7 +5,7 @@ JDO manages the lifecycle of an object, from creation (Transient) through to persistence in the datastore (Hollow, Persistent Clean) and all of the various states between these. The transition between these states are achieved by using methods on the Persistence Manager such as makePersistent(), makeTransient(), deletePersistent(), and by commiting the changes made by these operations, or by rolling them back.

    The various lifecycle states supported by JDO are shown below. -

    NameDescription
    TransientAny object created by the developer that do are not persisted. These don't have a JDO identity.
    Persistent NewAny object that is newly persisted in the current transaction. A JDO identity has been assigned to these objects.
    Persistent DirtyAny persistent object that has been changed in the current transaction.
    HollowAny persistent object that represents data in the datastore, but whose values are not in the instance.
    Persistent CleanAny persistent object that represents data in the datastore, and whose values have not been changed in the current transaction.
    Persistent DeletedAny persistent object that represents data in the datastore, and that has been deleted in the cur rent transaction.
    Persistent New DeletedAny object that have been newly made persistent and then deleted in the same current transaction.
    Persistent Non transactionalAny persistent object that represents data in the datastore, whose values are loaded but not transactionally consistent.
    Persistent Non transactional DirtyAny persistent object that represents data in the datastore, whose values are loaded but not transactionally consistent, and that has been modified.
    Transient CleanAny transient object that represents a transactional instance whose values have not been changed in the current transaction.
    Transient DirtyAny transient object that represents a transactional instance whose values have been changed in the current transaction.
    Detached CleanAny detached object that represents a persistent instance whose values have not been changed since detaching.
    Detached DirtyAny detached object that represents a persistent instance whose values have been changed since detaching.

    Detecting Object State

    +

    NameDescription
    TransientAny object created by the developer that do are not persisted. These don't have a JDO identity.
    Persistent NewAny object that is newly persisted in the current transaction. A JDO identity has been assigned to these objects.
    Persistent DirtyAny persistent object that has been changed in the current transaction.
    HollowAny persistent object that represents data in the datastore, but whose values are not in the instance.
    Persistent CleanAny persistent object that represents data in the datastore, and whose values have not been changed in the current transaction.
    Persistent DeletedAny persistent object that represents data in the datastore, and that has been deleted in the cur rent transaction.
    Persistent New DeletedAny object that have been newly made persistent and then deleted in the same current transaction.
    Persistent Non transactionalAny persistent object that represents data in the datastore, whose values are loaded but not transactionally consistent.
    Persistent Non transactional DirtyAny persistent object that represents data in the datastore, whose values are loaded but not transactionally consistent, and that has been modified.
    Transient CleanAny transient object that represents a transactional instance whose values have not been changed in the current transaction.
    Transient DirtyAny transient object that represents a transactional instance whose values have been changed in the current transaction.
    Detached CleanAny detached object that represents a persistent instance whose values have not been changed since detaching.
    Detached DirtyAny detached object that represents a persistent instance whose values have been changed since detaching.

    Detecting Object State

    JDO provides a class JDOHelper that allows you to interrogate the object state via its attributes (isPersistent(), isDeleted(), etc). In JDO 2.1 for JDKs 1.5+ JDOHelper is extended to also provide a method that gives the full object state.

    @@ -81,5 +81,5 @@





    Possible state transitions

    The following diagram shows the state transitions possible with JDO.



    JDO State Transition


    Modified: db/jdo/site/docs/svn.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/svn.html?rev=638506&r1=638505&r2=638506&view=diff ============================================================================== --- db/jdo/site/docs/svn.html (original) +++ db/jdo/site/docs/svn.html Tue Mar 18 12:01:18 2008 @@ -54,5 +54,5 @@
  • Copy the servers file and the auth folder from the sygwin ~/.subversion directory to C:\Documents and Settings\<user>\Application Data\Subversion used by Win32 subversion.

  • Note that windows svn uses backslash as the path separator when displaying file names. You cannot just copy and paste this file name to another svn command when running from within a cygwin shell. You need to enclose the file name into double quotes.

    Alternatively, Windows users can set file permissions in Windows Explorer. (Right-click on the top-level folder & select Properties. Select the Security tab. Click Advanced. Remove all instances of Read & Execute from the Permission Entries. Click "Reset permissions on all child objects and enable propogations of inheritable permissions". Click Apply. OK. OK.) You will have to do this again when you do a clean checkout to a new directory.