Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 67417 invoked from network); 18 Aug 2007 17:24:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2007 17:24:39 -0000 Received: (qmail 90071 invoked by uid 500); 18 Aug 2007 17:24:37 -0000 Mailing-List: contact jdo-dev-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-dev@db.apache.org Received: (qmail 90060 invoked by uid 99); 18 Aug 2007 17:24:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2007 10:24:37 -0700 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=DNS_FROM_DOB,RCVD_IN_DOB,SPF_NEUTRAL,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [68.142.200.238] (HELO smtp103.biz.mail.mud.yahoo.com) (68.142.200.238) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 18 Aug 2007 17:24:56 +0000 Received: (qmail 86962 invoked from network); 18 Aug 2007 17:24:07 -0000 Received: from unknown (HELO spike) (matthew@matthewadams.org@131.191.67.190 with login) by smtp103.biz.mail.mud.yahoo.com with SMTP; 18 Aug 2007 17:24:05 -0000 X-YMail-OSG: oa_iwk4VM1lCpU3bPhgde6liObtRHTNYKv9Dq0DaoW1ZizZC37aOjFMArlGcbgqAHbN07QVBHZzU4OfR7hQbjI3_Zd5uj4dy7Nb_NdwzKJlSePUfBF4- From: "Matthew T. Adams" To: "'Erik Bengtson'" , , References: <4463CFBC.2050403@sun.com> <455D47AB.6010709@sun.com> <456F833F.4090502@sun.com> <4578EDAB.4030404@sun.com> <4581DC4E.8010107@sun.com> <458B5E58.3080001@sun.com> <459D9424.4090802@sun.com> <45A7119B.30601@sun.com> <45B01041.10106@sun.com> <45B95F3A.8090006@sun.com> <45CBC6A8.8030101@sun.com> <45D4E5E7.2050505@sun.com> <45DE3995.7070404@sun.com> <45E70D47.2040700@sun.com> <45F097C5.6020403@sun.com> <45F9D2EE.4070802@sun.com> <4603598C.8080205@sun.com> <460C4010.50209@sun.com> <46159A52.30506@sun.coom> <461EC15F.4070600@sun.ccom> <4627E706.6010105@sun.com> <463145A4.5080003@sun.com> <463A7B49.7000905@sun.com> <464CD0EB.5010101@sun.com> <46565157.4070804@sun.com> <465F4B00.9060906@sun.com> <4668D1DE.1080105@sun.com> <4671BA1B.7080600@sun.com> <467AFECA.6050104@sun.com> <468452A4.7080404@sun.com> <4696A846.1000707@sun.com> <469FFFEE.9030303@sun.com> <46AA0FE7.9060102@sun.com> <412A2419-D8FE-438F-A503-373D72DB3199@SUNN.com> <46C52BB6.5040305@sun.com> <46C5CC7E.4060608! @ssun.com> <1187445425 .46c6fab1da546@webmail.jpox.org> In-Reply-To: <1187445425.46c6fab1da546@webmail.jpox.org> Subject: RE: Minutes: JDO TCK Conference Call Friday, Aug 17, 9 am PDT Date: Sat, 18 Aug 2007 10:24:10 -0700 Message-ID: <005e01c7e1bc$9904ac30$cb0e0490$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acfhn/IHg+oRnDJIQU+jzn7OZ8SI9wAHGV+A Content-Language: en-us X-Virus-Checked: Checked by ClamAV on apache.org Thanks, and this will be included in the standard enhancement contract. -----Original Message----- From: Erik Bengtson [mailto:erik@jpox.org] Sent: Saturday, August 18, 2007 6:57 AM To: jdo-dev@db.apache.org; jdo-experts-ext@sun.com Subject: Re: Minutes: JDO TCK Conference Call Friday, Aug 17, 9 am PDT Matthew and All, Do you also have ClassFileTransformer for transparent runtime enhancement with JRE 5 ? usage example: ------------------ java -javaagent:jdo-2.1.jar -Djavax.jdo.enhancer.class=acme.EnhancerImpl
alternative command line: java -javaagent:jdo-2.1.jar=enhancer.class=acme.EnhancerImpl
Implementation ------------------------------------- package acme; public class Enhancer { public Enhancer() {} public byte[] enhance(final String className, byte[] classdefinition, ClassLoader loader) { return bytecodemodified; } } -------------------------------------- package javax.jdo.enhancer; public JDOClassFileTransformer implements ClassFileTransformer { public static void premain(String agentArguments, Instrumentation instrumentation) { instrumentation.addTransformer(new JDOClassFileTransformer()); } public byte[] transform(ClassLoader loader, String className, Class classBeingRedefined, ProtectionDomain protectionDomain, byte[] classfileBuffer) { Enhancer enhancer = new instance of class defined at System.getProperty("javax.jdo.enhancer.class") return enhancer.enhance(className,classfileBuffer,loader); } } -------------------------------------------------- Quoting Michelle Caisse : > Attendees: Matthew Adams, Michelle Caisse > > Matthew is working on standard enhancer and schema management classes > and the associated SPI. > His patch dealing with PMF properties "name" and "persistenceUnitName" > have been checked in (JDO-496). Seems to work. > > Michelle is working on tests for relationship integrity on flush() when > the application changes one side of the relationship (spec 15.3). > > Craig is working on spec updates for persistent properties. > > -- Michelle > > Michelle Caisse wrote: > > > Hi, > > > > We will have our regular meeting Friday, August 17 at 9 am PDT to > > discuss JDO TCK issues and status. > > > > Dial-in numbers are: > > 866 230-6968 294-0479# > > International: +1 865 544-7856 > > > > Agenda: > > > > 1. Relationship mapping tests update > > 2. Annotations on properties > > 3. Other issues > > > > Action Items from weeks past: > > > > [June 22 2007] AI Craig discuss svn:eol-style on email. > > > > [June 22 2007] AI Craig write a proposal on annotation overrides for > > the expert group. > > > > [May 25 2007] AI everyone Download the Grails demo from grails.org > > and check it out. Also look at Grails/Groovy ExpandoMetaClass that > > has the magic to avoid reflection and enhancement. > > > > [May 25 2007] AI Matthew Adams prepare a proposal with just the > > basics of schema synchronization with jdo and orm metadata. > > > > [May 18 2007] AI Craig update http://wiki.apache.org/jdo/ > > CurrentDevelopment wiki page > > > > [Apr 27 2007] AI Craig review Query API and send email to experts. > > > > [Apr 27 2007] AI Erik file a JIRA regarding JPA style transactions > > and attach his discussion document to it. > > > > [Mar 9 2007] AI Craig: Update the spec to require that the key of the > > listener is the class name of the listener, for consistency with > > proposed xml.. > > > > [Mar 2 2007] AI Craig: update the JDOHelper class to include a string > > constant "META-INF/jdo.xml" and a new method > > getPersistenceManagerFactory taking no arguments. > > > > [Aug 11 2006] AI Craig propose some semantics for behavior if user > > tries to add to a list where the ordering element is incorrect. > > > > [Jul 14 2006] AI: Erik document 220 annotations that don't have a > > corresponding JDO concept. > > > > [Jun 23 2006] AI Martin look at what Hibernate and TopLink support > > for Enum types. In progress. > > > > [Apr 14 2006] AI Craig: update the roadmap for JDO. In progress. > > > > [Nov 4 2005] AI Martin: Update Martin's wiki with discusion of JDK > > 1.5 issues. In progress > > > > [Sep 2 2005] AI: To recruit members, update the web site. Articles > > on TheServerSide directing attention to the site. T-shirts, logo. > > AI: Craig write a ServerSide article. > > > > -- Michelle > > >