Re: JIRA JDO-13

2005-06-06 Thread Craig Russell
--Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/-----

Re: JIRA JDO-13

2005-06-06 Thread Craig Russell
schema2.sql is used. Can one of you fix the schema issue?Craig:I'm not sure which fields of class "org.apache.jdo.tck.pc.lifecycle.StateTransitionObj" are persistent. Can you also help on the application/datastore issue? Is it reasonable to define a second persistent field?Thanks,Michae

Re: JIRA JDO-13

2005-06-07 Thread Craig Russell
s,CraigNothing significant has changed in the period you mention (AFAIK) and I see no change in runtime speed here on our unit tests.-- AndyJava Persistent Objects JDO - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTE

Re: JIRA JDO-13

2005-06-07 Thread Craig Russell
rty to "None" it will start from scratch each time (and so not go off an load up other classes not used in that test). The log would tell you what is taking the timeNothing significant has changed in the period you mention (AFAIK) and I see no change in runtime speed here on our unit

JDO-61

2005-06-08 Thread Craig Russell
Hi Erik, Andy, After I fixed the extent iteration outside a transaction, it appears that JPOX fails test InstancesPersistedPriorToIterationReturned because it doesn't include a new instance in the iteration. Could you please look at JDO-61? Thanks, Craig Craig Russell Architect

JDO-62

2005-06-08 Thread Craig Russell
Hi Erik, Andy, This appears to be a bug in JPOX. Could you please take a look? Thanks, Craig Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!

Multithreaded query test fails

2005-06-08 Thread Craig Russell
java: 181) [java] at org.apache.jdo.tck.util.BatchTestRunner.start (BatchTestRunner.java:112) [java] at org.apache.jdo.tck.util.BatchTestRunner.main (BatchTestRunner.java:90) Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!

Re: JDO-61

2005-06-09 Thread Craig Russell
ing of the INSERT (of the additional object) and the SELECT (for the Extent). I get the INSERT before the SELECT when I run as above. Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!

Re: JDO-61

2005-06-09 Thread Craig Russell
ly issue is the ordering of the INSERT (of the  additional object) and the SELECT (for the Extent). I get the  INSERT before the SELECT when I run as above. Craig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Ga

Re: JDO-61

2005-06-10 Thread Craig Russell
DO impl doesn't know about the PartTimeEmployee class in some situations of running that test then you could let it know about it :-pm.getExtent(PartTimeEmployee.class);-- AndyJava Persistent Objects JDO - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/produ

Fwd: Auto generation of database keys

2005-06-13 Thread Craig Russell
Begin forwarded message:From: Craig Russell <[EMAIL PROTECTED]>Date: June 13, 2005 9:57:55 AM PDTTo: [EMAIL PROTECTED]Subject: Auto generation of database keys Hi,I'm running into a locking issue when using generated keys. My primary key column is defined as DATASTORE_IDENTITY BIGI

JDO TCK Conference Call Friday, Jun 10, 9 am PST

2005-06-13 Thread Craig Russell
Attendees: Michelle Caisse, Michael Bouschen, Michael Watzek, Erik Bengtson, Craig RussellOn Jun 9, 2005, at 1:32 PM, Michelle Caisse wrote:Agenda:1. Test status (Craig, Michelle) Several bugs were fixed last week, including many minor changes to add transactions around pm access and changes to met

Re: Auto generation of database keys

2005-06-14 Thread Craig Russell
instances.If you can write this in a few hours it will help. The Derby folks can't reproduce it :-(Thanks,CraigRegards,Michael Begin forwarded message: *From: *Craig Russell <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>*Date: *June 13, 2005 9:57:55 AM PDT*To: [EMAIL PROTECTE

Re: JDO TCK Conference Call Friday, Jun 17, 9 am PST

2005-06-17 Thread Craig Russell
Attendees: Michelle Caisse, Martin Zaun, Michael Watzek, Michael Bouschen, Geoff Hendrey, Craig RussellAgenda:1. Test status (Michael W., Michelle) JDO-61 started. Test case fails because a graph of persistent instances still fails on 17-Jun-2005. Assigned to Erik. Duplicate key cleanup issue Secon

Re: [Fwd: Question about JIRA JDO 54]

2005-06-17 Thread Craig Russell
RM would also have to be adapted, right? Regards, Michael Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: TestRunner remarks

2005-06-23 Thread Craig Russell
-Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/

Re: TestRunner remarks

2005-06-23 Thread Craig Russell
--Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/-

Re: TestRunner remarks

2005-06-25 Thread Craig Russell
On second thought, it's probably better to put the timestamp first, so a sorted directory will have the latest results close together.CraigOn Jun 23, 2005, at 9:30 AM, Craig Russell wrote:Hi,Ok, then maybe we can prefix the log file names with database-app/dsid, e.g.derby-app-freeble-2005-

Re: TestRunner remarks

2005-06-25 Thread Craig Russell
at the moment either).No comment.Craig-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Changes for review

2005-06-26 Thread Craig Russell
smime.p7s Description: S/MIME cryptographic signature

Fwd: Changes for review

2005-06-26 Thread Craig Russell
Hi,Please take a look at these changes for API 20. They are needed to implement the latest changes to the JDO specification.Thanks,Craig api20changes.diff Description: Binary data Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL

Re: Another api20 change

2005-06-26 Thread Craig Russell
@@      * PersistenceManager, the default is the cache should be ignored for queries.      * @return the ignoreCache setting.      */-   boolean getIgnoreCache();+    boolean getIgnoreCache();+     /**      * Detach the specified object from the PersistenceManager.      * @param pc the instance to detach Craig

Re: 4 non transactional read errors

2005-06-27 Thread Craig Russell
---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/--- Crai

Re: 4 non transactional read errors

2005-06-27 Thread Craig Russell
30/235 520-33        Buelowstr. 66            Fax.:++49/30/2175 2012        D-10783 Berlin             Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Questions about PC classes SFI

2005-06-29 Thread Craig Russell
same schema, .jdo, and .orm files. I don't know that a single class is any easier to implement.Craig-- Michelle Regards,Michael Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

SingleFieldIdentity

2005-06-29 Thread Craig Russell
Hi Michael,,On Jun 29, 2005, at 3:14 AM, Michael Watzek wrote:Hi Craig,I like to agree on the general implementation strategy for thesingle field test cases (your issue 3). This is the proposal:We introduce new PC classes as you pointed out below for each single field identity type. Furthermore, we

Minutes: JDO TCK Conference Call Friday, Jul 1, 9 am PST

2005-07-01 Thread Craig Russell
Attendees: Craig Russell, Michael Watzek, Michael Bouschen1. Test status (Michelle, Michael W., Craig)Checked in metadata changes:JDO-65 Collections of wrapper types should default to embedded-element=falseJDO-75 embedded-key and embedded-value should never have different values in our test

Re: Task list for Michael Watzek

2005-07-01 Thread Craig Russell
Hi Michael,Please use the jdo-dev alias for these communications.On Jul 1, 2005, at 6:35 AM, Michael Watzek wrote:Hi Craig,comments inline: 4. Update existing tests or write new tests for JDO 2 JDOHelper 8.6:A8.6-13 [public static    PersistenceManagerFactory getPersistenceManagerFactory        (Fi

Re: Changes for review

2005-07-01 Thread Craig Russell
er: Missing delimiter ":". +EXC_ObjectIdentityStringConstructionTooShort: Parameter is too short. +EXC_ObjectIdentityStringConstructionUsage: The instance could not be constructed \ +from the parameter String "{0}". \ +\nThe parameter String is of the form ":". +EXC_CreateKeyAsObjectMustNotBeCalled: The method createKeyAsObject must not be called \ +because the keyAsObject field must never be null for this class. Craig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Gasp! Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Please review these changes to JDOHelper

2005-07-01 Thread Craig Russell
} +} + +private class BadPMFNoSuchMethod { +} + +private class BadPMFNonStaticGetPMFMethod { +public BadPMFNonStaticGetPMFMethod +getPersistenceManagerFactory(Map props) { +return new BadPMFNonStaticGetPMFMethod(); +} +} + +private static class BadPMFW

Fix for JDO-77

2005-07-02 Thread Craig Russell
t(oid, new Character('0')); +field.set(oid, new Character((char)(10 + ((Character)(field.get(oid))).charValue(; } } } Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED]

Trying to run one tck test

2005-07-02 Thread Craig Russell
iceProvider)    [java] [DEBUG] tck - Failures comparing oids. Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Trying to run one tck test

2005-07-03 Thread Craig Russell
n Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Gasp! -- Michael Bouschen        [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]    http://www.tech.spree.de/Tel.:++49/30/235 520-33        Buelowstr. 66            Fa

Re: Fix for JDO-77

2005-07-03 Thread Craig Russell
8 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Gasp! -- Michael Bouschen        [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]    http://www.tech.spree.de/Tel.:++49/30/235 520-33        Buelowstr. 66            Fax.:++49/30/2175 2012        D-10783 Berlin             Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

VOTE: Change handling of null primary key during makePersistent of SingleFieldIdentity classes

2005-07-05 Thread Craig Russell
caught by the enhanced code.Proposal: Change the behavior of the SingleFieldIdentity classes to throw JDONullIdentityFieldException. This allows a straightforward implementation of enhanced classes to support single field identity.[ ] approve[ ] disapprove. Why?Thanks,Craig Craig Russell Architect

VOTE: Add ObjectIdentity to single field identity classes

2005-07-05 Thread Craig Russell
ObjectIdentity    extends SingleFieldIdentity {    public Object getKey();    public ObjectIdentity(Class pcClass, Object key);}[ ] approve[ ] disapprove. Why?Thanks,Craig Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S

Re: Changes for review

2005-07-05 Thread Craig Russell
name of the parameter.One of two bad javadocs, both fixed.Thanks,Craig Regards Michael Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

API20 changes

2005-07-06 Thread Craig Russell
tErrorIndex()), dateFormatPattern})); +} +return result; +} +}); +} + +public Object construct(Class cls, String s) { +synchronized(stringConstructorMap) { +StringConstructor sc = (StringConstructor) stringConstr

Re: API20 changes

2005-07-07 Thread Craig Russell
  Buelowstr. 66            Fax.:++49/30/2175 2012        D-10783 Berlin             Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: JDOFatalInternalException using single field identity

2005-07-07 Thread Craig Russell
---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/--- Crai

Re: svn commit: r209692 - in /incubator/jdo/trunk/api20: src/java/javax/jdo/ src/java/javax/jdo/identity/ src/java/javax/jdo/spi/ test/java/javax/jdo/identity/

2005-07-08 Thread Craig Russell
teConstructor(ObjectIdentityTest.java:202)HTH-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Patch for date issue

2005-07-08 Thread Craig Russell
. * @param df the DateFormat instance to use */ -synchronized void registerDateFormat(DateFormat df) { +public synchronized void registerDateFormat(DateFormat df) { dateFormat = df; if (df instanceof SimpleDateFormat) { dateFormatPattern = ((SimpleDateFormat)d

Re: Completeness test with different relationship configurations

2005-07-08 Thread Craig Russell
      http://www.spree.de/------- Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Fwd: **** QUARTERLY REPORTS DUE ****

2005-07-12 Thread Craig Russell
-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: JPOX generated tablenames

2005-07-12 Thread Craig Russell
x27;ve set it running, so should be updated sometime in the next 30 mins - the jpox.jar is there now and the enhancer jar will appear soon.PS It's now being built against the latest API20 jar (the inclusion of ObjectIdentity)Thanks for getting JPOX up to the latest API release!Craig-- Andy

Re: Proposed solution for JDO-69 - embedded Address field issue

2005-07-12 Thread Craig Russell
r.isEmbedded(bean.getClass())) {+                pm.makePersistent(bean);+            }             if (debug) logger.debug("inserted " + bean);         }         tx.commit(); Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PR

Re: Proposed solution for JDO-69

2005-07-12 Thread Craig Russell
n identity field for the embedded Address class (JDO-83). Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Embedded collections of non-PC objects

2005-07-12 Thread Craig Russell
use we don't support that currently, and I don't have any requests from users to do such a thing (since querying of the elements would be getting close to impossible).-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo

Detachment contract

2005-07-12 Thread Craig Russell
Javadogs,Here's a summary of what I'm thinking for the detachment contract. I'll have a formal proposal as a spec update shortly.Please comment if you have objections to the basic ideas.There is a difference between Detachable and non-detachable classes. Detachable classes are not serialization-com

Re: JPOX generated tablenames

2005-07-12 Thread Craig Russell
sometime in the next 30 mins - the jpox.jar is there now and the enhancer jar will appear soon.PS It's now being built against the latest API20 jar (the inclusion of ObjectIdentity)-- Andy Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[E

Re: Detachment contract

2005-07-13 Thread Craig Russell
r track loaded and modified fields using this technique. And against the requirement to expose this state to user code.Others?Craig-geoff        Start your day with Yahoo! - make it your home pagehttp://www.yahoo.com/r/hs Craig Russell Architect, S

Re: JPOX generated tablenames

2005-07-13 Thread Craig Russell
 weeks ago and broke the Maven SourceForge plugin so consequently we can't put our nightly builds on there at the moment. Look at http://www.jpox.org/downloads/latest/instead. Thanks for the clue. ;-) It's actually at http://www.jpox.org/downloads/nightly-- AndyJava Persistent Objects -

Re: Embedded collections of non-PC objects

2005-07-14 Thread Craig Russell
of JPOX will have basic support for fields of collections/maps declared as "serialized". This should get around the initial schema issues about join tables/columns etc.-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 4

Re: maven help

2005-07-14 Thread Craig Russell
Cool.On Jul 14, 2005, at 11:53 AM, Michelle Caisse wrote:Hi,I have added a new "help" goal to the TCK20 maven.xml. Type "maven [-o] help" to see help text for the custom goals and comand line options.-- Michelle Craig Russell Architect, Sun Java Enterprise System http://java.

Fwd: mapping test plan

2005-07-15 Thread Craig Russell
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Notes on today's checkins

2005-07-15 Thread Craig Russell
tSuite.java:203)    [java]      at junit.textui.TestRunner.doRun(TestRunner.java:116)    [java]      at junit.textui.TestRunner.doRun(TestRunner.java:109)    [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)    [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTe

Quarterly status report: Incubating Apache JDO

2005-07-15 Thread Craig Russell
m.The API sub-project has been synchronized with the latest version of the specification. The TCK sub-project is about 80% complete. Still lacks full testing for O/R mapping and detached objects.The Apache JDO web site is now active at http://incubator.apache.org/jdoCraig Craig Russell Architect, Sun

Re: JDOHelper patch

2005-07-16 Thread Craig Russell
getPersistenceManagerFactory will be thrown to the user.         } catch (Exception e) {             throw new JDOFatalInternalException(msg.msg("EXC_GetPMFUnexpectedException"), e); //NOI18N         } Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Embedded collections of non-PC objects

2005-07-16 Thread Craig Russell
are stored in a join table, they don't need to be serialized. Each of the elements can be stored as a row in a join table, because you can have multiple rows in the join table that have a foreign key back to the row in the primary table where the primitive fields are stored.It's be

Re: JDOHelper patch

2005-07-17 Thread Craig Russell
being persistent on this issue.Craig jdohelpertest.patch Description: Binary data On Jul 17, 2005, at 2:01 AM, [EMAIL PROTECTED] wrote:Quoting Craig Russell <[EMAIL PROTECTED]>: This exception is not thrown by Method.invoke. It will be caught bythe catch (InvocationTargetException). Reflective

Re: jdoPreClear on deleted instances

2005-07-17 Thread Craig Russell
es is mediated, which is why it cannot call other methods that are enhanced!Craig Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Embedded collections of non-PC objects

2005-07-18 Thread Craig Russell
ts, and maps to Chapter 15. This mightbe the time to actually do it. That would be great. The spec covers many many situations and the metadata is largely intuitive as to what people specify, but I feel we're missing clarification on this one part.Agree.CraigThanks!-- AndyJava Persistent Objects -

Re: JDO API compability with JDK 1.3

2005-07-19 Thread Craig Russell
a:635)atorg.jpox.enhancer.conf.JDOConfigManager.parseAndRegisterFile(JDOConfigManager.java:60)at org.jpox.enhancer.GeneratorBase.readJDOConfig(GeneratorBase.java:1307)at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:249)Exception in thread "main" Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408

JDOHelper patch

2005-07-19 Thread Craig Russell
Hi,This patch fixes the exception thrown in case of a missing method. It also requires a JDO implementation to implement the static getPersistenceManagerFactory(Map props) method. And it adds two test cases to JDOHelperTest.Craig jdohelper.patch Description: Binary data Craig Russell Architect

Re: JDO API compability with JDK 1.3

2005-07-19 Thread Craig Russell
a:635)atorg.jpox.enhancer.conf.JDOConfigManager.parseAndRegisterFile(JDOConfigManager.java:60)at org.jpox.enhancer.GeneratorBase.readJDOConfig(GeneratorBase.java:1307)at org.jpox.enhancer.JPOXEnhancer.main(JPOXEnhancer.java:249)Exception in thread "main" Craig Russell Architect, Sun Java Enterpr

Re: JDO API compability with JDK 1.3

2005-07-20 Thread Craig Russell
OTECTED]P.S. A good JDO? O, Gasp! -- Michael Bouschen        [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]    http://www.tech.spree.de/Tel.:++49/30/235 520-33        Buelowstr. 66            Fax.:++49/30/2175 2012        D-10783 Berlin             Craig Russell Architect, Sun J

Re: Binding a char to PreparedStatement

2005-07-20 Thread Craig Russell
t;INTEGER", uses JDBC setInt()Java=char/Character, RDBMS="CHAR", uses JDBC setString() -- ---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36

Re: Binding a char to PreparedStatement

2005-07-20 Thread Craig Russell
override the jdbc-type if necessary, and the jdo impl would use jdbc-type plus length plus nullability to map to a natural sql-type that is database specific. Thanks,Craig-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408

Re: Binding a char to PreparedStatement

2005-07-20 Thread Craig Russell
uations where the JDBC driver doesnt support a "generic" sql type evenWhere does this give you trouble?Thanks,Craig-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A

Re: PMF "DetachOnClose"

2005-07-20 Thread Craig Russell
can we get them added to API20 ?-- Andy Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Binding a char to PreparedStatement

2005-07-20 Thread Craig Russell
X's internal type mapping needs more flexibility, but the JDO spec doesn't define what we have to do currently, so our assumption til now was that the user can define their required type if they have one in mind, otherwise they take what we give them.It wasn't clear to me that the issue was f

Re: JDO API compability with JDK 1.3

2005-07-21 Thread Craig Russell
re's a good reason, and JDO would be one, Derby would notremove 1.3 support, but I am curious what lead JDO to this decision.If you remove 1.3 support for releases beyond 10.1, then all that means is that to run with 1.3, you would need 10.1 of Derby and 2.0 of JDO. No problem.CraigDan. Craig R

Re: Binding a char to PreparedStatement

2005-07-21 Thread Craig Russell
choice to me is the most common type among these databases. I'm not aware of any database that doesn't support CHAR column type. And I think that having a default of jdbc-type = CHAR for a char field is very reasonable. If I put this into the specification, I assume you would be ok with it

Re: svn commit: r220215 - in /incubator/jdo/trunk/tck20/test: orm/applicationidentity/org/apache/jdo/tck/pc/company/ orm/datastoreidentity/org/apache/jdo/tck/pc/company/ sql/derby/applicationidentity/

2005-07-21 Thread Craig Russell
CES projects(PROJID)+    ADD CONSTRAINT PR_REV_FK FOREIGN KEY+        (REVIEWER) REFERENCES persons(PERSONID)+; ALTER TABLE departments      ADD CONSTRAINT EMP_MO_FK FOREIGN KEY Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECT

Re: Binding a char to PreparedStatement

2005-07-21 Thread Craig Russell
Hi Erik,On Jul 21, 2005, at 2:10 AM, [EMAIL PROTECTED] wrote:See inlineErik Bengtson-Original Message-From: Craig Russell [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 21, 2005 12:26 AMTo: jdo-dev@db.apache.orgSubject: Re: Binding a char to PreparedStatement I was thinking that most of

Re: svn commit: r220215 - in /incubator/jdo/trunk/tck20/test: orm/applicationidentity/org/apache/jdo/tck/pc/company/ orm/datastoreidentity/org/apache/jdo/tck/pc/company/ sql/derby/applicationidentity/

2005-07-21 Thread Craig Russell
ts(PROJID)+    ADD CONSTRAINT PR_REV_FK FOREIGN KEY+        (REVIEWER) REFERENCES persons(PERSONID)+; ALTER TABLE departments      ADD CONSTRAINT EMP_MO_FK FOREIGN KEY Craig RussellArchitect, Sun Java Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good

Minutes: JDO TCK Conference Call Friday, Jul 22, 9 am PST

2005-07-22 Thread Craig Russell
Attendees: Michael Watzek, Andy Jefferson, Erik Bengtson, Martin Zaun, Matthew Adams, Michelle Caisse, Craig Russell 1. Metadata Tests (Michelle, Michael W) Michael is working on testing the relationship handling. Datastore identity: One to one relationship test fails while storing data. Embedded

Re: Binding a char to PreparedStatement

2005-07-23 Thread Craig Russell
her applications might have defined the column's data in a different way.CraigDan. Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Fwd: svn commit: r220237 - in /incubator/jdo/trunk/api20: src/java/javax/jdo/spi/JDOImplHelper.java test/java/javax/jdo/identity/ObjectIdentityTest.java

2005-07-24 Thread Craig Russell
ializedCurrency() {+        if (!helper.isClassLoadable("java.util.Currency")) return;         ObjectIdentity c1 = new ObjectIdentity(Object.class, Currency.getInstance(Locale.US));         ObjectIdentity c2 = new ObjectIdentity(Object.class, Currency.getInstance(Locale.US));         Object

Re: svn commit: r224397 - in /incubator/jdo/trunk/tck20/test/sql/derby: applicationidentity/schema.sql datastoreidentity/schema.sql

2005-07-25 Thread Craig Russell
10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/------- Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Release of Apache JDO beta/snapshot ?

2005-07-25 Thread Craig Russell
ut please release it somewhere. Any Apache person prepared to venture an estimate when this can be done ? It's been an Action Item on the minutes of the TCK minutes since May.-- AndyJava Persistent Objects - JPOX Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 4

Re: svn commit: r220237 - in /incubator/jdo/trunk/api20: src/java/javax/jdo/spi/JDOImplHelper.java test/java/javax/jdo/identity/ObjectIdentityTest.java

2005-07-25 Thread Craig Russell
a:344)    atorg.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)Quoting Craig Russell <[EMAIL PROTECTED]>: Hi Erik,Can you please test the fix and update the JIRA JDO-95 issue if thefix is ok?Thanks,CraigBegin forwarded message: From: [EMAIL PROTECTED]Date: July 21, 2005 9:48:30 PM PDTTo: jdo-commits@db.apache.orgSubject:

Re: Patch for JIRA JDO-96

2005-07-26 Thread Craig Russell
anges on: test/jdo/datastoreidentity/org/apache/jdo/tck/pc/singlefieldidentity/package.jdo_______Name: svn:executable   + * Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED]

Re: Patch for JIRA JDO-96

2005-07-26 Thread Craig Russell
products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Gasp! -- ---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/-

Re: JDO API compability with JDK 1.3 (issue)

2005-07-26 Thread Craig Russell
issue. Let me know if I have to change the issuestatusRegards,Erik Bengtson Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Patch for JIRA JDO-96

2005-07-27 Thread Craig Russell
[EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/--- Craig Russell Architect, Sun Java Enterpris

Re: Patch for JIRA JDO-96

2005-07-27 Thread Craig Russell
--Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/--

Re: Patch for JIRA JDO-96

2005-07-27 Thread Craig Russell
OTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520 12       http://www.spree.de/--- Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S/MIME cryptographic signature

Re: Questions concerning inheritance mappings

2005-07-27 Thread Craig Russell
;super-class", right?Right.CraigRegards,Michael-- ---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr. 66Tel.:  ++49/30/235 520 36       10783 Berlin - GermanyFax.:  ++49/30/217 520

Re: Questions concerning inheritance mappings

2005-07-27 Thread Craig Russell
Hi Michael,It might be good to put together the SQL definition as a first step to discuss the proposal.Thanks,CraigOn Jul 27, 2005, at 8:55 AM, Craig Russell wrote:Hi,I'd like to get some feedback on this proposal from our JPOX team.On Jul 27, 2005, at 7:43 AM, Michael Watzek wrote:Hi Craig,I

Re: Questions concerning inheritance mappings

2005-07-27 Thread Craig Russell
Enterprise System http://java.sun.com/products/jdo408 276-5638 mailto:[EMAIL PROTECTED]P.S. A good JDO? O, Gasp! -- ---Michael Watzek                  [EMAIL PROTECTED] Engineering GmbHmailto:[EMAIL PROTECTED]        Buelowstr.

Re: JIRA JDO-104

2005-07-27 Thread Craig Russell
as an oversight. We intended that DOUBLE_LARGEST would be used instead of the Double.MAX_SIZE.If you have a patch I'd be happy to recommend the change.Craig-- Andy Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A g

Re: JIRA-70 - jdoPreClear

2005-07-27 Thread Craig Russell
JPOX. I've looked at the code and the field that is accessed should not be null.Regards,CraigRegards,Erik Bengtson Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! smime.p7s Description: S

Re: JIRA-70 - jdoPreClear

2005-07-27 Thread Craig Russell
fields into the parameter instances. - The field access is not mediated (jdoPreClear)So the children field should be loaded. And sadly, it's null.One other thing to look at. Is the children field mapped correctly?CraigRegards,Erik BengtsonQuoting Craig Russell <[EMAIL PROTECTED]>: Hi Erik,

Re: JIRA JDO-104

2005-07-28 Thread Craig Russell
LLEST, AllTypes.FLOAT_LARGEST, AllTypes.FLOAT_SMALLEST, respectively. -- Michelle Craig Russell wrote: Hi Andy, On Jul 27, 2005, at 11:07 AM, Andy Jefferson wrote:In reference to the Collection/List/Set tests failing with errors such as :-

Re: JIRA JDO-104

2005-07-28 Thread Craig Russell
, and both types of tests pick them up. Maybe its not necessary, and you're more familiar with how the TCK is structured so can decide for yourselves.-- Andy Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A g

Minutes: JDO TCK Conference Call Friday, Jul 29, 9 am PST

2005-07-29 Thread Craig Russell
g SNAPSHOT builds of the project to ibiblio. [May 13 2005] AI Brian Topping will arrange for automated nightly builds. [May 13 2005] AI Martin Zaun will investigate JSR 294 (Java 5) to see impact on enhancer. [May 20 2005] AI Craig to define the JCP distributions and see if maven can hel

Re: mapping collections of PC Object types

2005-08-01 Thread Craig Russell
-- embedded-element="true"CREATE TABLE ARRAYLIST_OF_OBJECT1(   IDENTIFIER INTEGER REFERENCES ARRAYLIST_COLLECTIONS NOT NULL,   INTVAL INTEGER NOT NULL,   STRINGVAL VARCHAR(128) NOT NULL,   INDEX INTEGER NOT NULL);-- CREATE TABLE ARRAYLIST_OF_OBJECT2(   IDENTIFIER INTEGER REFERENCES ARRAYLIST

Re: How to get started on JDO

2005-08-02 Thread Craig Russell
implementations to prove that they are valid JDO implementations. This is the TCK activity, mostly focused on object relational mapping. What are your interests in JDO? There are a number of follow-on directions that might interest you.Best regards,Craig Craig Russell Architect, Sun Java Enterprise System http

Re: Additional fields for FieldsOfSimpleInterface, FieldsOfSimpleClass, FieldsOfObject

2005-08-02 Thread Craig Russell
                                                                                ...CREATE TABLE FIELDSOFSIMPLEINTERFACE(   IDENTIFIER INTEGER NOT NULL,   INTFIELD1 INTEGER, STRINGFIELD1 VARCHAR(1024),   SIMPLEINTERFACE102 BIGINT REFERENCES SIMPLE_CLASS,   SIMPLEINTERFACE144 LONG VARCHAR FOR BIT DAT

  1   2   3   4   5   6   7   8   9   10   >