Hi All,
In the instructions to install EJB 3.0 RC6 for jboss-4.0.3SP1
there is a warning given,
Because you patched 4.0.3SP1, the client jars in the jboss-4.0.3SP1/client
directory will be invalid. Build your client classpath from:
jboss-4.0.3SP1/lib
jboss-4.0.3SP1/server/all/lib
Hi All,
My development environment is jboss-4.0.3SP1 server and used
jboss-EJB-3.0_RC6-PFD to setup my jboss for ejb3.
Oracle10g.
I have two already existing tables for which i have created the beans.
|
| Parent table with columns PROFILE_ID(bigint) and PROFILE_NAME(nvarchar(64))
|
Hi JaiKiran,
Thanks for your reply.
With Child PROFILE_ID (parent id) column Allowing Not Null values, below is
the code and stack trace.
|
| @OneToMany(cascade = {CascadeType.ALL})
| @JoinColumn(name=PROFILE_ID)
|
Hi All,
My development environment is jboss-4.0.3SP1 server and used
jboss-EJB-3.0_RC6-PFD to setup my jboss for ejb3.
MSSQL Server 2005.
I have 2 tables.
Parent table with columns PROFILE_ID(bigint) and PROFILE_NAME(nvarchar(64))
Parent Table Bean
@Entity
@Table(name=PROFILES)
public class
Hi All,
My development environment is jboss-4.0.3SP1 server and used
jboss-EJB-3.0_RC6-PFD to setup my jboss for ejb3.
MSSQL Server 2005.
I have table with 2 columns PROFILE_ID (bigint) and MON_START(datetime).
The bean for this is.
@Entity
@Table(name=LK_PROFILE_ACCESSTIMES)
public class
The PROFILE_ID column in Child table LK_PROFILE_QUERY does not allow null.
i modified it to allow null values, deletion works properly.
But i dont want that to allow null values. So how could i proceed further.
View the original post :
Hi JaiKiran,
Still am getting the same error.
CascadeType.ALL takes care of deleting refrenced child entries also know, then
how does org.hibernate.annotations.CascadeType.DELETE_ORPHAN help. But anyway
it dint work sir. Could you please suggest any other options.
View the original post :