forrozeiro
Programmer
Hi there,
I have a table with, say, these columns
table mytable
col1 (PK)
col2
col3
col4
I am using a container managed persistence bean do map the table. Versions:
EJB 2.1
JBoss 3.2.7
The question is, which is the best way to do an update like this:
update my table set....
where col3 = xxx
That is, update by a column that is not the pk?
Thank you in advance!
I have a table with, say, these columns
table mytable
col1 (PK)
col2
col3
col4
I am using a container managed persistence bean do map the table. Versions:
EJB 2.1
JBoss 3.2.7
The question is, which is the best way to do an update like this:
update my table set....
where col3 = xxx
That is, update by a column that is not the pk?
Thank you in advance!