, 2003 5:02 AM
To: '[EMAIL PROTECTED]'
Subject: Re[6]: [JBoss-user] CMR Problem in 3.2.2RC2
Hello Gavin,
my setup:
OS: Win2000
JDK: Sun 1.3.1_05/1.4.1_02
JBoss: 3.2.2RC2/RC3
JDBC:
Microsoft SQL Server 2000 Driver for JDBC
Service Pack 1
Version 2.2.0029
December 2002
M> gavin
>> -Original Message-
>> From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, July 30, 2003 4:35 AM
>> To: '[EMAIL PROTECTED]'
>> Subject: Re[4]: [JBoss-user] CMR Problem in 3.2.2RC2
>>
>>
>> Hello Gav
tt M Stark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2003 4:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] CMR Problem in 3.2.2RC2
>
>
> Post instructions for the testcase so others can try it out.
>
> --
>
> Scott
Post instructions for the testcase so others can try it out.
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Gavin Matthews wrote:
Alex,
Damn wierd - this test case fails everytime for me. This most likely means
it's an environmental iss
only
> GM> difference is that in the middle of testWithFinder a
> finder is called which
> GM> causes a db sync. testWithFinder behaves as expected
> testWithoutFinder is
> GM> the bug I'm seeing.
>
> GM> Let me know if I can provide anything other info or if
> you
testWithFinder behaves as expected testWithoutFinder is
GM> the bug I'm seeing.
GM> Let me know if I can provide anything other info or if you've problems with
GM> the test case.
GM> gavin
>> -Original Message-----
>> From: Alexey Loubyansky [mailto:[EMAIL
nal Message-
> From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 12:23 AM
> To: '[EMAIL PROTECTED]'
> Subject: Re[2]: [JBoss-user] CMR Problem in 3.2.2RC2
>
>
> Hello Gavin,
>
> can you provide a testcase? Previously, you
> gavin
>> -Original Message-
>> From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
>> Sent: Friday, July 25, 2003 4:30 AM
>> To: Gavin Matthews
>> Subject: Re: [JBoss-user] CMR Problem in 3.2.2RC2
>>
>>
>> Hello Gavin,
>>
>
, 2003 4:30 AM
> To: Gavin Matthews
> Subject: Re: [JBoss-user] CMR Problem in 3.2.2RC2
>
>
> Hello Gavin,
>
> I am sorry, it works for me! I used your source files, MS SQL Server
> 2000 and your testSchema.sql.
>
> Anyway, I have some remarks. You are using unknown p
AM
> To: Gavin Matthews
> Subject: Re: [JBoss-user] CMR Problem in 3.2.2RC2
>
>
> Hello Gavin,
>
> I am sorry, it works for me! I used your source files, MS SQL Server
> 2000 and your testSchema.sql.
>
> Anyway, I have some remarks. You are using unknown pk with name id,
Hello Gavin,
I am sorry, it works for me! I used your source files, MS SQL Server
2000 and your testSchema.sql.
Anyway, I have some remarks. You are using unknown pk with name id,
while there is a CMP field id. You should not do it.
If you want a "known" pk and use a pk generation command, then j
Hi,
I posted this to the group a couple of weeks ago when trying to get
3.2.2RC1 working. Alex had a look at it and figured it was fixed for RC2. As
RC2 was only a couple of weeks away I decided it'd be easier for me to wait
for RC2 than build it, my mistake, I've just grabbed RC2 - it's still the
Hi,
I posted yesterday and last week about a problem I was having with CMR when
I upgraded from 3.2.0 to 3.2.2. I've done more investigation and I don't
think my previous mails were entirely accurate (or very clear) so let me
start over.
The Problem:
I'm experiencing NPE in our app because the
I solved the problem.
I just had to add target-multiple="yes" to the XDoclet @ejb.relation tag for
the 1:1 relation.
/**
* @ejb.relation
* name="object-has-valueClass"
* role-name="object-role"
* target-ejb="Con
Please, provide a stacktrace for
javax.ejb.EJBException: Data contains multiple values, but this cmr
field is single valued
And also make sure you are not assigning Collection to a single valued
CMR field and the query loading the CMR field returns only one row.
alex
Thursday, June 26, 2003, 5:5
Alexey,
Thanks for the suggestion, but it didn't solve the problem.
Any other ideas?
Jason
On Wednesday 25 June 2003 11:19 pm, Alexey Loubyansky wrote:
> Hello Jason,
>
> try to remove cascade-delete for one-to-one. By the spec, it is
> allowed only for many side.
>
> alex
>
> Thursday, June 26
Hello Jason,
try to remove cascade-delete for one-to-one. By the spec, it is
allowed only for many side.
alex
Thursday, June 26, 2003, 8:33:08 AM, Jason Calabrese wrote:
JC> I'm having a weird CMR problem with 3.2.0.
JC> I have a bean that a has 2 CMR fields that both target the same bean with
I'm having a weird CMR problem with 3.2.0.
I have a bean that a has 2 CMR fields that both target the same bean with
different pk's.
One of the CMR fields is a 1:1 relation and the other is the single side of a
1:M relation.
The CMR fields can be read fine, but cause problems for ejbCreate.
T
jboss-user <[EMAIL PROTECTED]>
cc:
Subject:[JBoss-user] CMR Problem: Chicken and Egg
Hi Folks,
I've recently been implementing Brett McLaughlin's "Building Java
Enterprise Architecture" examples on JBoss 3.0.3 and I'm having great
(if frus
Hello Peter,
AFAIK, spec nothing about how it should be implemented. It's the way
JBossCMP implemented.
AFAIK, Dain has plans to support not null FKs for CMR fields but I don't know
the priority.
alex
Thursday, October 10, 2002, 10:56:59 AM, you wrote:
PS> Hi Alex,
>> Currently, CMR fields mu
Hi Alex,
> Currently, CMR fields must be nullable
Is this a JBoss (*cough*) feature? I don't believe the spec mandates
this.
--peter
E-mail is an informal method of communication and may be subject to data corruption,
Hello Peter,
Currently, CMR fields must be nullable.
alex
Wednesday, October 09, 2002, 4:36:15 PM, you wrote:
PS> Hi Folks,
PS> I've recently been implementing Brett McLaughlin's "Building Java
PS> Enterprise Architecture" examples on JBoss 3.0.3 and I'm having great
PS> (if frustrating!) fun
Currently in JBoss, you have to have your cmr foreign keys nullable
since they can only be set in ejbPostCreate(). From what I understand,
Dain Sundstrom ("the" JBossCMP guy) is very aware of this and is looking
at supporting setting cmrs in ejbCreate() (so you can have NOT NULL
foreign keys)
> But is this possible? I mean, JBoss wants to run a SQL INSERT after
> ejbCreate() but it can't because of the foreign key constraints. I can
Why is this happening anyway?
Can this be prevented?
---
This sf.net email is sponsored by:ThinkGeek
Hi Folks,
I've recently been implementing Brett McLaughlin's "Building Java
Enterprise Architecture" examples on JBoss 3.0.3 and I'm having great
(if frustrating!) fun doing it :-D. I have a problem regarding CMR
fields though ...
- CMR fields must be assigned in ejbPostCreate()
- It makes sense
Turn the log level up to TRACE and you will see the exact parameter set
and the results loaded. Also, are you using the 3.0 final release?
-dain
Craven, Jason wrote:
> I have a many to many relationship defined that is not working correctly.
> When I try to get the collection object from one
I have a many to many relationship defined that is not working correctly.
When I try to get the collection object from one of the entities it returns
a collection with a size of 0. I've checked the relation table and there is
data that is returned when I query it with the same select statement I
27 matches
Mail list logo