Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-07 Thread Brandon Knitter
I just noticed that you are working on an example for all of us! :) Do you have this ready, perhaps with the changes below? I got the zip from your site below about an hour ago, and I'm happy to see an example! :) Thanks, -- -bk Quoting David Jones [EMAIL PROTECTED]: Greg Turner [EMAIL

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-07 Thread Greg Turner
I have a simple app that relates hrefs to keywords in a many to many relationship. The idea is to be able to save hrefs with a list of keywords and then, later on, search the library for hrefs that match a list of keywords. There are 3 tables, one table that has id as a long, href as a

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-07 Thread Brandon Knitter
Thank you! :) I will check this over. Briefly, it looks like what I have too, but on my implementation when I try calling the abstract collection methods, I am met with much dismay. Have you tested the collection calls remotely? You client doesn't seem to do much?!?!? Thanks again, I

[JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread David Jones
I am new to both JBoss and EJB2.0 and the new CMP support. Using XDoclet I can create a couple of beans that include simple CMP and CMR fields, generate and deploy an ear to JBoss, and it appears to install it with no WARNings. But using a simple client I find that the value of my CMR/foreign

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread Dain Sundstrom
There is a bug report on this, but I haven't looked at it yet. I'll be fixing ALL of the reported CMP bugs next week. -dain David Jones wrote: I am new to both JBoss and EJB2.0 and the new CMP support. Using XDoclet I can create a couple of beans that include simple CMP and CMR fields,

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread Greg Turner
David, I've gotten many to many relationships to work, so I took a look at what you are doing. While I did not take an indepth look at your code, I did notice one big difference between our two approaches. Your code is trying to do too much, in managing relationship IDs. If you were to

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread David Jones
Greg Turner [EMAIL PROTECTED] writes: I've gotten many to many relationships to work, so I took a look at what you are doing. While I did not take an indepth look at your code, I did notice one big difference between our two approaches. Your code is trying to do too much, in managing

Re: [JBoss-user] JBoss3.0.0 CMR field not persisting

2002-06-06 Thread Greg Turner
Oh, I think setCompany should work. I think this is the line of your code that is incorrect: Employee employee = employeeHome.create(id, email, company.getId()); trying to pass the company id into the creation of the employee. Thats the part that did not look correct to me. Greg David