简体   繁体   中英

db4o class model transient field

I am using db4o as DBMS and I have a question:

Is there any way to specify that I do not want to store a field from the model class in the database?

Something similar to @Transient annotation when working with relational databases?

Just use the Java built in transient marker:

private transient String myField;

Or is there a special reason why you cannot use it?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM