@@ -75,7 +75,7 @@
<dependency>
<groupId>tech.ailef</groupId>
<artifactId>spring-boot-db-admin</artifactId>
- <version>0.1.2</version>
+ <version>0.1.5</version>
</dependency>
@@ -95,6 +95,9 @@ dbadmin.baseUrl=admin
# accepts multiple comma separated values
dbadmin.modelsPackage=your.models.package,your.second.models.package
+## It is required to have open-in-view set to true
+# spring.jpa.open-in-view=true
+
# OPTIONAL PARAMETERS
# Whether to enable to web interface
# dbadmin.enabled=true
@@ -253,7 +256,7 @@ private byte[] image;
3.1.6 @HiddenColumn
Code example
-
+
@HiddenColumn
private String cardNumber;
@@ -264,7 +267,7 @@ private String cardNumber;
3.1.7 @ReadOnly
Code example
-
+
@ReadOnly
private LocalDate createdAt;
@@ -273,6 +276,17 @@ private LocalDate createdAt;
Marks a field as read-only. The field can be filled at creation time, but it will be shown as disabled during edits, making it impossible to change its value after creation.
+3.1.8 @DisableCreate, @DisableEdit, @DisableDelete
+Code example
+
+@Entity
+@DisableCreate
+public class Product { ... }
+
+
+Disables the possibility of creating/editing/deleting items for the specific table.
+
+
3.2 The Settings panel