package com.bio.bio_backend.global.utils;

import java.io.Serializable;

import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.id.IdentifierGenerator;

public class CustomIdGenerator implements IdentifierGenerator {
	
	private static final long serialVersionUID = 1L;
	
    @Override
    public Serializable generate(SharedSessionContractImplementor session, Object object) {
        return OidUtils.generateOid();
    }
}