@Enhancement annotation

#1

Hi,

We've found out that ObjectDB has its own annotation called @Enhancement which can be applied to non-persistent classes (with format (enabled = false)), so that they are not enhanced at all.

We found this annotation by accident and proved its behaviour via tests, but did not find any documentation about it.

Could u please confirm, that it works like I described ?
Would it be possible to distribute this single Annotation definition to 3rd parties (our customers) if we have a site license ? Do u have a separate JAR with annotation which we could use for distribution or should we create our own ?

Thx.

#2

> Could u please confirm, that it works like I described ?

Yes. This is an undocumented feature for internal use, but you can use it if you find it useful.

Note, however, that changes are possible in the future, e.g. making it public in a different package.

> Would it be possible to distribute this single Annotation definition to 3rd parties (our customers) if we have a site license ? Do u have a separate JAR with annotation which we could use for distribution or should we create our own ?

You may extract Enhacement.jar from objectdb.jar and distribute it to your customers.

ObjectDB Support

Reply