I don't know which Version/Vendor you are using but you associate the Table first and then Columns. I am quoting the example from WebLogic Docs:
(
jdbc tableName ejbAccounts
dbIsShared false
poolName demoPool
(attributeMap
; EJBean field Database column name
; -----------------------------------------
accountId id
balance bal
type type
); end attributeMap