1

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?

Alina Danila
  • 1,683
  • 1
  • 24
  • 60

2 Answers2

5

Just use the Java built in transient marker:

private transient String myField;

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

Gamlor
  • 12,978
  • 7
  • 43
  • 70