Hi,
Sorry the late reply but I was busy with other activities. I just discovered
why my code wasn't working. I had created an Oracle before insert trigger for
Person and Address table that used the sequences to insert the primary key
value in the tables. I didn't realize that JBOSS invokes the
Hi,
I have a JSP page that receives the data entered by the user. This page uses
JSF.
* register.jsp:
| %@ page language=java contentType=text/html; charset=ISO-8859-1
| pageEncoding=ISO-8859-1%
| !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
| %@ taglib
Hi,
I added the Column(name =?id?) annotation before the getId() method of Person
and Address ejb but I?m getting the same error message about the foreign key
violation. My Oracle tables have the following fields:
* Person
Name Type Nullable Default
-
Hi,
Thank you genman with the help with the sequence. I'm now with another error.
I need an sequence for each table so I changed my code according to your
information and worked with the sequence but now I'm getting an error with the
foreign key. I have two entity beans Person and Address both
Hi,
I'm trying to use JBOSS IDE for Eclipse but I'm having trouble using an
automatic generated id populated from a Oracle sequence previously created in
the database. I guess there is some aditional configuration that I need to do
in my application but I don't know what it is.
In the
Hi there,
I?m trying to execute an Entity EJB 3.0 created with JBOSS IDE 2.0 for eclipse
and JBOSS 4.0.4. It happens I?m getting an exception when I start the Jboss
server inside eclipse regarding the database. I looked at the JNDI view and
there is the entry ?OracleDS (class:
Hi there,
I?m trying to run na EJB application developed with JBOSS IDE 2.0 and JBOSS
4.0.4 GA. I have an remote stateless session bean named TestStatelessBean that
inherit from TestStateless. Here is the code for them:
package com.test.ejbs;
import javax.ejb.Remote;
@Remote
public
Hi delkant,
I was trying to run this application for several days without sucess. Now,
after your tips, it worked fine.
Thank you very very much.
Nei
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044123#4044123
Reply to the post :