[odb-users] Re: Including a custom object field member in the
persistence class
Boris Kolpackov
boris at codesynthesis.com
Mon Dec 20 10:00:01 EST 2010
Hi Myoungkyu,
Myoungkyu Song <mksong at vt.edu> writes:
> typedef x10aux::ref<x10::lang::String> StringRef;
>
> void makePersistence(StringRef seqModel) {
>
> ...
>
> db->persist(seqModel);
You cannot persist value types directly. Only classes marked with
'#prgama db object' can be passed to the database::persist() functions.
Boris
More information about the odb-users
mailing list