java.lang.UnsupportedOperationException: No support for uniqueness constraints

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Tomas de Priede, 1 year ago
No support for uniqueness constraints
via Spring JIRA by Tomas de Priede, 1 year ago
No support for uniqueness constraints
java.lang.UnsupportedOperationException: No support for uniqueness constraints
at org.datanucleus.store.appengine.DatastoreProperty.(DatastoreProperty.java:80)
at org.datanucleus.store.appengine.DatastoreTable.addDatastoreField(DatastoreTable.java:236)
at org.datanucleus.store.appengine.DatastoreTable.addDatastoreField(DatastoreTable.java:82)
at org.datanucleus.store.appengine.DatastoreMappingManager.createDatastoreField(DatastoreMappingManager.java:156)
at org.datanucleus.store.mapped.mapping.SingleFieldMapping.prepareDatastoreMapping(SingleFieldMapping.java:56)
at org.datanucleus.store.mapped.mapping.SingleFieldMapping.initialize(SingleFieldMapping.java:46)
at org.datanucleus.store.mapped.mapping.MappingFactory.createMapping(MappingFactory.java:97)
at org.datanucleus.store.mapped.mapping.AbstractMappingManager.getMapping(AbstractMappingManager.java:248)
at org.datanucleus.store.appengine.DatastoreTable.initializeNonPK(DatastoreTable.java:322)
at org.datanucleus.store.appengine.DatastoreTable.buildMapping(DatastoreTable.java:288)
at org.datanucleus.store.appengine.DatastoreManager.buildStoreData(DatastoreManager.java:479)
at org.datanucleus.store.appengine.DatastoreManager.newStoreData(DatastoreManager.java:437)
at org.datanucleus.store.AbstractStoreManager.addClasses(AbstractStoreManager.java:788)
at org.datanucleus.store.AbstractStoreManager.addClass(AbstractStoreManager.java:759)
at org.datanucleus.store.mapped.MappedStoreManager.getDatastoreClass(MappedStoreManager.java:358)
at org.datanucleus.store.appengine.DatastoreManager.getDatastoreClass(DatastoreManager.java:709)
at org.datanucleus.store.appengine.query.DatastoreQuery.performExecute(DatastoreQuery.java:214)
at org.datanucleus.store.appengine.query.JPQLQuery.performExecute(JPQLQuery.java:77)
at org.datanucleus.store.query.Query.executeQuery(Query.java:1489)
at org.datanucleus.jpa.JPAQuery.getResultList(JPAQuery.java:163)
at ar.com.titan.pizzashop.domain.Pizza_Roo_Entity.findPizzaEntries_aroundBody8(Pizza_Roo_Entity.aj:111)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.