When creating a new object (or table row) it is convenient to generate a unique identifier using the database auto-increment feature (supported by databases such as MSSQL and MySQL). However, this auto-increment feature is not supported by SAP.
What is the best way to generate a unique identifier (primary key) using Java (eg. for a Entity CMP EJB)?
Can we call the ABAP number range generator from Java ? If so, how can we set this up using the Sneak Preview SAP Enterprise Portal 6.0 ?