[jboss-user] [JBoss Seam] - Inserting into primary and secondry table using bean

kaviarasu do-not-reply at jboss.com
Mon Jul 30 09:52:52 EDT 2007


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


table 1
employee
eno-primary key
ename-

table-2
eno-foreign key
address-
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.
 is it possible through trigger or 
i want to attain it through bean itself
thank you 
regards 
kaviarasu

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

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



More information about the jboss-user mailing list