Hi jaikiran, hi ALRubinger,
thank you for your replies and your hints. I have the same anticipation, that
in my application is something wrong with the classes (and class-loaders).
My question now is how an ear-file is best packed and with which structure?
I am developing in eclipse and I
Hi all,
I am using JBoss 4.2.2GA and Java(TM) SE Runtime Environment (build
1.6.0_05-b13) for my development environment.
I have a stateless session bean called UtilityBean and an interfaces called
UtilityBeanLocal, marked with @Local and the bean marked with @stateless and
implements
Hi all,
I am sorry, but i cannot get it working. I have three tables with a PK beeing a
single attribute. And then I have another table, with three attributes each
referencing the PK of one table. And these three attributes are at the same
time the PrimaryKey (PK)
SQL looks like this:
|
Yes, that worked, thank you very much. :-)
Thomas
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4086619#4086619
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086619
___
Thank you very much for your answer - but I think your suggestion will not
work, because the Entity PartyIsPerson extends the Entity Party, which has a
generated key like this:
@Id
| @SequenceGenerator(name=party_id, sequenceName=seq_partyid)
|
Yes, thats right, in the meanwhile, the line with setting the ID explicitly is
removed now. That line was for test-purpose, so now there is only the automatic
generation, which is working - still except storing of the nested customization
with the same new generated key...
Any ideas?
View the
Hi waynebylor,
thank you for your answer - sorry, i forget to attach the code. Here it is:
package com.auctonova.ejb.persistence;
|
| import java.io.Serializable;
|
| import javax.persistence.Entity;
| import javax.persistence.Column;
| import javax.persistence.Id;
| import
Hi all,
I am running into troubles with the cascdetype, Please imagine the following
szenario:
SQL (tables)
| CREATE TABLE Party (
| PartyID BIGINT DEFAULT nextval('seq_PartyID') NOT NULL,
| CONSTRAINT PK_Party PRIMARY KEY (PartyID)
| );
|
| CREATE TABLE PartyIsPerson (
Hi all,
i get the following AnnotationException, and i donĀ“t know why?
SQL:
| CREATE TABLE Party (
| PartyID BIGINT DEFAULT nextval('seq_PartyID') NOT NULL,
| DateAdded TIMESTAMP DEFAULT current_timestamp,
| ActiveUntil TIMESTAMP,
| CONSTRAINT PK_Party PRIMARY KEY