Embedding in database