Not sure if the same applies for the Java API, but for the C API according to documentation, you can't createEntry to a Join, you should createEntry to the base forms that make up the Join.
I might be way off but I hope this helps Cheers, -------- Curtis Gallant -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of John Baker Sent: Wednesday, October 25, 2006 9:34 AM To: arslist@ARSLIST.ORG Subject: Java AR API weirdness Hello, Consider the following: EntryFactory entryMan = EntryFactory.getFactory(); Entry entry = (Entry)entryMan.newInstance(); entry.setContext(serverUser); entry.setEntryItems(items); entry.setSchemaID(new NameID(schema)); entry.create(); System.out.println(entry.getEntryID().toString()); Should create a new Entry and output the EntryID. This works fine, unless the entry was created in a Join Form, in which case an empty string (not null) is output. I've tested with the v7.0 API (patch 1 & 2). Has anyone else seen this behaviour? Is it really a bug or just incorrect use of the API? John Java System Solutions : http://www.javasystemsolutions.com ________________________________________________________________________ _______ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org