--- "Raible, Matt" <[EMAIL PROTECTED]> wrote: > I have to rows in my "user" table and I expect to > get two rows of data back. > However, the following query returns two items in > the list, but they're the > same: > > List users = (List) ses.find("from cct_user in class > com.cable.comcast.dmc.itd.cct.persistence.User where > cct_user.userId=?", > userId, Hibernate.STRING); > > Is this because userId is the named in User.hbm.xml > as the primary key? I > tried to create a composite-id element, which is > what it is in the database, > but XDoclet doesn't seem to let me. I added two > @hibernate.id tags to two > different getters, but that just generated two > different id elements in my > xml mapping file.
Matt, file issue in JIRA and assign it to me ( or it will be lost ) I will look at it. regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel