0 Replies Latest reply on Sep 24, 2003 8:02 AM by thomasleung

    Mistake in JBossDO Quick Start Guide

    thomasleung Newbie

      In "Fetching JDO instances from a persistent storage" section, the following code is wrong.

      Object personId = pm.newObjectIdInstance(Person.class, "[java.lang.Person,5]");
      Person person = (Person)pm.getObjectById(personId, true);

      The correct one should be use "[java.lang.Integer,5]".