I have no clue about hibernate and the related pojos - but could the 
problem of duplicate entries come from the 
* @hibernate.collection-many-to-many column="subscription_id" 
I dont think thats true here. it is a one-to many column (if such thing 
exists)

    /** 
     * @hibernate.set table="rag_group_subscription" lazy="true" 
invert="true" cascade="save-update"
     * @hibernate.collection-key column="group_id"
     * @hibernate.collection-many-to-many column="subscription_id" 
class="org.apache.roller.planet.pojos.PlanetSubscriptionData"
     */
    public Set getSubscriptions()
    {
        return subscriptions;
    }
    public void setSubscriptions(Set subscriptions)
    {
        this.subscriptions = subscriptions;
    }
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
Thomas Hofmann

Dave <[EMAIL PROTECTED]> schrieb am 01/12/2006 20:42:22:

> Thanks, I've added those to the wiki and we'll do our best to address 
them.
> http://rollerweblogger.org/wiki/Wiki.jsp?page=Roller31Testing
> >
> > 2       Planet Admin - Subscriptions - There is a duplicate INSERT 
INTO
> > RAG_GROUP_SUBSCRIPTONS statement  with switched parameters causing
> > problems. (ORACLE db)
> >
> > Hibernate: insert into rag_subscription (feed_url, last_updated, 
site_url,
> > title, author, inbound_links, inbound_blogs, id) values (?, ?, ?, ?, 
?, ?,
> > ?, ?)
> > Hibernate: insert into rag_group_subscription (group_id, 
subscription_id)
> > values (?, ?)
> > Hibernate: insert into rag_group_subscription (subscription_id, 
group_id)
> > values (?, ?)
> >
> >




--

Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte 
Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is strictly 
forbidden.

Reply via email to