Hello Stefan,
it should not happen. First, a table is created. Then, foreign key
constraints are generated only if the related table exists.
What JBoss version you are using?
alex
Thursday, August 14, 2003, 6:57:18 PM, Stefan Schubert wrote:
> Hi there,
> I got an ugly deployment problem her
The only way is to introduce non null CMP fields and initialize them
in ejbCreate.
alex
Tuesday, August 05, 2003, 9:17:46 PM, Rod Macpherson wrote:
> Background
> JBoss executes a commit between ejbCreate and ejbPostCreate but we do
> not add CMP relationships until ejbPostCreate. This can ca
No, sync-on-commit-only does not affect INSERT after ejbCreate.
alex
Tuesday, August 05, 2003, 9:35:51 PM, Gavin Matthews wrote:
> Rod,
> I believe what you want is to make the CMR column nullable (in ejbCreate
> JBoss inserts the row with the CMR field set to null). This is then updated
> afte
> benefits of a NOT NULL foreign key.
> Perhaps I am missing something!
> Thanks
> Troy
> ---
> Date: Sat, 2 Aug 2003 16:31:57 +0300
> From: Alexey Loubyansky <[EMAIL PROTECTED]>
> Organization: JBoss Group, LLC
> To: "Poppe, Troy" <[EMAIL PR
Yes, something like that in hsqldb-ds.xml
alex
Monday, August 04, 2003, 12:35:44 PM, Rafal Kedziorski wrote:
> hi,
> WebLogic has an option to check the connection defined by:
> testTable
> (Required only if you set refreshTestMinutes, testConnsOnReserve, or
> testConnsOnRelease.) T
Perhaps, restart managed connection factory service, I am not sure
whether it is enough, though.
alex
Monday, August 04, 2003, 12:46:10 PM, Rafal Kedziorski wrote:
> At 12:02 04.08.2003 +0300, Alexey Loubyansky wrote:
>>Hello Rafal,
>>
>>it looks like a problem in connectio
Hello Michael,
Accessing entity beans w/o tx is considred bad by the EJB2.0 spec.
"For entity beans that use EJB 2.0 container-managed persistence, only the Required,
RequiresNew, or Mandatory transaction attributes should be used for the methods
defined in the
beans component interface and all
Hello Rafal,
it looks like a problem in connection to MySql.
alex
Monday, August 04, 2003, 11:25:50 AM, Rafal Kedziorski wrote:
> hi,
> we had following problem. We are working with JBoss 3.2.2RC2, MySQL 4.0.14
> (only with InnoDB tables) and Sun Java 1.4.2 and IBM Java 1.4.1 on Linux.
> Out
Hello Christofer,
actually, you can say just nothing about primary keys in relationships
and it'll work.
Another way, is to give a name to unknown-pk field and use that field
in relationship definition in jbosscmp-jdbc.xml.
I just tried, both ways work.
alex
Sunday, August 03, 2003, 2:26:45 PM,
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 data
Hello Juraj,
what is the packaging structure?
alex
Friday, August 01, 2003, 6:27:54 PM, Juraj Lenharcik wrote:
JLtsc> Hello,
JLtsc> I want to connect my EAR App and get this exception:
JLtsc> javax.naming.CommunicationException [Root exception is
java.lang.ClassNotFoundException: com.test.Tes
Hello Jonathan,
any stacktrace?
alex
Friday, August 01, 2003, 6:33:12 PM, Jonathan O'Connor wrote:
JOCxd> Hi,
JOCxd> I'm using JBoss 3.0.6, and I'm migrating from Oracle 9i to Sybase 12.0
JOCxd> One of my unit tests is failing because I have a column in a table defined
JOCxd> as NUMERIC(10,7).
Hello Ittay,
you have to understand how finders work.
First, finders always executed against the datastore.
Second, by default, when finder is executed, synchronization occurs.
It means cached in the tx entities are flashed to the datastore before
the finder is executed. For example, you have a fi
any pointers on possible config settings that could
GM> possibly cause the behaviour I'm seeing. For now I'm going to move this
GM> setup to a clean machine and start over (just to rule out any environmental
GM> issues), and I'll let you know how it goes.
GM> thanks,
G
Ittay, I recommend you to check "Entity Bean Locking and Deadlock
Detection" chapter in JBoss Admin and Devel book.
alex
Wednesday, July 30, 2003, 1:53:38 PM, Ittay Dror wrote:
ID> On Tue, 2003-07-29 at 15:54, Alexey Loubyansky wrote:
>> Hello Davide,
>>
>> let&
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
I explained it yesterday in one of the emails.
Locks are released when tx is committed or rolled back.
alex
Wednesday, July 30, 2003, 7:27:44 AM, Ittay Dror wrote:
ID> On Tue, 2003-07-29 at 14:57, Alexey Loubyansky wrote:
>> ID> the code is from xpetstore (this is not the code whic
There is Tracker. Use Feature request for it.
Thanks,
alex
Tuesday, July 29, 2003, 4:37:23 PM, Ionel Gardais wrote:
IG> I can't find the JBoss' JIRA page and the sf.net tasks list page is
IG> forbidden to me ...
IG> where to point my browser to get the JIRA for JBoss ?
IG> As it is not a bug,
Yes to both.
alex
Tuesday, July 29, 2003, 3:18:56 PM, Ionel Gardais wrote:
IG> Alexey Loubyansky wrote:
>>IG> Is there a way to override this limitation ?
>>IG> For example, can I specify the database inside the EJB/JBOSS-QL query ?
>>IG> (as in SQL, database.t
Hello Davide,
let's consider a simple case. There are two entity beans BeanA and
BeanB. And two threads/transactions T1 and T2 accessing these beans.
Accessing in the same order:
T1: -> BeanA -> BeanB
T2: -> BeanA -> BeanB
Accessing in the opposite order:
T1: -> BeanA -> BeanB
T2: -> BeanB -> Be
Try to investigate it. If you are using commit option B or C, a quick
solution could be to switch to Instance Per Transaction container
configuration.
alex
Tuesday, July 29, 2003, 1:50:22 PM, Ittay Dror wrote:
ID> On Tue, 2003-07-29 at 10:53, Alexey Loubyansky wrote:
>> Hello Ittay,
>
Tuesday, July 29, 2003, 12:19:27 PM, Ionel Gardais wrote:
IG> Hi Alex,
IG> Is there a way to override this limitation ?
IG> For example, can I specify the database inside the EJB/JBOSS-QL query ?
IG> (as in SQL, database.table.field)
Unfortunately, no.
IG> This problem (which appears not to be
from jbosscmp-jdbc_3_2.dtd
alex
Tuesday, July 29, 2003, 11:07:57 AM, Ionel Gardais wrote:
IG> Hi agan,
IG> I tried the following :
IG> - delete the default datasource
IG> - specify a per-bean datasource for each beans
IG> With this, the relation-tables are created in the Hypersonic databas
Hello Ionel,
it is a limitation. I guess, the generated SQL spans two datasources.
Hence, it can't be executed. You should use the same datasource.
alex
Tuesday, July 29, 2003, 10:36:08 AM, Ionel Gardais wrote:
IG> Hi,
IG> I am facing a strange problem with CMR.
IG> Here is the background :
I
Hello Brian,
besides using LOBs, AFAIK, the only choice is DVC. Something like
this:
A phone number
org.jboss.docs.cmp2.crimeportal.PhoneNumber
areaCode
area_code
exchange
exchange
Hello Ittay,
the deadlock, probably, occurs in value object creation. So, pay
attention to it or post more details/code snippets.
alex
Tuesday, July 29, 2003, 8:19:45 AM, Ittay Dror wrote:
ID> Hi,
ID> The message in the subject happens with the following scenario:
ID> 1. A stateless session be
Hello Anton,
this is not a good idea.
First of all, you should use BMT if you choose to manage transactions
yourself.
Second, connection pool can quickly run out of the number of available
connections. SLSB are pooled. In your case connection is established
per SLSB instance. This means you should
Hello Raghuram,
I guess, the bean should be created successfully. It is just a
info-stacktrace.
Do you open connections yourself somewhere in the code?
alex
Monday, July 28, 2003, 11:04:08 AM, Raghuram Raghuram wrote:
R> hi,
R> i get the following error when i am trying to create an entity thro
should look
GM> for? Where in the code should I focus my efforts to figure out what's
GM> happening - at a rough high-level guess it looks like something is wrong
GM> with the caching of objects at a transaction level, any way I can easily
GM> prove/disprove this?
GM> thanks,
GM
Hello Janardhan,
you're right, Set is not allowed as the return type for a finder.
Sorry for confusion.
alex
Monday, July 28, 2003, 10:47:14 AM, Janardhan Burugupalli wrote:
JB> one short question regarding the return type Collection or Set..
JB> I thought a finder always returns a Collection
Hello Ionel,
if finder's return type is a local interface then if the entity is not
found, FinderException is thrown.
If finder's return type is Collection or Set then if no entity is
found an empty Collection or Set is returned (w/o exception).
alex
Friday, July 25, 2003, 4:53:08 PM, Ionel Gard
Hello Rafal,
first of all, finders allow you to fetch only local interface[s], not
entity's fields.
ejbSelect methods allow you to fetch one field per ejbSelect.
So, you should declare ejbSelect method like:
/**
* @ejb.select query="SELECT DISTINCT mp.mediaId FROM Media2Project WHERE mp.projectId
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
adeem
NB> the On ?, 2003-07-24 at 09:29, Alexey Loubyansky wrote:
>> Hello Nadeem,
>>
>> when I wrote it, I asked on the list whether someone is interested in
>> it for 3.2 branch. No one showed interest. So, I didn't back port it.
>> For what would you need it
Hello Nadeem,
when I wrote it, I asked on the list whether someone is interested in
it for 3.2 branch. No one showed interest. So, I didn't back port it.
For what would you need it?
Thanks,
alex
Thursday, July 24, 2003, 7:04:08 PM, Nadeem Bitar wrote:
NB> Is the HiLo key generator present in 4.
Hello Sven,
this your sequence:
> client -> a.init() "required" -> a.initMessage() "required" ->
> message.create() "required" -> sequenceService.getNextSequenceNumber()
> "required" -> sequence.getValueAfterIncrementingBy "RequiresNew"
after entity bean is created, it is locked by the tx in whic
;
MJL>
MJL> java:/jaas/other
MJL>
MJL>
MJL> TradingAccount
MJL>
com.mkeym.customsec.ejb.TradingAccountSecurityProxy
MJL>
MJL> jdbc/DB2DBA
MJL> DB2DBA
MJL>
MJL>
MJL&g
Hello Martin,
what are the DDs for TradingAccount?
alex
Tuesday, July 22, 2003, 11:52:11 PM, Martin LaJeunesse wrote:
MJL> I haven't had much luck getting past this error. I've been migrating from 3.0.6
to 3.2.1, using DB2. I'm getting this error on both a Win box and Linux. Follows the
db2-d
I just wrote what is necessary. I didn't try this specific way of
packaging. Could you try it and let us know, please?
Thanks,
alex
Monday, July 21, 2003, 4:15:01 PM, Ionel Gardais wrote:
IG> Alexey Loubyansky wrote:
>>You should package and deploy the app making sure th
The problem is that the classes from the packages are not visible to
each other due to classloader architecture.
You should package and deploy the app making sure the JAR with DDs
defining relationships sees all the needed classes.
alex
Monday, July 21, 2003, 3:09:29 PM, Ionel Gardais wrote:
IG>
Yes, exactly.
10.3.4.1 Remove methods
"When the remove method is invoked on an entity object, the container
must invoke the entity Bean Provider’s ejbRemove() method as described
in Section 10.5.3. After the bean provider’s ejbRemove() method
returns (and prior to returning to the client), the Con
Hello Ingo,
yes, you have to check it yourself. If the schema you use has database
constraints, then the db won't let you remove the parent.
alex
Monday, July 21, 2003, 12:14:35 PM, Ingo Bruell wrote:
IB> -BEGIN PGP SIGNED MESSAGE-
IB> Hash: SHA1
IB> Hi Alex,
>> it might be really con
Hello Ingo,
it might be really confusing.
If you need parent-child relationships, where child is removed when
its parent is being removed, you should use cascade-delete. This is by
the spec.
Foreign key constraints are used only for database schema generation.
alex
Friday, July 18, 2003, 2:09:1
Hello Tom,
Friday, July 18, 2003, 9:05:18 AM, Tom Armistead wrote:
TA> Is there a way to force the update of a database column from a CMP bean,
TA> even if the data for that column has not changed?
Unfortunately, no.
alex
TA> I can do this with BMP, but seems like a good amount of overkill fo
Hello Ionel,
cascade-delete, if set, should be on the many side. So,
cascade-delete.
alex
Wednesday, July 16, 2003, 9:38:14 AM, Ionel Gardais wrote:
IG> Hi,
IG> Considere three beans A, B and C. (B and C are two instance of the same
IG> kind)
IG> B and C knows A but A does not know B or C (un
Hello Carsten,
are you sure the primary key field consists of only one field? If so,
could you provide me with a testcase?
Thanks,
alex
Tuesday, July 15, 2003, 1:15:25 PM, Carsten Hammer wrote:
CH> Hi,
CH> What does this mean?
CH> 11:57:10,924 INFO [StatelessSessionInstancePool] Started
CH>
ould be able to do it then as well, but I am not sure.
CH> I thought of having two creater methods, one with a parameter for the
CH> primary key and one without.
CH> It has to through an exception if the primary key exists but that is
CH> something I could handle then.
CH> Best regar
Hello Carsten,
by autoincrement you mean that the column is autoincremented by
the database, right?
My question is, does the database you use allow you to write to a
column that is managed by the database? I would guess, the answer is
no. And, hence, JBoss can do nothing with it.
alex
Monday, Ju
I think, this is the case for unknown primary key.
alex
You can't add a another column to have a primary key?
--
Scott Stark
Chief Technology Officer
JBoss Group, LLC
Martin Vilcans wrote:
> Hi!
>
> A simple question: How do I create a CMP e
Hello Gavin,
you need to set sync-on-commit-only to true.
Custom container
true
alex
Saturday, July 12, 2003, 12:42:47 AM, Gavin Matthews wrote:
GM> Hi,
GM> I have a database table which has a not-null foreign key. At the moment I
GM> can't get cascade-delete to work
Hello Alexey,
what about other fields? Do their values correspond to the context
with the expected primary key or to the context that is actually
present?
When do you perform the check?
More details would really be appreciated.
Thank you,
alex
Thursday, July 10, 2003, 5:04:06 PM, Alexey Yudiche
Hello Ittay,
JBoss can lock the entity bean for you.
If you use the default container configuration (Standard CMP 2.x
EntityBean) and don't mark the methods in the entity bean as
read-only, once entity's method is called, the entity is locked and
other transactions will wait for lock release. The
this is our use of xdoclet. We're
using a version of 1.2 which was somewhere before b2 (we used a date tag). We've
applied a few patches for value
JS> object related things, but the dd's its generating are being marked against jboss
v.3.0. I am separately working on trying to fi
Hello Javier,
- if you change locking policy to pessimistic (in 3.2.1) does
reentrance occur?
- could you describe the situation when it occurs?
- how do you configure optimistic locking?
Thanks,
alex
Wednesday, July 09, 2003, 3:31:49 AM, Javier Soltero wrote:
JS> Hi,
JS> We're in the proc
Hello Peter,
at the moment, you can specify only the commands that create entities.
The only way around is to add/implement this facility.
Also, note, in 3.2.2 [create] entity commands got major refactoring.
alex
Tuesday, July 08, 2003, 11:06:55 PM, Peter Spiess wrote:
PS> If I understand how J
tch related objects and the statement
is executed against one datasource, of course. So, it doesn't work at
the moment.
It is still be implemented.
Thanks for the feedback!
alex
PS> I hope to delve deeper into JBossDO shortly.
PS> Peter
>> -Original Message-
>
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:
>>
>
java.lang.ClassLoader.loadClass(ClassLoader.java:282)
RK> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
RK> at
RK>
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.init(JDBCMySQLCreateCommand.java:42)
RK> at
RK>
org.jboss.ejb.plugins.cmp.j
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,
>>
>
Hello Rafal,
make sure there is mysql-get-generated-keys entity-command in
standardjbosscmp-jdbc.xml.
What version are you using, BTW?
alex
Monday, July 07, 2003, 2:52:20 PM, Rafal Kedziorski wrote:
RK> hi,
RK> I'm porting our sql script from PostgreSQL to MySQL. This works. But I get
RK> an
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
t's discuss it.
Thank you,
alex
MT> Regards,
MT> Marco
MT> - Original Message -
MT> From: "Alexey Loubyansky" <[EMAIL PROTECTED]>
MT> To: "Marco Tedone" <[EMAIL PROTECTED]>
MT> Sent: Thursday, June 26, 2003 9:51 AM
Hello John,
as to foreign key updates, I don't see it occuring. There is a
testcase in the testsuit and it passes (JBoss-3.2.2RC2).
* What JBoss version are you using?
* If it is not fresh, could you try to check out a fresh one and test
again?
Thanks,
alex
Friday, July 04, 2003, 10:59:59 PM
cvs is very slow for last time, I don't know why
>>
>> s> Thanks
>> s> Haris Peco
>>
>> s> On Friday 04 July 2003 06:24 pm, Alexey Loubyansky wrote:
>> >> Probably, you need to check it out again. I think that JAR was added
>> >> just i
thirdparty/trove/lib/trove.jar
alex
Saturday, July 05, 2003, 4:04:05 AM, snpe snpe wrote:
s> I checkout jboss-head more times.Where is trove.jar (which modul) ?
s> Sourceforge cvs is very slow for last time, I don't know why
s> Thanks
s> Haris Peco
s> On Friday 04 July 2
Hello John,
Friday, July 04, 2003, 10:59:59 PM, John Fawcett wrote:
JF> Hi,
JF> I have a cmp question:
JF> We have bean that consists entirely of CMP relationship fields. When we
JF> xml-encode this entity bean's contents, we simply want the primary key,
JF> and the foreign keys. In an effort t
Probably, you need to check it out again. I think that JAR was added
just in DR2.
I have a fresh copy and it compiles fine.
alex
Friday, July 04, 2003, 11:13:29 PM, snpe snpe wrote:
s> I try compile current cvs and get error
s> /u1/jboss/jboss-head/aop/src/main/org/jboss/aop/Advisor.java:11: pa
Brian,
do it in cold blood.
alex
Friday, July 04, 2003, 11:15:55 AM, Brian Wallis wrote:
BW> Is castor used in jboss (3.0.7 and 3.2.x)?
BW> We have removed the jar and it seems to start and run OK, but it would be nice
BW> to know that this won't cause problems
BW> A quick grep of the 3.0.7
Thursday, July 03, 2003, 7:18:56 PM, Bernhard Meyer-Willner wrote:
MWB> Hi,
MWB> seems like JBossDO in JBoss 4.0 DR2 is now meant to be fully compatible to
MWB> the JDO spec (apart from not being fully implemented yet)? Is this so?
It is not yet fully compatible. The goal is to be.
MWB> When
M
http://jboss.org/index.html?module=html&op=userdisplay&id=developers/projects/jboss/jbossdo
I am asked directly about JBossDO. So I decided to post some stuff on
the site even before the DR2 instead of answering personally to
everyone.
The pages are almost just written. But don't hold your
impres
How do you know that the cause is CMR?
alex
Wednesday, July 02, 2003, 11:45:21 AM, Christofer Dutz wrote:
CD> Hi,
CD> I am working on deploying the SPECjAppServer2002 on Jboss and am having
CD> trouble. I added the stacktrace and the part of the code which results
CD> in JBoss throwing the St
if (debugging)
CD> debug.println(3, "Stage 1 done");
CD> } catch (IllegalStateException e) {
CD> if (debugging)
CD> debug.println(1, "Illegal State exception ");
CD> throw new EJBException("Unable to process
Tuesday, July 01, 2003, 5:29:53 PM, Christofer Dutz wrote:
CD> Alexey Loubyansky wrote:
>>Hello Christofer,
>>
>>I recommend you to switch back to 3.2. 3.2 is our production branch.
>>EJB/CMP in 3.2 is more stable and feature reach at the moment.
>>
CD> Wel
Hello Christofer,
I recommend you to switch back to 3.2. 3.2 is our production branch.
EJB/CMP in 3.2 is more stable and feature reach at the moment.
alex
Tuesday, July 01, 2003, 2:51:54 PM, Christofer Dutz wrote:
CD> Hi,
CD> after a small break on my work with the SPECjAppServer2002 I finaly
Hello Janardhan,
JAWS was replaced with JBossCMP a long time ago and is not supported
anymore.
Sorry, I really don't know what is wrong with your finder.
alex
Tuesday, July 01, 2003, 12:03:42 PM, Janardhan Burugupalli wrote:
JB> Hi All,
JB> I have a finder defined in the jwas.xml like this bel
Hello Ittay,
because no one has implemented it yet. Hopefully, we could address it
in JBoss-4. Also, in JBoss-4, JBossQL compiler supports insert, update
and delete statements.
alex
Tuesday, July 01, 2003, 10:39:25 AM, Ittay Dror wrote:
ID> I was wondering why JBoss has dynamic ql (where a bean
Hello Pete,
yes, I'll write about what is not implemented yet, what is implemented
but not optimized yet and what is planned.
I will keep this page up to date.
And, remember, it is the first iteration.
alex
Monday, June 30, 2003, 9:51:36 PM, Pete Beck wrote:
PB> Hi guys,
PB> Will the docs ident
Hello Peter,
if everything is fine, we are releasing today. I am writting a docu at
the moment and sample application. It'll be made public soon on our
website.
alex
Monday, June 30, 2003, 7:43:58 PM, Peter Spiess wrote:
PS> Has anyone tried out JBossDO yet? I just checked out the latest sourc
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
Hello Felipe,
the generated SQL statement looks ok, isn't it?
Frankly, I don't know what causes this error.
You could try 3.2.2. AFAIK, the only difference is generated SQL in
3.2.2 uses SELECT SCOPE_IDENTITY() instead of SELECT @@IDENTITY. I am
not sure if it will help.
alex
Friday, June 27, 2
:56:58 PM, Jason Calabrese wrote:
JC> Alexey,
JC> Thanks for the suggestion, but it didn't solve the problem.
JC> Any other ideas?
JC> Jason
JC> On Wednesday 25 June 2003 11:19 pm, Alexey Loubyansky wrote:
>> Hello Jason,
>>
>> try to remove cascade-del
w could I implement it in the
MT> EJB CMP architecture?
MT> Marco
MT> - Original Message -
MT> From: "Alexey Loubyansky" <[EMAIL PROTECTED]>
MT> To: "Marco Tedone" <[EMAIL PROTECTED]>
MT> Sent: Thursday, June 26, 2003 7:12 AM
MT> Subjec
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
If there is no exception, the query was executed successfully.
alex
Thursday, June 26, 2003, 2:24:11 AM, Marco Tedone wrote:
MT> Hi, I'm trying to use a finder method which I defined with EJB-QL:
MT> The signature is as follows:
MT> public java.util.Collection findByEmailPassword(java.lang.Str
Hello Marco,
if the problem really is a primary key generation you could consider
entity-commands in JBoss-3.2.
The options are:
- database key generation (sequences, etc);
- custom sql;
- you can supply your own key generator class that will be asked for
the next key;
- JDBC3.0 PreparedStatemen
by JBossCMP. The strange
thing is this exception only occurs when
LL> the primary key is composed of a foreign key. Would you know if this is supported
in JBoss ?
LL> Alexey Loubyansky wrote:
>> Hello Louis,
>>
>> the exception is thrown from create method. It is the result
Magesh,
I think, it is a bug in JBoss.
alex
Wednesday, June 25, 2003, 3:08:45 PM, Magesh Prabhu wrote:
MP> Alex, I'm using BMP's.
MP> The id's displayed in the warn message is valid. The record definitely exist in
database.
MP> Cheers,
MP> Magesh
MP> On 6/25/
Hello Magesh,
Wednesday, June 25, 2003, 1:33:27 PM, Magesh Prabhu wrote:
MP> I'm getting this following warning. I went in to all my entity beans to check if
I'm doing any naughtly stuff with entity context. Everything looks fine. Could anybody
suggest me what could be
MP> the possible reason f
Hello Allan,
in JBoss-3.2 you can use
SELECT OBJECT(o) FROM MyBean o OFFSET ?1 LIMIT ?2
alex
Wednesday, June 25, 2003, 8:46:04 AM, Allan Kamau wrote:
AK> I would like to limit the number of EJB object
AK> references returned by an entity's home interface's
AK> finder method(s) through the corre
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, Louis
Hello Klaus,
it is not enough to tell what's wrong. Make sure the field is declared
for proper bean. Also you could get this exception in case of one side
in one-to-many relationship.
alex
Tuesday, June 24, 2003, 5:30:58 PM, Klaus Richarz wrote:
KR> Hello,
KR> I have about 15 CMP entity beans.
Hello Allan,
try to include the whole query into CDATA.
alex
Tuesday, June 24, 2003, 2:50:29 PM, Allan Kamau wrote:
AK> I am trying to write join queries in ejb-ql.
AK> This is my situation. I have three CMP entry beans,
AK> two of these entity beans are have a many to many
AK> relationship, so
inal Message -
MT> From: "Alexey Loubyansky" <[EMAIL PROTECTED]>
MT> To: "Marco Tedone" <[EMAIL PROTECTED]>
MT> Sent: Monday, June 23, 2003 8:03 AM
MT> Subject: Re: [JBoss-user] Jboss 3.2.1 Problems with table's relationship
>> Are you sure
Are you sure AddressBean.ejbCreate(AddressData aData) initializes all
fields properly?
alex
Monday, June 23, 2003, 12:41:38 AM, Marco Tedone wrote:
MT> Hi, it's me again. I created the table's relationship as shown by Jboss
MT> logging messages (don't consider the Numerator Table which is not re
Hello Jim,
it is also possible to generate primary key value for "known" primary
key. You'll need to mark the pk field as and define
an .
alex
Monday, June 23, 2003, 6:02:17 AM, Jim Giudicci wrote:
JG> Me again,
JG> Fortunately, there is a way for the container to
JG> dynamically generate a k
Does People's table have an 'addressId' column? It should.
alex
Sunday, June 22, 2003, 9:35:58 PM, Marco Tedone wrote:
MT> Hi, I deployed two entity beans, People and Addresses, with a relationship
MT> 1:1.
MT> The key field of Addresses is called addressId.
MT> Following the CMP specs (I beli
Hello Marco,
it is optional.
alex
Sunday, June 22, 2003, 8:19:32 PM, Marco Tedone wrote:
MT> Sorry, the question was uncomplete: shall I declare the
MT> element in the jbosscmp-jdbc.xml file?
MT> Thanks,
MT> Marco
MT> - Original Message -
MT> From: "Marco Tedone" <[EMAIL PROTECTED]>
Hello Andy,
could you upgrade to JBoss-3.2.2RC2 from CVS? The source code was
changed since 3.2.1 and the stacktrace doesn't help much.
Thank you,
alex
Saturday, June 21, 2003, 12:05:46 AM, Andy Pavlo wrote:
AP> Alexey, thanks for a quick reply. I have JBoss 3.2.1 running with Tomcat. I
AP> ma
Hello Andy,
provide the following info please:
- JBoss branch (3.0/3.2)
- exception stack trace
- are there foreign key fields and CMP fields that share the same column(s)?
alex
Friday, June 20, 2003, 7:13:22 PM, Andy Pavlo wrote:
AP> j2sdk 1.4.1_02
AP> JBoss w/ Tomcat 3.2.1
AP> Red Hat 8
AP>
Hello, Simone.
Thursday, June 19, 2003, 3:39:16 PM, Simone Milani wrote:
SM> Hi Davide,
SM> I posted a bug on the issue, but still got no reply yet.
SM>
http://sourceforge.net/tracker/index.php?func=detail&aid=738166&group_id=22866&atid=376685
The stacktraces are just different I wouldn't
301 - 400 of 419 matches
Mail list logo