Reference Guide

-

Spring Boot Database Admin v0.1.5

+

Spring Boot Database Admin v0.1.6

1. Introduction

@@ -82,7 +82,7 @@ <dependency> <groupId>tech.ailef</groupId> <artifactId>spring-boot-db-admin</artifactId> - <version>0.1.5</version> + <version>0.1.6</version> </dependency> @@ -136,11 +136,11 @@ dbadmin.modelsPackage=your.models.package,your.second.models.package

The behaviours specified with these annotations should be applied automatically by Spring Boot Database Admin. Using non-supported annotations will not necessarily result in an error, as they are simply ignored. Depending on what the annotation actually does, this could be just fine or result in an error if it interferes with something that Spring Boot Database Admin relies on.

The following list documents the most significant interactions between the JPA annotations and Spring Boot Database Admin.

-
@Entity
+
@Entity

Used to detect the candidate classes to scan.

-
@Column
+
@Column

Used to detect the column name and its nullability.

-
@GeneratedValue
+
@GeneratedValue

When you have an @Id marked as a @GeneratedValue, you won't be asked to enter it when creating new items, as it will be automatically generated.

2.3.2 Supported field types