/** * INTERNAL: * Creates this sequence definition on the database. If it already exists, the method will attempt * to alter it based on what the platform supports. */ public void createOnDatabase(AbstractSession session) throws EclipseLinkException { if (checkIfExist(session)) { if (this.isAlterSupported(session)) { alterOnDatabase(session); } } else { super.createOnDatabase(session); } }
/** * INTERNAL: * Creates this sequence definition on the database. If it already exists, the method will attempt * to alter it based on what the platform supports. */ public void createOnDatabase(AbstractSession session) throws EclipseLinkException { if (checkIfExist(session)) { if (this.isAlterSupported(session)) { alterOnDatabase(session); } } else { super.createOnDatabase(session); } }
/** * INTERNAL: * Creates this sequence definition on the database. If it already exists, the method will attempt * to alter it based on what the platform supports. */ public void createOnDatabase(AbstractSession session) throws EclipseLinkException { if (checkIfExist(session)) { if (this.isAlterSupported(session)) { alterOnDatabase(session); } } else { super.createOnDatabase(session); } }