i'd like to use a database sequence to generate value for a table column which is not a id filed .
how to realize it in entity bean?
just use a JDBC call to the sequence to determine the next value.
How to do that is database dependent, so see the sql manual for your database on how to call sequences.