API / com.codename1.annotations.db@Retention(CLASS) @Target({METHOD})public @interface PrePersistInvokes a public no-argument callback before inserting a new entity during flush.