Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 24654 invoked from network); 23 Apr 2008 19:32:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Apr 2008 19:32:47 -0000 Received: (qmail 77724 invoked by uid 500); 23 Apr 2008 19:32:49 -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 77713 invoked by uid 99); 23 Apr 2008 19:32:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Apr 2008 12:32:48 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED,WHOIS_NETSOLPR 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; Wed, 23 Apr 2008 19:32:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 096501A983A; Wed, 23 Apr 2008 12:32:19 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r651023 [1/2] - in /db/jdo/site: docs/ docs/guides/ docs/releases/ xdocs/ Date: Wed, 23 Apr 2008 19:31:53 -0000 To: jdo-commits@db.apache.org From: andyj@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080423193219.096501A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: andyj Date: Wed Apr 23 12:31:46 2008 New Revision: 651023 URL: http://svn.apache.org/viewvc?rev=651023&view=rev Log: New implementation Modified: db/jdo/site/docs/class_types.html 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/extents.html db/jdo/site/docs/faq.html db/jdo/site/docs/field_types.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_api.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/object_retrieval.html db/jdo/site/docs/orm_dtd.html db/jdo/site/docs/pm.html db/jdo/site/docs/pmf.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/releases/release-2.1.html db/jdo/site/docs/roadmap.html db/jdo/site/docs/specifications.html db/jdo/site/docs/state_transition.html db/jdo/site/docs/svn.html db/jdo/site/docs/tck.html db/jdo/site/docs/team-list.html db/jdo/site/docs/transactions.html db/jdo/site/docs/why_jdo.html db/jdo/site/xdocs/impls.xml Modified: db/jdo/site/docs/class_types.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/class_types.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/class_types.html (original) +++ db/jdo/site/docs/class_types.html Wed Apr 23 12:31:46 2008 @@ -44,5 +44,5 @@ ... }


Modified: db/jdo/site/docs/cvs-usage.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/cvs-usage.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/cvs-usage.html (original) +++ db/jdo/site/docs/cvs-usage.html Wed Apr 23 12:31:46 2008 @@ -4,5 +4,5 @@ @import url("./style/maven-theme.css");

Repository

No SCM repository is defined.


Modified: db/jdo/site/docs/dependencies.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/dependencies.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/dependencies.html (original) +++ db/jdo/site/docs/dependencies.html Wed Apr 23 12:31:46 2008 @@ -54,5 +54,5 @@


Modified: db/jdo/site/docs/downloads.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/downloads.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/downloads.html (original) +++ db/jdo/site/docs/downloads.html Wed Apr 23 12:31:46 2008 @@ -58,5 +58,5 @@

See Source Code Version Control for information about downloading the latest source code for all of the JDO projects.


Modified: db/jdo/site/docs/enhancement.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/enhancement.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/enhancement.html (original) +++ db/jdo/site/docs/enhancement.html Wed Apr 23 12:31:46 2008 @@ -549,5 +549,5 @@ } }

Modified: db/jdo/site/docs/exceptions.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/exceptions.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/exceptions.html (original) +++ db/jdo/site/docs/exceptions.html Wed Apr 23 12:31:46 2008 @@ -24,5 +24,5 @@ where the verification of new, modified, or deleted instances fails the verification. The user will never see this exception except as a result of commit.JDODetachedFieldAccessExceptionThis exception is the result of a user accessing a field of a detached instance, where the field was not copied to the detached instance.

Modified: db/jdo/site/docs/extents.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/extents.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/extents.html (original) +++ db/jdo/site/docs/extents.html Wed Apr 23 12:31:46 2008 @@ -16,5 +16,5 @@ Query to query over just that set of objects. It can also be used where you just want to retrieve all persisted objects of a type (as an alternative to using a Query).


Modified: db/jdo/site/docs/faq.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/faq.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/faq.html (original) +++ db/jdo/site/docs/faq.html Wed Apr 23 12:31:46 2008 @@ -42,5 +42,5 @@ additional information on the project.


Modified: db/jdo/site/docs/field_types.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/field_types.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/field_types.html (original) +++ db/jdo/site/docs/field_types.html Wed Apr 23 12:31:46 2008 @@ -27,5 +27,5 @@ persistence-modifier="persistent" to the field for it to be persisted by JDO), and whether the java type can be used as part of the primary key.

Java TypeDFG?Persistent?PK?
boolean
byte
char
double
float
int
long
short
boolean[]
byte[]
char[]
double[]
float[]
int[]
long[]
short[]
java.lang.Boolean
java.lang.Byte
java.lang.Character
java.lang.Double
java.lang.Float
java.lang.Integer
java.lang.Long
java.lang.Short
java.lang.Boolean[]
java.lang.Byte[]
java.lang.Character[]
java.lang.Double[]
java.lang.Float[]
java.lang.Integer[]
java.lang.Long[]
java.lang.Short[]
java.lang.Number
java.lang.Object
java.lang.String
java.lang.String[]
java.math.BigDecimal
java.math.BigInteger
java.math.BigDecimal[]
java.math.BigInteger[]
java.sql.Date
java.sql.Time
java.sql.Timestam p
java.util.ArrayList
java.util.Collection
java.util.Currency
java.util.Date
java.util.Date[]
java.util.HashMap
java.util.HashSet
java.util.Hashtable
java.util.LinkedHashMap
java.util.LinkedHashSet
java.util.LinkedList
java.util.List
java.util.Locale
java.util.Locale[]
java.util.Map< img src="images/icon_success_sml.gif" border="0" alt="">
java.util.Set
java.util.TreeMap
java.util.TreeSet
java.util.Vector
java.io.Serializable
javax.jdo.spi.PersistenceCapable
javax.jdo.spi.PersistenceCapable[]
java.lang.Enum
java.lang.Enum[]

Modified: db/jdo/site/docs/get-involved.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/get-involved.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/get-involved.html (original) +++ db/jdo/site/docs/get-involved.html Wed Apr 23 12:31:46 2008 @@ -40,5 +40,5 @@

Modified: db/jdo/site/docs/glossary.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/glossary.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/glossary.html (original) +++ db/jdo/site/docs/glossary.html Wed Apr 23 12:31:46 2008 @@ -40,5 +40,5 @@ identity (in its own table for example) or whether it will be stored as part of another object. If it will have its own identity, it will require and Extent.SCOJDO defines 2 main groups of Java objects. The second group is those objects that don't have an identity. These are termed "Second Class Objects" or SCO for short.SQLJDO allows use of multiple query languages. One of these, for use with RDBMS datastores, is SQL.transientThis is an object state where the object is not persistent.

Modified: db/jdo/site/docs/guides.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/guides.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/guides.html (original) +++ db/jdo/site/docs/guides.html Wed Apr 23 12:31:46 2008 @@ -5,5 +5,5 @@ This section provides guides to the process of introducing JDO into your application.


Modified: db/jdo/site/docs/guides/maven-jdo.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/guides/maven-jdo.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/guides/maven-jdo.html (original) +++ db/jdo/site/docs/guides/maven-jdo.html Wed Apr 23 12:31:46 2008 @@ -160,5 +160,5 @@ IT industry for more than 15 years, primarily in the United Kingdom. He is an active participator in several OpenSource projects, primarily JPOX, and Apache JDO, and a member of the JSR243 (JDO2) Expert Group.


Modified: db/jdo/site/docs/guides/replication.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/guides/replication.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/guides/replication.html (original) +++ db/jdo/site/docs/guides/replication.html Wed Apr 23 12:31:46 2008 @@ -138,5 +138,5 @@ These objects are now replicated into datastore2. Clearly you can extend this basic idea and replicate large amounts of data.


Modified: db/jdo/site/docs/impls.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/impls.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/impls.html (original) +++ db/jdo/site/docs/impls.html Wed Apr 23 12:31:46 2008 @@ -16,6 +16,6 @@ implementation supports. You should check the vendors website for details of whether the implementation is fully compliant with the specification claimed - Apache JDO simply provides visibility of known implementations. -

NameLicenseJDO SpecDatastore(s)
JDOInstrumentsNonCommercial1.0JDOInstruments
JPOXNonCommercial1.0, 2.0, 2.1RDBMS, db4o, LDAP
KodoCommercial1.0, 2.0RDBMS, XML
ObjectDB for Java/JDOCommercial1.0, 2.0ObjectDB
ObjectivityCommercial1.0ObjectivityDB
OrientCommercial1.0Orient
hywy's PE:JCommercial1.0RDBMS
SignSoft intelliBOCommercial1.0intelliBO
SpeedoNonCommercial1.0RDBMS
TJDONonCommercial1.0RDBMS
< a href="http://www.versant.com/en_US/products/objectdatabase/" class="externalLink" title="External Link">VersantCommercial1.0, 2.0Versant Object Database
XcaliaCommercial1.0, 2.0RDBMS, XML, Versant ODBMS, Jalisto, Web services, mainframe transactions and screens (CICS, IMS...), packaged applications (ERP, CRM,SFA...), components (EJB...).


Modified: db/jdo/site/docs/index.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/index.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/index.html (original) +++ db/jdo/site/docs/index.html Wed Apr 23 12:31:46 2008 @@ -69,5 +69,5 @@

Archived articles are here.


Modified: db/jdo/site/docs/issue-tracking.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/issue-tracking.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/issue-tracking.html (original) +++ db/jdo/site/docs/issue-tracking.html Wed Apr 23 12:31:46 2008 @@ -4,5 +4,5 @@ @import url("./style/maven-theme.css");

Modified: db/jdo/site/docs/issuetracking.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/issuetracking.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/issuetracking.html (original) +++ db/jdo/site/docs/issuetracking.html Wed Apr 23 12:31:46 2008 @@ -22,5 +22,5 @@ Release Notes for released versions

Modified: db/jdo/site/docs/javadoc.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/javadoc.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/javadoc.html (original) +++ db/jdo/site/docs/javadoc.html Wed Apr 23 12:31:46 2008 @@ -14,5 +14,5 @@

JDO 1.1 javadoc

JDO 1.1 is the Apache JDO implementation of JSR-12.

Browse JDO 1.1 javadoc online

Download JDO 1.1 javadoc


Modified: db/jdo/site/docs/jdo_dtd.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdo_dtd.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/jdo_dtd.html (original) +++ db/jdo/site/docs/jdo_dtd.html Wed Apr 23 12:31:46 2008 @@ -32,5 +32,5 @@ Your MetaData should match either the DTD or the XSD specification.


Modified: db/jdo/site/docs/jdo_v_jpa.html URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdo_v_jpa.html?rev=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/jdo_v_jpa.html (original) +++ db/jdo/site/docs/jdo_v_jpa.html Wed Apr 23 12:31:46 2008 @@ -11,8 +11,8 @@ features of JPA1. Below we show some of the differences of these 2 standards to give you assistance in selecting what you need. Highlighted in bold are the notable differences where one specification provides something not available in the other. -

FeatureJDO2.1JPA1
JDK Requirement1.3+1.5+
UsageJ2EE, J2SEJ2EE, J2SE
Persistence specification mechanismMetaData, AnnotationsMetaData, Annotations
Datastore supportedAnyRDBMS only
Restrictions on persisted classesno-arg constructor (could be added by compiler/enhancer)No final classes. No final methods. Non-private no-arg constructor. Identity Field. - Version Field.
Ability to persist "transient" fieldsYesNo
Persist static/final fieldsNoNot specified
TransactionsPessimistic, OptimisticOptimistic
Object Identitydatastore-identity, application-identityapplication-identity
Object Identity generationSequence, Table, Identity, Auto, UUID String, UUID HexSequence, Table, Identity, Auto
Change objects identityThrow exception when not allowedUndefined, so expect anything !!
Supported typesJava primitive types, wrappers of primitive types, java.lang.String, java.lang.Number, java.math.BigInteger, java.math.BigDecimal, +

FeatureJDO2.1JPA1
JDK Requirement1.3+1.5+
UsageJ2EE, J2SEJ2EE, J2SE
Persistence specification mechanismMetaData, AnnotationsMetaData, Annotations
Datastore supportedAnyRDBMS only
Restrictions on persisted classesno-arg constructor (could be added by compiler/enhancer)No final classes. No final methods. Non-private no-arg constructor. Identity Field. + Version Field.
Ability to persist "transient" fieldsYesNo
Persist static/final fieldsNoNot specified
TransactionsPessimistic, OptimisticOptimistic
Object Identitydatastore-identity, application-identityapplication-identity
Object Identity generationSequence, Table, Identity, Auto, UUID String, UUID HexSequence, Table, Identity, Auto
Change objects identityThrow exception when not allowedUndefined, so expect anything !!
Supported typesJava primitive types, wrappers of primitive types, java.lang.String, java.lang.Number, java.math.BigInteger, java.math.BigDecimal, java.util.Currency, java.util.Locale, java.util.Date, java.sql.Time, java.sql.Date, java.sql.Timestamp, java.io.Serializable, boolean[], byte[], char[], double[], float[], int[], long[], short[], java.lang.Object, interface, @@ -25,10 +25,10 @@ java.util.Date, java.util.Calendar, java.sql.Date, java.sql.Time, java.sql.Timestamp, java.io.Serializable, byte[], Byte[], char[], Character[], Enums, java.util.Collection, java.util.Set, java.util.List, java.util.Map - Collection/List/Map of persistable types
Embedded FieldsEmbedded persistent objects, Embedded Collections, Embedded MapsEmbedded persistent objects
Access a non-detached fieldThrow exceptionUndefined, so expect anything !!
InheritanceEach class has its own strategyRoot class defines the strategy
Operation cascade defaultpersist, (delete)
Operation Cascade configurationdeletepersist, delete, refresh
Query LanguageJDOQL, SQLJPQL, SQL
Query candidatesCandidate without subclasses, Candidate and its subclassesCandidate and its subclasses
Query language case sensitivityJDOQL lowercase/ UPPERCASEJPQL case-insensitive
Query language aliasesNot in JDOQLYes in JPQL
Object retrieval controlLazy loading, eager fetching, fetch groupsLazy loading, eager fetching
Bulk update/deleteJDOQL Bulk DeleteJPQL Bulk Delete, Bulk Update
RDBMS Schema ControlTables, columns, PK columns, PK constraints, FK columns, FK constraints, index columns, - index constraints, unique key columns, unique key constraintsTables, columns, PK columns, FK columns, unique key columns
ORM RelationshipsFull range of Collection, Map, List, Array, 1-1, 1-N, M-N using - PC, Non-PC and interface objectsBasic 1-1, 1-N, M-N only
Default ORM column size256255
Default ORM identifiers (tables/columns)NoYes
Default ORM mappingsYes, JDBC types defined for Java typesNo
Caching interfaceL2 Caching APINothing

+ Collection/List/Map of persistable types

Embedded FieldsEmbedded persistent objects, Embedded Collections, Embedded MapsEmbedded persistent objects
Access a non-detached fieldThrow exceptionUndefined, so expect anything !!
InheritanceEach class has its own strategyRoot class defines the strategy
Operation cascade defaultpersist, (delete)
Operation Cascade configurationdeletepersist, delete, refresh
Query LanguageJDOQL, SQLJPQL, SQL
Query candidatesCandidate without subclasses, Candidate and its subclassesCandidate and its subclasses
Query language case sensitivityJDOQL lowercase/ UPPERCASEJPQL case-insensitive
Query language aliasesNot in JDOQLYes in JPQL
Object retrieval controlLazy loading, eager fetching, fetch groupsLazy loading, eager fetching
Bulk update/deleteJDOQL Bulk DeleteJPQL Bulk Delete, Bulk Update
RDBMS Schema ControlTables, columns, PK columns, PK constraints, FK columns, FK constraints, index columns, + index constraints, unique key columns, unique key constraintsTables, columns, PK columns, FK columns, unique key columns
ORM RelationshipsFull range of Collection, Map, List, Array, 1-1, 1-N, M-N using + PC, Non-PC and interface objectsBasic 1-1, 1-N, M-N only
Default ORM column size256255
Default ORM identifiers (tables/columns)NoYes
Default ORM mappingsYes, JDBC types defined for Java typesNo
Caching interfaceL2 Caching APINothing

As an overall conclusion "JPA1" is a subset of what is already available in "JDO2".


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=651023&r1=651022&r2=651023&view=diff ============================================================================== --- db/jdo/site/docs/jdo_v_jpa_api.html (original) +++ db/jdo/site/docs/jdo_v_jpa_api.html Wed Apr 23 12:31:46 2008 @@ -7,5 +7,5 @@ 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()