[jboss-user] [EJB 3.0] - Installing EJB 3.0 RC6 - PFD

2008-06-12 Thread rkiran81
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

[jboss-user] [EJB 3.0] - @GeneratedValue(strategy=GenerationType.AUTO) for oracle fai

2008-05-29 Thread rkiran81
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)) |

[jboss-user] [EJB 3.0] - Re: OneToMany Unidirectional EntityManager remove() problem

2008-05-22 Thread rkiran81
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) |

[jboss-user] [EJB 3.0] - OneToMany Unidirectional EntityManager remove() problem

2008-05-19 Thread rkiran81
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

[jboss-user] [EJB 3.0] - TimeStamp problem

2008-05-19 Thread rkiran81
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

[jboss-user] [EJB 3.0] - Re: OneToMany Unidirectional EntityManager remove() problem

2008-05-19 Thread rkiran81
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 :

[jboss-user] [EJB 3.0] - Re: OneToMany Unidirectional EntityManager remove() problem

2008-05-19 Thread rkiran81
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 :