« Removing elements from display in dspace | Main | Dspace Handles collections with problems »

java code in dspace to get collections an item belongs to

From Item.java we find: TableRowIterator tri = DatabaseManager.queryTabl(ourContext,"collection", "SELECT collection.* FROM collection, collection2item WHERE " + "collection2item.collection_id=collection.collection_id AND " + "collection2item.item_id= ? ", itemRow.getIntColumn("item_id"));

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)