330331332333334335336337338339340
case JavaTypes.COLLECTION: case JavaTypes.ARRAY: case JavaTypes.MAP: // nested relation types (e.g. collections of collections) // are not currently supported throw new UnsupportedException("This store does not support " + "nested containers (e.g. collections of collections)."); default: return val; }
186187188189190191192
*/ protected ResultObjectProvider executeQuery(Executor ex, ClassMetaData base, ClassMetaData[] types, boolean subclasses, ExpressionFactory[] facts, QueryExpressions[] parsed, Object[] params, Range range) { throw new UnsupportedException(); }
266267268269270271272
* Return an {@link ExpressionFactory} to use to create an expression to * be executed against an extent. Each factory will be used to compile * one filter only. The factory must be cachable. */ protected ExpressionFactory getExpressionFactory(ClassMetaData type) { throw new UnsupportedException(); }
610611612613614615616617
} public void enter(Value val) { if (!val.isVariable()) return; throw new UnsupportedException(_loc.get("inmem-agg-proj-var", _ctx.getCandidateType(), _ctx.getQueryString())); }
409410411412413414415416417418419
if (isMappingOverrideMode() && (pkgMode & MODE_MAPPING) == 0) parseSequenceGenerator(pkg, (SequenceGenerator) anno); break; default: throw new UnsupportedException(_loc.get("unsupported", pkg, anno.toString())); } } // always parse mapping stuff after metadata stuff, in case there are
564565566567568569570571572573574
case FETCH_GROUPS: if (isMetaDataMode()) fgs = ((FetchGroups) anno).value(); break; default: throw new UnsupportedException(_loc.get("unsupported", _cls, anno.toString())); } } if (isMetaDataMode()) {
713714715716717718719720721
break; case IDENTITY: meta.setIdentityStrategy(ValueStrategies.AUTOASSIGN); break; default: throw new UnsupportedException(id.strategy().toString()); } } }
1064106510661067106810691070107110721073
if (isMetaDataMode()) fmd.setTypeOverride(toOverrideType(((Type) anno). value())); break; default: throw new UnsupportedException(_loc.get("unsupported", fmd, anno.toString())); } } }
114011411142114311441145114611471148
break; case IDENTITY: fmd.setValueStrategy(ValueStrategies.AUTOASSIGN); break; default: throw new UnsupportedException(strategy.toString()); } } }
352353354355356357358
public Object getVersion() { return _version; } public void setVersion(Object version) { throw new UnsupportedException(); }