kundera
kundera copied to clipboard
How to prevent duplicate inserts with em.persist (CQL : IF NOT EXISTS)
Hi, When we try to persist same entity with em.persist it does not throw an exception. Probably this is default cassandra behaviour with CQL also, it just updates if row exist. But CQL does offer IF NOT EXISTS clause to check this. How can we achieve same using Kundera?
Thanks, Sohel Khan