[jboss-user] [EJB 3.0] - primary and secondry table insertion

kaviarasu do-not-reply at jboss.com
Thu Aug 16 07:28:34 EDT 2007

i want to insert value for primary and secondry table through bean itself or using trigger, 
can any one help 

table 1 
eno-primary key 

eno-foreign key 
esino-primary key for this table 

i want to write bean that table1.eno is autogenerate value that want to insert into secondry table and the same value want to assigned to table2.esino which is the primary coloumn for table 2. and wnat to inser the value for table2.address too from jsf.
is it possible through trigger or 
i want to attain it through bean itself 
thank you 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074800#4074800

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074800

More information about the jboss-user mailing list