Index: topia/src/java/org/codelutin/topia/persistence/jdo/JDOPersistenceHelper.java diff -u topia/src/java/org/codelutin/topia/persistence/jdo/JDOPersistenceHelper.java:1.4 topia/src/java/org/codelutin/topia/persistence/jdo/JDOPersistenceHelper.java:1.5 --- topia/src/java/org/codelutin/topia/persistence/jdo/JDOPersistenceHelper.java:1.4 Sun Aug 1 14:52:32 2004 +++ topia/src/java/org/codelutin/topia/persistence/jdo/JDOPersistenceHelper.java Fri Aug 6 17:48:52 2004 @@ -23,10 +23,10 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.4 $ + * @version $Revision: 1.5 $ * - * Mise a jour: $Date: 2004/08/01 14:52:32 $ - * par : $Author: pineau $ + * Mise a jour: $Date: 2004/08/06 17:48:52 $ + * par : $Author: bpoussin $ */ package org.codelutin.topia.persistence.jdo; @@ -96,6 +96,7 @@ } else { Class jdoClass = Util.getJDOClass(entity.getEntityClass()); jdoEntity = (JDOEntity)Util.getInstance(jdoClass); + jdoEntity.set_topiaId_(entity.get_topiaId_()); pm.makePersistent(jdoEntity); } @@ -264,6 +265,15 @@ throw new TopiaException("Can't find objet or id is not unique (result size: " + size + ")"); } return result; + } + + + public void load(String xml) throws TopiaException{ + // FIXME implanter l'import en XML + } + + public String exportXML() throws TopiaException{ + // FIXME implanter l'export en XML } } // JDOPersistenceHelper