On Fri, 19 Mar 2004, Alexey Loubyansky wrote:
This XDoclet results in 1:m with relation table mapping (on my machine).
you are of course right - i have even written it in the (elided) javadoc
of this method ;-)
And it is in fact broken at the moment.
True m:n works fine for me.
Fixed in
, 2004 11:22 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] cmr bug in 3.2.4RC1?
when updating form jboss-3.2.3 to jboss-3.2.4RC1 i noticed
that one of my JUnit tests failed. the test is about a m-n
relation which is managed by a relation table.
looking at the debugging output it appears
This XDoclet results in 1:m with relation table mapping (on
my machine).
And it is in fact broken at the moment.
Fixed in 3.2.4RC2 and 4.0.0DR4.
---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by
when updating form jboss-3.2.3 to jboss-3.2.4RC1 i noticed that one of my
JUnit tests failed. the test is about a m-n relation which is managed by a
relation table.
looking at the debugging output it appears that after the setter method
for the set no insert method is called. this is what was
I have a unidirectional many-to-one relationship between FleaEJB (many)
and DogEJB (one). At least I think that's correct: each flea can refer
to only one dog, but many fleas can refer to the same dog.
I want to find all fleas that refer to a given dog, but I get a
NullPointerException from
or Collection to sort them using the natural order or your own
comparator.
-Original Message-
From: Poppe, Troy [mailto:[EMAIL PROTECTED]
Sent: Monday, December 29, 2003 1:03 PM
To: Jboss User (E-mail)
Subject: [JBoss-user] CMR fields and sorting?
I am using XDoclet to generate EJBs that have
There is no way at the moment to tell JBoss to sort CMR collections.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Poppe, Troy
Sent: Monday, December 29, 2003 11:03 PM
To: Jboss User (E-mail)
Subject: [JBoss-user] CMR fields and sorting
I am using XDoclet to generate EJBs that have some CMR fields. I'm using the
XDoclet VO's as well.
I'm curious if anyone knows of a way to sort the CMR field given some Comparator
class. Not sure if there is a way to do this with JBoss during the construction
of the EJB object, or with
I have a many-many CMR (table mapped of course) between 2 entities and
would like to add some extra information that further describes the
relationship.
I was thinking of just adding the desired fields to the table that maps
the CMR and creating a CMP entity to get/set the fields. In the
This should work.
Gary S. Cuozzo wrote:
I have a many-many CMR (table mapped of course) between 2 entities and
would like to add some extra information that further describes the
relationship.
I was thinking of just adding the desired fields to the table that maps
the CMR and creating a CMP
[mailto:[EMAIL PROTECTED]
Sent: Fri 11/7/2003 23:47
To: [EMAIL PROTECTED]
Cc:
Subject:[JBoss-user] CMR problems -- Newbie
I am trying to get started with EJB on JBoss, particularly creating
container-managed EJBs. I am using JBoss 3.2.2 and MySQL on the backend. I
have two simple
I am trying to get started with EJB on JBoss, particularly creating container-managed EJBs. I am using JBoss 3.2.2 and MySQL on the backend. I have two simple beans, Employee and Address. I would like to establish a CMR between the two so that an Employee bean can call the function
If you are going to use foreign key on entityA, then entityB can have
many entityA (and you need to use @jboss.relation).
If you really want entityA to have many entityB (according to CMR
get/set), foreign key should be on the entityB side.
alex
Ed Storm wrote:
Sorry if this question seems a
Sorry if this question seems a bit silly. I am having trouble setting
a cmr between two entities in the way I would like. This is what I am
looking at:
EntityA
Pk-field: entityAID, an int.
And other data fields
EntityB:ata
Pk-field: entityBId an int
Pk-field:
I have a CMR relation defined as follows (using xdoclet)
/**
* @ejb.interface-method
* @ejb.relation
* name=WeightGroup-Weight
* role-name=WeightGroup-Weight-table
* target-ejb=DMWeightEJB
* target-role-name=WeightGroup-Weight-field
*
you desire.
Good luck!
Cheers,
Harm de Laat
Informatiefabriek
The Netherlands
Darren Hartford [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
09/02/2003 09:08 PM
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
[JBoss-user] CMR with Xdoclet and Jboss
Hey all,
3
Hey all,
3 days latertime to ask the list :P
I have an existing 1:N table relationship between table Case and Schedule. Now, the pk
for Case is 'caseId' and for Schedule it is 'caseId_scheduleIncrement' (created from
two other fields 'caseId_fk' and 'scheduleIncrement', old process that
Hello Matthew,
you defined two primary keys for each entity: one is unknown and the
other one is known. You can't do it. Get rid of one of them.
To let the known key be generated just mark it as auto-increment.
Note, entity-command declaration is needed in both cases.
alex
Monday, August 11,
Hi,
jboss 3.2.1 CMP2.0 with integrated hsqldb and code generation by xdoclet
1.2b3-dev
I am having some trouble writing a many side entity bean within CMR to my
datasource (hsqldb). I use xdoclet to generate much of the source and
deployment descriptors. I am able to create the one side, which
Hello Troy,
by default, JBoss follows the spec strictly. By the spec, before
entity instance is removed physically, all the relationships the
instance participates in must be destroyed. You can treat it
differently. But there are two things: destroying relationships in
object model and in the
, 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
Don't give
Hello,
I have defined a bi-directional one-to-many CMR between two EJBs, PerformancePlan
and AssignedPerformanceElement. In my database, the FK field (PerformancePlanID)
in AssignedPerformanceElement is defined as NOT NULLable.
In my code, I am trying to remove an AssignedPerformanceElement
To: '[EMAIL PROTECTED]'
Subject: Re[4]: [JBoss-user] CMR Problem in 3.2.2RC2
Hello Gavin,
I had to change only one thing: java:/DefaultDS to java:/MSSQLDS.
I get the same output for both methods. The difference is only in id
values:
Bar id
To: '[EMAIL PROTECTED]'
Subject: Re[2]: [JBoss-user] CMR Problem in 3.2.2RC2
Hello Gavin,
can you provide a testcase? Previously, you posted the source files
and I integrated them into a testcase. Can you send me a ready-to-run
testcase so I need just issue 'build run' or like that?
I'll
machine and start over (just to rule out any environmental
issues), and I'll let you know how it goes.
thanks,
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
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
: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 Stark
Chief Technology Officer
JBoss Group, LLC
Gavin Matthews wrote:
Alex
, July 25, 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 pk with name id,
while
-
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 posted the source files
and I integrated them into a testcase. Can
: 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,
while there is a CMP field id. You should not do it.
If you want
-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,
while there is a CMP field id. You should not do it.
If you want a known pk
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
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
Hello Gavin,
you need to set sync-on-commit-only to true.
container-configuration
container-nameCustom container/container-name
sync-on-commit-onlytrue/sync-on-commit-only
alex
Saturday, July 12, 2003, 12:42:47 AM, Gavin Matthews wrote:
GM Hi,
GM I have a database
To: Gavin Matthews
Subject: Re: [JBoss-user] CMR, cascade-delete not-null
Hello Gavin,
you need to set sync-on-commit-only to true.
container-configuration
container-nameCustom container/container-name
sync-on-commit-onlytrue/sync-on-commit-only
alex
Saturday
Hi,
I have a database table which has a not-null foreign key. At the moment I
can't get cascade-delete to work with not-null foreign keys, JBoss is trying
to update the foreign key to null.
I'm using JBoss 3.2.2RC1 and I just want to confirm if this is the expected
behaviour or a bug? Would it
Hello Christofer,
Monday, July 07, 2003, 11:58:43 AM, Christofer Dutz wrote:
CD Hi,
CD I am getting these errors when mirgrating the SPECjAppServer from BeaWeblogic to
CD JBoss. I wrote a message about this problem a few months ago. Someone told me
CD that he opened a bug-report and I had a
Alexey Loubyansky wrote:
Hello Christofer,
Monday, July 07, 2003, 11:58:43 AM, Christofer Dutz wrote:
CD Hi,
CD I am getting these errors when mirgrating the SPECjAppServer from BeaWeblogic to
CD JBoss. I wrote a message about this problem a few months ago. Someone told me
CD that he opened a
Ok, thanks. I'll do it soon and let you know.
alex
Monday, July 07, 2003, 4:15:30 PM, Christofer Dutz wrote:
CD Alexey Loubyansky wrote:
Hello Christofer,
Monday, July 07, 2003, 11:58:43 AM, Christofer Dutz wrote:
CD Hi,
CD I am getting these errors when mirgrating the SPECjAppServer from
Hello Chris,
I just enabled overriding PK with FK if they are equal.
ENJOY!!! ;)
alex
Monday, July 07, 2003, 4:15:30 PM, Christofer Dutz wrote:
CD Alexey Loubyansky wrote:
Hello Christofer,
Monday, July 07, 2003, 11:58:43 AM, Christofer Dutz wrote:
CD Hi,
CD I am getting these errors when
Alexey Loubyansky wrote:
Hello Chris,
I just enabled overriding PK with FK if they are equal.
ENJOY!!! ;)
YOU ARE MY HERO ... I'll try it as soon as possible :)
Thanx,
chris
alex
Monday, July 07, 2003, 4:15:30 PM, Christofer Dutz wrote:
CD Alexey Loubyansky wrote:
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
Hello Gavin,
please, provide more info (code snippets) on how the code from UI
differs from testcases. I'll look at it.
Thanks,
alex
Saturday, June 28, 2003, 6:57:23 AM, Gavin Matthews wrote:
GM All,
GM This is a long shot and pretty sparse on detail but just incase someones
GM come across
All,
This is a long shot and pretty sparse on detail but just incase someones
come across this before
I'm upgrading from 3.2.0 to 3.2.2RC1 but I'm now seeing a strange CMR
problem where by the foreign-key is not getting populated (sometimes). A
quick description of the senario, this is a
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
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, 2003,
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,
Also, the database schema and mapping in jbosscmp-jdbc.xml are congruent. I've
included both the sql for the database schema and
the jbosscmp-jdbc.xml.
Louis Leung wrote:
I'm trying to run PurchaseOrder with 2 Local Enitities PurchaseOrder LineItems,
with a 1:N relationship between them.
Hello Louis,
the exception is thrown from create method. It is the result of
checking whether the instance already exists. It selects primary key
columns. Not foreign key.
Does JBossCMP create tables in the db? Check the primary key
configuration.
alex
Wednesday, June 25, 2003, 2:26:32 AM,
Hello Louis,
you mean foreign key field mapped to primary key? yes, it is
supported. Make sure the database schema and mapping in
jbosscmp-jdbc.xml are congruent.
alex
Wednesday, June 25, 2003, 8:48:42 PM, Louis Leung wrote:
LL Thanks Alex for your help. The tables are not created by
I'm trying to run PurchaseOrder with 2 Local Enitities PurchaseOrder LineItems, with
a 1:N relationship between them. LineItem
Entity has a CMP field (masterOrder_orderId) which is part of primary key and is also
maps the masterOrder relationship with
PurchaseOrder.
Alexey Loubyansky wrote:
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.
Hi all,
My application has a 1 to many CMR (i.e. one being a purchase order ,
and many being line items). I don't think i've specified the column
mapping for this relationship wrong. JBoss should be firing Select
MASTERORDER ... sql when retreiving info about this relation. But
instead, it
Vilcans
Subject: Re: [JBoss-user] CMR+EJBQL finder generates invalid SQL
Hello Martin,
please, submit a bug report on it with all this info.
If you could also provide a testcase that reproduces this problem that
would be great.
Thank you,
alex
Wednesday, June 04, 2003, 6:21:49 PM, Martin
hi,
at this time we are not using CMR and I have a small question. whe have
this three tables:
tree structure:
CREATE TABLE category_tree (
category_tree_id BIGINT NOT NULL, -- (PK)
parent_idBIGINT,
mandant_id BIGINT NOT NULL, -- (FK)
position
My experience is that using commit option A or D and cmr speeds up these
processes significantly once the caching kicks in.
Rafal Kedziorski wrote:
hi,
at this time we are not using CMR and I have a small question. whe have
this three tables:
tree structure:
CREATE TABLE category_tree (
Hello Martin,
please, submit a bug report on it with all this info.
If you could also provide a testcase that reproduces this problem that
would be great.
Thank you,
alex
Wednesday, June 04, 2003, 6:21:49 PM, Martin Vilcans wrote:
MV I'm trying to create an entity bean (Score) that has a CMR
]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexey
Loubyansky
Sent: 05 June 2003 09:48
To: Martin Vilcans
Subject: Re: [JBoss-user] CMR+EJBQL finder generates invalid SQL
Hello Martin,
please, submit a bug report on it with all this info.
If you could also provide a testcase that reproduces this problem
I'm trying to create an entity bean (Score) that has a CMR relation to
another bean (Celebrity), where one Celebrity can have many scores (1:M).
Also, the Score bean has a finder with the signature Collection
findByDay(int week, int day). JBoss' implementation of this method creates
invalid SQL,
Unfortunately without the read-only tags our application performs too slowly to be usable
under load. We use the CMP Entities for authentication to our site, where every user gets
the guest identity, and many different users may share the same institutional identity. So
if there's a lot of
It's now checked in to Branch_3_2.
./build.sh -Dtest=org.jboss.test.cmp2.cmrstress.CMRStressTestCase
one-test
Disregard my earlier comment about the getters on the child bean.
Steve Coy
On Friday, April 4, 2003, at 02:00 AM, Dain Sundstrom wrote:
What is the name of the test case and are
Hi All,
I have an Entity EJB deployed to JBoss-3.0.6 that has a single CMR
field. In my jbosscmp-jdbc.xml file, I have the datasource and
datasource-mapping attribs set to use a datasource named
java:/OracleDS. Here are the relevant sections:
...
datasourcejava:/OracleDS/datasource
Hello Billy,
it should be fixed in current CVS version for all branches.
alex
Friday, April 04, 2003, 10:56:39 PM, you wrote:
BR Hi All,
BR I have an Entity EJB deployed to JBoss-3.0.6 that has a single CMR
BR field. In my jbosscmp-jdbc.xml file, I have the datasource and
BR
I think the message is remove the read-only tags and you will not get
the errors.
-dain
On Thursday, April 3, 2003, at 03:03 AM, Andrew May wrote:
My test case fails on 3.0.3 so it's not just a problem with 3.2.0. So
for us that means we can't go live with either :( - unless we can find
a
What is the name of the test case and are you working on a solution?
-dain
On Thursday, April 3, 2003, at 04:22 AM, Stephen Coy wrote:
I'll add the testcase to Branch_3_0 as well.
We've never experienced this problem, but have only operated under
3.0.2, 3.0.4 and 3.0.6.
Our application
Hi Alex.
Thanks for the info.
In case anyone else runs into a problem like this:
I have created a view which selects from the mapping and data tables, to
create a more natural mapping (parent oid to child oid).
My relation-table-mapping now uses this view. The CM relationship works fine.
I'm
Sourceforge CVS was very slow last night, so I did not get much done.
I don't know about a solution, but I will try and diagnose it.
At the moment, it looks like there is a problem if the child bean's
getters are marked read-only, even if the parent bean's are not.
Anyway, hopefully (if the
OK, from the EJB 2.0 spec:
10.3.10.1 Restrictions on remote interfaces
The following restrictions apply to the remote interface of an entity bean with
container-managed persistence.
The Bean Provider must not expose the get and set methods for container-managed
relationship fields or the
[ jboss-Bugs-705542 ] Errorenous IllegalStateException on CMR-Collection
Steve Coy
On Wednesday, April 2, 2003, at 07:35 PM, Andrew May wrote:
Earlier in the thread Alex wrote that I'm not alone in complaining
about this. Is there an existing bug report for this problem that I
should add the
I'm currently incorporating the essence of your test case into the
formal JBoss 3.2 test suite. With luck, I'll get it in this evening.
And you're right btw, there's nothing wrong with your test case spec
wise.
Steve Coy
On Wednesday, April 2, 2003, at 07:35 PM, Andrew May wrote:
OK, from
Hi,
On my application (under JBOSS 3.2RC5) I have the same problem and I've
found that happens only when the CMR getter methods (from which I obtain
the iterators...) are set as read-only on jboss.xml.
So, in my opinion, the main question is: Is it legal to set a CMR getter
method as read-only ?
This is outside the CMP spec, so legality does not enter into it.
What is more interesting is what read-only means in the context of a
CMR getter that returns a Collection.
My test program happily lets me update the returned collection even
when the getter is marked read-only.
Steve Coy
On
I can't get this test to fail on my Mac with either Hypersonic or
Oracle.
This is with Release ID: JBoss [WonderLand] 3.2.0RC5 (build:
CVSTag=Branch_3_2 date=200303312311).
Tomorrow night I'll move it onto my linux box and see what happens.
It needs a little cleaning up before I check it in
Ah ha!
It needs those read-only tags in jboss.xml in order to fail.
Previously, I had explicitly specified that getChildren was
read-only. It needs to be get*.
My test is failing now.
Steve Coy
On Thursday, April 3, 2003, at 01:30 AM, Andrew May wrote:
I've tried to do a bit of
I doubt that a CMR will work with the read-only flag. The problem is a
read-only specifically does not associate the transaction with the
invocation and does not enlist the entity in the tx synchronization. A
CMR collection is dependent on a transaction and having tx
synchronization. I
trying your test, do you have a script to populate the tables and
the parameters for the CMRTestClass?
Thanks
Simone
- Original Message -
From: Andrew May [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 2:46 PM
Subject: Re: [JBoss-user] CMR Error under load
I don't see
Hi Andrew,
I had the error as well
Simone
- Original Message -
From: Andrew May [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:40 AM
Subject: Re: [JBoss-user] CMR Error under load
Simone,
I manually inserted a couple of records. e.g.:
INSERT
SM Subject: Re: [JBoss-user] CMR Error under load
Simone,
I manually inserted a couple of records. e.g.:
INSERT INTO Parent VALUES ('test1');
INSERT INTO Child (id, name, value, parentid) VALUES ('test1:name1',
SM 'name1', 'value1',
'test1');
And that was enough data to recreate
I've just built RC5 from CVS and I still get the CMR problem.
Release ID: JBoss [WonderLand] 3.2.0RC5 (build: CVSTag=Branch_3_2 date=200304010938)
Alex Loubyansky wrote:
with fresh 3.2.0RC5 from CVS?
alex
---
This SF.net email is
As of yesterday 10 PM GMT.
Simone
- Original Message -
From: Alex Loubyansky [EMAIL PROTECTED]
To: Simone Milani [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 9:47 AM
Subject: Re[2]: [JBoss-user] CMR Error under load
with fresh 3.2.0RC5 from CVS?
alex
Tuesday, April 01, 2003, 11
]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:25 PM
Subject: Re: Re[2]: [JBoss-user] CMR Error under load
As of yesterday 10 PM GMT.
Simone
- Original Message -
From: Alex Loubyansky [EMAIL PROTECTED]
To: Simone Milani [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 9:47 AM
the test method.
Simone
- Original Message -
From: Simone Milani [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:25 PM
Subject: Re: Re[2]: [JBoss-user] CMR Error under load
As of yesterday 10 PM GMT.
Simone
- Original Message -
From: Alex Loubyansky [EMAIL
Hello Bill,
Tuesday, April 01, 2003, 2:18:37 AM, Bill Curtis wrote:
BC hello...
BC I have an existing table, A, which has a 1..* relationship with itself.
BC This relationship makes us of an existing mapping table, B.
BC I have inherited these tables, and unfortunately cannot alter them.
BC
OK, here's a test case that recreates the problem for me.
I've attached test.jar which is the ejb-jar and also includes the test case class. Also
attached is test-src.jar which has the source code for the EJBs and the test. I'm afraid
I've been hacking around existing build scripts to create
What JBoss version are you using?
This was fixed in Branch_3_2 recently.
alex
Monday, March 31, 2003, 2:05:25 PM, Jboss Percy wrote:
JP I am new to JBoss and to MySql (although the problem has not
JP specifically to do with MySql).
JP I am trying to port a rather large application from Borland
a merge?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Loubyansky
Sent: maandag 31 maart 2003 13:40
To: Jboss Percy
Subject: Re: [JBoss-user] CMR uses the default datasource in stead of
the one specifically specified for the CMP 2.0 EJB entity beans
-Original Message-
JP From: [EMAIL PROTECTED]
JP [mailto:[EMAIL PROTECTED] On Behalf Of Alex
JP Loubyansky
JP Sent: maandag 31 maart 2003 13:40
JP To: Jboss Percy
JP Subject: Re: [JBoss-user] CMR uses the default datasource in stead of
JP the one specifically specified for the CMP 2.0 EJB entity
I don't see a RC5 release on sourceforge, so I assume this means I have to build it from
CVS. I'll give that a go, but as I've never tried it before it could take me a while
(never actually used CVS I confess) - still it's something I ought to be able to do.
If anyone has a chance to run my
or do I have
to retrieve the sources and build
My own version from a merge?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Alex
Loubyansky
Sent: maandag 31 maart 2003 13:40
To: Jboss Percy
Subject: Re: [JBoss-user] CMR uses the default
I will try it, thanks for the information
Christian
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alex
Loubyansky
Sent: maandag 31 maart 2003 15:02
To: Jboss Percy
Subject: Re[2]: [JBoss-user] CMR uses the default datasource in stead of
the one
PROTECTED]
Subject: Re: [JBoss-user] CMR Error under load
I don't see a RC5 release on sourceforge, so I assume this means
I have to build it from
CVS. I'll give that a go, but as I've never tried it before it
could take me a while
(never actually used CVS I confess) - still it's something I
hello...
I have an existing table, A, which has a 1..* relationship with itself.
This relationship makes us of an existing mapping table, B.
I have inherited these tables, and unfortunately cannot alter them.
Table A has a meaningless PK, called oid.
Table A also has a unique, meaningful
Hi Andrew,
I am trying your test, do you have a script to populate the tables and
the parameters for the CMRTestClass?
Thanks
Simone
- Original Message -
From: Andrew May [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 31, 2003 2:46 PM
Subject: Re: [JBoss-user] CMR Error
I'm getting this CMR error when I load test our system:
java.lang.IllegalStateException: The iterator of a CMR collection may only be used within
the transction in which it was created
at
org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.verifyIteratorIsValid(RelationSet.java:309)
Hi,
I had the same promlem when I was using RC3. Try to move to RC4. What
container are you using?
Simone
- Original Message -
From: Andrew May [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 11:49 AM
Subject: [JBoss-user] CMR Error under load
I'm getting
I've just tried it and RC4 has the same problem. We're using normal jbosscmp container.
Andrew
Simone Milani wrote:
Hi,
I had the same promlem when I was using RC3. Try to move to RC4. What
container are you using?
Simone
---
This
Hello Andrew,
you are not alone complaining about this. But nobody could produce a
testcase that fail at least eventually.
I am trying to reproduce it but can't for the moment.
I have a Parent and 1000 of related Child entities.
I have 100 concurrent threads finding parent by primary key,
I fixed a similar bug in this stuff for Sacha on March 19th (version
1.43.2.13). The problem was registering for transaction
synchronization on the transaction in the context and not the
transaction associated with the current thread. This bug created the
type of problem you have described,
PROTECTED]
Sent: Monday, March 24, 2003 8:32 PM
Subject: Re[6]: [JBoss-user] CMR with FK in the database
This is the problem with vendor-specific create commands.
Just fixed it.
PS: Simone, be sure to use JDBCSybaseCreateCommand that extends
JDBCAbstractVendorCreateCommand.
alex
Monday
Hi,
I am having some big problems with CMR. In JBoss 3.2 CVS
OrderEnt: has the PrimaryKey field id
OrderLineEnt: hat the PrimaryKey Class OrderLinePrimaryKey which uses the Fields
id and orderId
I now want to create a CMR in which one OrderEnt can have many OrderLineEnts.
When creating a new
1 - 100 of 208 matches
Mail list logo