Start a new topic

Primary Key Generation Using Semql

I'd like to ask a few questions about primary keys:


1. Once you choose a PK (primary key) generation method, is it impossible to change it later on?


2. I wanted to include the class name when creating the PK as shown below, but it seems I can't use the class name because it's metadata at the time of creation. Does anyone know how I can work around this?

SEMQL: 'CONCAT(SUBSTR(UPPER(ClassName),1,1), LPAD(SEM_NUMBER_TO_CHAR(LENGTH(ClassName)),2,'0'), SUBSTR(UPPER(ClassName),LENGTH(ClassName),LENGTH(ClassName))) || AUTO_INCREMENT()'


3. Is it possible to deploy multiple models to a single data source?

Login to post a comment