It is certainly possible. Try with defaults and if it doesn't work try
different mappings and read the JBossCMP wikis.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Allan Kamau
> Sent: Wednesday, September 22, 2004 2:31 PM
> To: [EMAIL PROTECT
It maybe because of complex relationships. You would need to post
deployment descriptors and describe relationships among real instances.
But could you try 3.2.5 first?
and batch-cascade-delete?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> May
No, there is not. You should order them yourself.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Klaus Richarz
> Sent: Monday, June 14, 2004 1:52 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Ordering CMR results - best practice ?
>
> Hel
You need to post the deployment descriptors, logs with SQL statements
and relevant details. Please, try our forums.
Thanks.
alex
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Maxim Mikhelman
> Sent: Thursday, June 03, 2004 2:15 PM
> To: JBoss
Did the second transaction found the instance with on-find read-ahead?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Maxim Mikhelman
> Sent: Thursday, June 03, 2004 11:08 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Dirty read with commi
Looks like for some reason it doesn't think that it is dynamic. It does
work for me with DR4. If you put some query in the will it work
as dynamic?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of ?? ?
> Sent: Sunday, May 09, 2004 12:22 PM
> To: [EM
Is this generated by JBossCMP for MySql?
I would guess that in fact it is for Hypersonic. In this case you should set
pk-constraint to false. Because, Hypersonic does not allow IDENTITY and explicit
primary key constraint at the same time.
> -Original Message-
> From: [EMAIL PROTECTED]
User lowercased first characters for field names.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Laurent MARQUEZ
> Sent: Monday, March 29, 2004 12:56 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] [EJB/JBoss] EJB QL - jboss 3.2.3 -why i
>
Because it is not found in ejb-jar.xml
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Laurent MARQUEZ
> Sent: Thursday, March 25, 2004 3:32 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] CMP many-to-many
>
> Hi,
>
> I am usin
> 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
This XDoclet results in 1:m with relation table mapping (on my machine).
And it is in fact broken at the moment.
True m:n works fine for me.
Here is an example of unidirectional m:n
/**
* @ejb.interface-method
* @ejb.relation
*name="B-C"
*role-name="B-has-Cs"
*ta
It means the none of home interfaces contains
findAll.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
benoitSent: Wednesday, March 17, 2004 6:37 PMTo:
[EMAIL PROTECTED]Subject: [JBoss-user] problem with
finder findAll
Hi all,
I’m trying to inse
> the EJB 2.0 spec, section 9.8:
>
> "The result of comparing two object references using the Java
> programming language Object.equals(Object obj) method is unspecified.
> Performing the Object.hashCode() method on two object
> references that represent the entity object is not guaranteed
> to
Title: [JBoss-user] [Persistence & CMP/JBoss] - Re: Problem : CMR field cannot be null
A field is either a CMP or CMR, not both. CMP fields can be
mapped to foreign key columns.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rod
MacphersonSent: Friday, February 13, 2004
> > What do you mean by implicit use of sequences?
> Is it possible to have an incremental primary key without the
> usage of sequences?
UUIDKeyGeneratorFactory
key-generator-factory is the JNDI name under which an impl of
org.jboss.ejb.plugins.keygenerator.KeyGener
> Is there any way to have incremental primary keys without the
> explicit usage of sequences? If yes, how?
What do you mean by implicit use of sequences?
> What can I win with a unknown-pk declaration?
There is a paragraph in the spec about it called Special case Unknown
primary keys.
> Is th
yes
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Rafal Kedziorski
> Sent: Wednesday, February 04, 2004 6:20 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] JBossCPM problems ..
>
> hi,
>
> I've posted from 2004-01-21 to today three bugs
Yes, it is possible. Check this
http://www.mail-archive.com/[EMAIL PROTECTED]/msg3
9568.html
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Steffen Gransow
> Sent: Thursday, January 29, 2004 6:21 PM
> To: [EMAIL PROTECTED] Sourceforge. Net
> Sub
It works fine for me with statically encoded russian text and passed in as a
parameter.
String name = "XXX"; // some russian text
log.debug("avoka: " + home.findByName(name));
log.debug("avoka: " + home.select("SELECT OBJECT(o) FROM A AS o WHERE
o.name=?1", new Object[]{name}
Not yet. The spec does not allow to select more than one field.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Tuesday, January 27, 2004 5:31 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] ejb-ql problem
>
> Hi al
This is fixed now in JBoss-3.2.4RC1. Thanks.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Stephane Nicoll
> Sent: Friday, January 23, 2004 12:47 PM
> To: JBoss user (E-mail)
> Subject: [JBoss-user] IS (NOT) EMPTY EJBQL supported in JBoss
> f
In Instance Per Transaction container each transaction gets its own
cache of instances, i.e. each one get its own copy of persistent data.
And, thus, allows different transactions to access the same persistence
data at the same time.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailt
Please, submit a bug report and I will look at it.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Neal Sanche
> Sent: Thursday, January 22, 2004 12:56 AM
> To: jboss-user
> Subject: [JBoss-user] Commit Option A and ejbCreate
>
> Hi All,
>
> I
The OL and its tests where completely rewritten in
3.2.2.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
LuttrellSent: Saturday, January 17, 2004 2:55 AMTo:
[EMAIL PROTECTED]Subject: Re: [JBoss-user] How to
configure locking mechanism for EnityBean s -
If we didn't check any dirty flag you would not be able to
update the data.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boulatian,
MisakSent: Saturday, January 17, 2004 2:38 AMTo:
[EMAIL PROTECTED]Subject: RE: [JBoss-user] JBoss
3.2.3 commit option B or C
No, it does not depend on the container configuration anymore (AFAIR
since 3.2.2). You could configure OL with pessimistic locking. It does
not make sense unless in a cluster.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Adrian Brock
> Sent: S
No, at the moment OL is condfigured per entity.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Sasidharan, Manoj
> Sent: Saturday, January 17, 2004 2:00 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] How to configure locking mechanism for
Why don't you try to run CMP2.0 version of your app on
3.2.1 and see whether it's true.
What your experience shows is that CMP1.1 app is faster
than CMP2.0.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boulatian,
MisakSent: Friday, January 16, 2004 10:22 PMTo:
It works for me with 3.2.4RC1. I belive my testcase would work for me in
3.2.3 too. Could you provide me with your testcase?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Panagiotis Korros
> Sent: Friday, January 16, 2004 1:27 PM
> To: [EMAIL P
It's legal.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ed
banfaSent: Friday, January 16, 2004 12:30 PMTo:
[EMAIL PROTECTED]Subject: [JBoss-user] EJB QL: is
this possible?
Hello,
Assuming I have a CMPBean with an abstract schema name of My
> Lastly could I ask if u
know of a non jboss specific way to know when a CMP Bean is
modified??
The spec does not define it, so, the answer is
no.
It is called detachment, i.e. an instance that represents persistent
data is read in one transaction, detached from it and then attached to
another (updating) transaction.
It is not possible in CMP.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
>
It was introduced in 3.2.2.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Luis
> Sent: Friday, January 16, 2004 5:32 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [JBoss-user] Help with JBossQL
>
> I have implemented a dynamic query using xdoclet as
There is an optimistic locking strategy that could be what
you are intersted in. It is configured in jbosscmp-jdbc.xml
version
ol_timestamp
TIMESTAMP
DATETIME
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
o use the JbossQL to get a SUM.
> Could someone enlighten me please? It should have been simple...
>
> -D
>
> --__--__--
> Subject: RE: [JBoss-user] RE: jboss4 and EJB2.1 ejb-ql?
> Date: Mon, 12 Jan 2004 16:25:24 -0600
> From: "Alexey Loubyansky" <[EMAIL PROTE
Did you modify standardjbossXXX.xml files in the conf dir? Make sure
is in standardjbosscmp-jdbc.xml
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Hans Lund
> Sent: Wednesday, January 14, 2004 5:10 PM
> To: [EMAIL PROTECTED]
> Subject: [JB
JBossQL supports MAX function in SELECT that takes a CMP field as an
agrument. Hence, you should use ejbSelect.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Luis
> Sent: Wednesday, January 14, 2004 3:56 PM
> To: [EMAIL PROTECTED]
> Subject: [JBo
You could use commit option A with optimistic
locking.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boulatian,
MisakSent: Wednesday, January 14, 2004 7:48 PMTo:
[EMAIL PROTECTED]Subject: [JBoss-user] JBoss
clustering with commit option B or C too slow
o.store = ?1) AND (o.transday=?2))"
> **/
>
> p.s. seems silly to declare an ejb.select for a JbossQL SUM
> that you know will not work as expected outside of Jboss.
>
> TIA!!
> -D
>
> Subject: RE: [JBoss-user] jboss4 and EJB2.1 ejb-ql?
> Date: Thu, 8 Jan 2004
There is
* @jboss.load-group name="basic"
On the class level it declares the load group. On the field level you
actually specify which fields comprise the group.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jonathan.O'[EMAIL PROTECTED]
> Se
As I understand, this is Oracle's new feature that is not
backward compatible and resulted in a bug in JBossCMP default type mapping that
is fixed now.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of shubhu
muttaSent: Friday, January 09, 2004 5:47 AMTo:
[EMAIL
Check these change notes. EJB2.1 is not yet supported but you can do it
in JBossQL in 3.2 and HEAD.
[ 794199 ] Functions in SELECT clause
http://sourceforge.net/tracker/?func=detail&aid=794199&group_id=22866&at
id=381174
[ 815115 ] JBossQL: SUM, AVG, MAX, MIN
http://sourceforge.net/tracker/?func=d
The spec does not disallow it and there is a chance that it will be
supported in future releases.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Hanson, Matthew
> Sent: Tuesday, January 06, 2004 3:12 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [
Nothing should be changed in ejb-jar.xml. This is set
up in jbosscmp-jdbc.xml. The following field will be
auto-incremented:
myId
Also
the entity which has auto-incremented primary key should specify an
entity-command that implements specific auto-incrementation. For MySql it
i
t exactly what I am hoping to do.
>
> In my case, the primary key from B is simply not relevent to
> A, and B contains a non-primary-key field linking it to A.
If it references A's primary key, it is a mapping issue. It should work.
>
> Does this now make sense?
>
>
To fix what exactly?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Darren Hartford
> Sent: Wednesday, December 24, 2003 7:52 PM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] java.util.Date with Jboss3.2.3
>
> Hey all,
> Using CMP and JBoss3.
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?
Here is an example for 1:1 unidirectional relationship from B to A:
In B:
/**
* @ejb.relation
*name="A-B"
*role-name="B-has-A"
*target-ejb="A"
*target-role-name="A-belongsto-B"
*target-multiple="false"
* @jboss.relation
*related-pk-field="i
Here is an example for 1:1 unidirectional relationship from B to A:
In B:
/**
* @ejb.relation
*name="A-B"
*role-name="B-has-A"
*target-ejb="A"
*target-role-name="A-belongsto-B"
*target-multiple="false"
* @jboss.relation
*related-pk-field="
JBoss' user mailing list is jboss-user at lists dot sourceforge dot net, not
alex at jboss dot org.
JBoss-3.2.2 does support MAX() function but in JBossQL, not EJB-QL. And you
must use ejbSelect instead of finders.
> -Original Message-
> From: netanel weinberg [mailto:[EMAIL PROTECTED]
>
So what is causing the SQLException? Incorrect SQL?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Rod Macpherson
> Sent: Wednesday, December 24, 2003 12:34 AM
> To: [EMAIL PROTECTED]
> Subject: [JBoss-user] Cannot access EJB with multiple CMR
So it means ps.setObject(index, value, jdbcType) does not work with this
driver. It is definitely not JBoss' fault. To be sure, you could try the
previous JBoss with the new Oracle.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Frank Langelage
Because you mapped the foreign key to the primary key field with this:
* @jboss.target-relation fk-column="recipe_grain_id"
* related-pk-field="recipeGrainId"
Just removed it.
---
This SF.net email is sponsored by: IBM Li
It should work fine as it does for me. What JBoss version are you using? Do
you have a testcase?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Hanson, Matthew
> Sent: Tuesday, December 23, 2003 5:00 PM
> To: '[EMAIL PROTECTED]'
> Subject: [JBos
Can you package the failing bean separately and send it to me directly?
netanel weinberg wrote:
i'm getting that error on deploying:
I'm trying to use my EJB CMP and getting this error:
...
Depends On Me: org.jboss.deployment.DeploymentException: Couldn't create
entity command: ; - nested throwa
Could you increase the log level to debug for org.jboss.ejb.plugins.cmp
and see what's wrong with the issued SQL.
Do you use composite or simple primary keys?
Olve S. Hansen wrote:
In jboss 3.2.2 I deployed to my InnoDB MySql without problems, but with
3.2.3 I experience problems generating for
EJBQL does not allow >=/<=, for example, for strings, dates. This all
works in JBossQL.
Darren Hartford wrote:
Hey all,
Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains
'>=' or '<='?
-D
---
This SF.net
xmls files and i'm using JBOSS
3.2.2
- Original Message -
From: "Alexey Loubyansky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 17, 2003 12:00 PM
Subject: Re: [JBoss-user] problem with deploying EJB CMPs
Have you changed the defau
Sometimes, there is. Depends on the query.
Darren Hartford wrote:
Hey all,
Is there any reason why Jboss 3.2.2 throws an exception when an EJB-QL statement contains
'>=' or '<='?
-D
---
This SF.net email is sponsored by: IBM Linux Tutorials.
B
This is the problem on your side, probably. Can you check it with your
admins?
Also, there are some searchable archives on the net, for example,
mail-archive.com.
My answer was that there is no element in neither ejb-jar.xml nor
jbossXXX.xml that configures inheritance. Your question for me is
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 entit
What is your JBoss version?
There is no mssql command in 3.2.0;
In 3.2.1 I can see
org.jboss.ejb.plugins.cmp.jdbc.mssql.JDBCMsSQLCreateCommand.java but it
is not in standardjbosscmp-jdbc.xml. Here are the comments for it:
/**
* JDBCMsSQLCreateCommand executes an INSERT INTO SQL
statement
* u
Have you changed the default entity-command in standardjbosscmp-jdbc.xml
or in jbosscmp-jdbc.xml?
What JBoss version are you using?
netanel weinberg wrote:
I'm deploying my jar file with some EJB CMPs and one session bean and
getting an error in my last EJB CMP deploying
i'm deploying in the jar
Is mssql-fetch-key not there?
Ramrakhiani, Vikas wrote:
Hi,
I am looking for class which implements auto increment of PK in MSSQL.
I saw that such a class is specified for MySql in standardjbosscmp-jdbc.xml
:-
class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand"/>
I can't understand what you are trying to achieve. But there is nothing
in ejb-jar.xml that configures inheritance.
forge wrote:
Thanks. Alex
I only don't know how to configure ejb-jar.xml to implement inherit.
Can you give me a sample?
Regards,
Forge
--
I thought you used jboss.xml.
Do you use CMP1.1? What is the exception?
PS: please, keep it on jboss-user
forge wrote:
Hello, Alex
I couldn't find jboss in server/default/conf directory,
but there is a standardjboss.xml.
And I found the following lines in it:
org.jboss.ejb.plugins.cmp.jdbc.JDBCS
http://java.sun.com/dtd/ejb-jar_2_0.dtd
http://java.sun.com/products/ejb/docs.html
netanel weinberg wrote:
is there any spec. of something like that of ejb-jar.xml for cmp 2.0 so i
can look on 'cause i've tried once and JBOSS gave alot of erros about the
JDBC factory and something...
-
Yes, since you're going to use CMP2.0
netanel weinberg wrote:
should i transfer all my classes and set/get methods to be abstract?
- Original Message -
From: "Alexey Loubyansky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 4:38
Why don't you try with
http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
?
netanel weinberg wrote:
I don't know what do about my problem with my ejb-ql finder method!
it giving me back a collection according to only one parameter and not
according to both of them.
plz look at the attached file and te
You can but it is not required.
netanel weinberg wrote:
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the
ejb-ql methods in the JBOSS's xml files too
except for the ejb-jar.xml file?
---
This SF.net email is sponsored
First of all, what do you mean by iheritance in CMP?
forge wrote:
Hello,
I have three entity beans, UserEB, AdvancedUserEB and AnonymouseUserEB.
Both AdvancedUserEB and AnonymouseUserEB inherit from UserEB.
I created them in WAS5 and they ran well.
Don't they run in JBoss? What is the probl
EJBQL is introduced in CMP2.0. It means it won't work with 1.1.
jboss.xml and jbosscmp-jdbc.xml are optional.
The number of parameters are not limited.
netanel weinberg wrote:
Hi!
my application is deployed w/o any errors.
my dtd is :
http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>
DB2
java.lang.Object
JAVA_OBJECT
BLOB(2000)
Need I modify it?
Regards,
Forge
Message: 8
Date: Fri, 12 Dec 2003 14:09:04 +0200
From: Alexey Loubyansky <[EMAIL PROTECTED]>
Organization: JBoss Group Europe
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user]
Pozhalusto!
Rafal Kedziorski wrote:
Privjet Alexey,
it's working. thx.
Rafal
---
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn e
Why do you think it is not deployed correctly?
Sasidharan, Manoj wrote:
Hello All,
JDK 1.3.1
We are trying to use JBoss 3.2.2 on HPUX11. The server comes up, but the
application does not get deployed correctly.
Everything works fine on a Sun Solaris and Windows box.
Thanks in advance for takin
You can fetch entities in a specific order using JBossQL and ORDER BY
clause.
If you want to merge collections of entities, then you could use
java.util.Comparator.
Gary S. Cuozzo wrote:
I'm interested in sorting a collection of entities that are retrieved
using multiple finders. Any suggestio
Boulatian, Misak wrote:
Hi,
We have a big problem using EJB 2.0 with jboss. We use Updatable Value
Object Pattern (currently, Transfer Object Pattern). This means we have
individual get and set methods in entity bean's remote interface and
also have setData methods to make changes in entity be
[EMAIL PROTECTED] wrote:
The generator I have in mind will increment the values.
Where do you plan to store the values? Database?
In the interfaces, I cant see some init(startValue) method or something
similar. This method should be there and should be called on initializing
the generator.
Couldn'
Rafal Kedziorski wrote:
At 17:30 12.12.2003, Alexey Loubyansky wrote:
Yes, I have.
I try on monday update or new check out.
It's absolutely ok.
I will test myself also. There is an issue with ORDER BY. Currently, it
is added at the end of the statement, while, at least for MySql it
shou
The fix is already committed.
Rafal Kedziorski wrote:
At 17:21 12.12.2003, Alexey Loubyansky wrote:
Ok. There is one more bug in this regard. It does not work with an
empty WHERE clause. I am fixing it.
.. o.k. than monday.
---
This
Yes, I have.
Rafal Kedziorski wrote:
At 17:03 12.12.2003, you wrote:
I fixed it in Branch_3_2. Now the row-locking-template is used instead
of hardcoded FOR UPDATE OF.
Please, help me test it, so that you won't be disappointed with the
next release.
Thanks.
Have you commited this files? I di
Ok. There is one more bug in this regard. It does not work with an empty
WHERE clause. I am fixing it.
Rafal Kedziorski wrote:
At 17:03 12.12.2003, Alexey Loubyansky wrote:
I fixed it in Branch_3_2. Now the row-locking-template is used instead
of hardcoded FOR UPDATE OF.
Please, help me test
I fixed it in Branch_3_2. Now the row-locking-template is used instead
of hardcoded FOR UPDATE OF.
Please, help me test it, so that you won't be disappointed with the next
release.
Thanks.
Rafal Kedziorski wrote:
hi,
At 14:49 12.12.2003, you wrote:
Sorry, this is my fault. row-locking = "tru
Works for me. How do you configure the relationships? Do you have a
testcase?
Heinz-Dieter Conradi wrote:
hi all,
i have just encountered the following problem, and i just don't know if i
am doing something really stupid or if i have run into a limitation of the
spec/jboss...
i have an entity be
[EMAIL PROTECTED] wrote:
I have seen the UUIDKeyGeneratorFactory, where can I find information
about how to write my own factory ?
You need to implement two interfaces:
org.jboss.ejb.plugins.keygenerator.KeyGeneratorFactory and
org.jboss.ejb.plugins.keygenerator.KeyGenerator.
Check the org.jboss.
It's absolutely ok. You just need to configure the mapping, i.e.
jdbc-type and sql-type. Do you specify both yourself or use the defaults?
forge wrote:
Hello,
One of my tables has a blob type column, and I created a byte[] type field
in my CMP to map it.
But when calling home.create(id),
First of all, get your application deployed w/o errors. Perhaps, the DDs
do not match their DTDs. What are the stacktraces?
netanel weinberg wrote:
Hello!
i have a web application i built using EJB and i'm trying to make an ejb-ql
according to two parameters:
findByCo
You could use stateful session bean for beginning/committing
transactions and optimistic locking in entity beans.
The possible problem is the transaction timeouts.
Probably, you would like to use Instance Per Transaction container for
this setup.
Alternatively, you have to use value objects are s
select max() is not safe. Look at standardjbosscmp-jdbc.xml file for
entity-commands for avaliable key generations.
[EMAIL PROTECTED] wrote:
Hello, everyone
I have a Entity Bean with a String as PK.
The String consists of the characters [0-9]and[A-Z].
My approach is to get the latest key from t
? I'm currently using JBoss 3.2.2.
Or do I have to configure my beans in some other way in jboss.xml?
Thanks,
Harm de Laat
Informatiefabriek
The Netherlands
Alexey Loubyansky <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/11/2003 02:28 PM
Please respond to
[EMAIL PROTECTED]
To
Sorry, editted version of my response...
If a bean/method has a read-only true in jboss.xml it is not associated
with the transaction and is not participating in synchronizaion when the
tx commits and remains in the cache.
This issue was reported recently and it seems to me Adrian fixed it.
AFA
If a bean/method has a read-only true in jboss.xml it is not
participating in synchronizaion when the tx commits and remains in the
cache.
This issue was reported recently and it seems to me Adrian fixed it.
AFAIK, the instance will be evicted from the cache unless it configured
option A. The n
This is a known issue. No way, at the moment.
forge wrote:
Hello, everyone
I developed a J2EE project by jbuilder9 + jboss 3.2.2,
The deployment has succeeded but when I tested,
it reported "SQL: DB2ADMIN.user undefined name" error.
The user table has been created but its schema name is
Unfortunately, you can't use this kind of key generation with
insert-after-ejb-post-create.
[ 784322 ] INSERT after ejbPostCreate
http://sourceforge.net/tracker/?func=detail&aid=784322&group_id=22866&atid=381174
By the spec (and current implementation), the primary key should be set
in ejbCreate
Key generation commands in 3.2.1 are different from those in 3.2.2. In
3.2.2 you should have for generated fields.
Could check whether key generation work for you w/o mapping foreign key
fields to the primary key fields?
Hanson, Matthew wrote:
Hi
Just another FYI on the null primary key for
The same way as non primary key fields.
Jeremy Rempel wrote:
Hi,
In jbosscmp-jdbc.xml how do I map primary key fields to a certain
database field? I can map the regular fields easily.
Thanks, Jeremy
---
This SF.net email is sponsored by: IBM
There was a bug in foreign key handling. When the relationship was
modified on one side while the other side was not yet loaded, then when
this other side was loaded from the database (already outdated) foreign
keys where not properly handled. Perhaps, this could affect your
application.
Unfort
Is the column in the database was created with IDENTITY attribute?
Hanson, Matthew wrote:
Hi--
Well, I added the auto-increment tag to jbosscmp-jdbc.xml, and the null
primary key exception is still thrown:
---
This SF.net email is sponsored b
The auto incremented/generated field should have in
jbosscmp-jdbc.xml
---
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift
-Original Message-
From: Alexey Loubyansky [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 3:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Container Responsibility for CMR Foreign Keys
By the spec, you may not establish relationships in ejbCreate but may in
ejbPostCreate.
By default
1 - 100 of 419 matches
Mail list logo