Skip to content

Commit

Permalink
improving documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
webermich committed Nov 7, 2017
1 parent 687b3bf commit 85cd814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Please note that there is absolutely no need to override the default behaviour.
If your class structures are not annotated with [@Discriminator](src/main/java/de/bild/codec/annotations/Discriminator.java) or [@DiscriminatorKey](src/main/java/de/bild/codec/annotations/DiscriminatorKey.java) the default behaviour is as follows:
* [@Discriminator](src/main/java/de/bild/codec/annotations/Discriminator.java) is the simple class name
* [@DiscriminatorKey](src/main/java/de/bild/codec/annotations/DiscriminatorKey.java) is "_t"
* **ATTENTION: Discriminator-information is only persisted in teh database, if polymorphic structures are detected**
* **ATTENTION: Discriminator-information is only persisted in the database, if polymorphic structures are detected**
* to force persisting discriminator information to the database either add [@Polymorphic](src/main/java/de/bild/codec/annotations/Polymorphic.java) to your class structure or you annotate a class with [@Discriminator](src/main/java/de/bild/codec/annotations/Discriminator.java)

```java
Expand Down

0 comments on commit 85cd814

Please sign in to comment.