Hi, first of all sorry for this newbish question... but i've got to know...
I've got 4 tables
Code:
COMPANY
-----------
companyID (pk)
name
address
zipcode
city
telephone
fax
email
vat
bankaccount
website
USERACCOUNT
------------------
userID (pk)
firstname
lastname
address
zipcode
city
telephone
email
username
password
last_login
status
companyID (fk to company)
USERGROUP
--------------
id (pk)
userID (fk to useraccount)
groupID (fk to group)
GROUP
--------
groupID (pk)
name
description
So what should my mapping files look like?
Suppose I want to insert a useraccount, and in the form I select the right company. How should this be done in java code?
Thanks to you all for helping me with this!!!