You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Include the Maven artifact:
20
20
<dependency>
21
21
<groupId>com.github.collinalpert</groupId>
22
22
<artifactId>java2db</artifactId>
23
-
<version>5.3.0</version>
23
+
<version>5.4.0</version>
24
24
</dependency>
25
25
```
26
26
Or include the [JAR](https://github.com/CollinAlpert/Java2DB/releases/latest) in your project.
@@ -157,6 +157,9 @@ You can also check if a table has at least one row by calling `personService.any
157
157
### Duplicate value checking
158
158
To check if a column's values are unique in a table, use the `hasDuplicates` method provided by the `BaseService`. It will return `true` if there is at least one duplicate value and false if all the values are unique.
159
159
160
+
### Programmability
161
+
The `DBConnection` class offers the possibility to call a stored procedure and a function. Simply use the `callStoredProcedure` or `callFunction` method, respectively and pass in the class you would like the result mapped to. Using the `@Ignore` annotation will also work with these kinds of calls. Please make sure your class has an empty constructor.
162
+
160
163
### Asynchronous operations
161
164
As of version 4.0 it is possible to execute all of the CRUD operations asynchronously.
162
165
To use the asynchronous methods with your service classes, the individual service class should inherit from the
Copy file name to clipboardExpand all lines: src/main/java/com/github/collinalpert/java2db/database/ForeignKeyReference.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
importjava.lang.reflect.Field;
6
6
7
7
/**
8
-
* Describes a foreign key reference to a specific table. This represents a field marked with the {@link com.github.collinalpert.java2db.annotations.ForeignKeyEntity} attribute.
8
+
* Describes a foreign key reference to a specific table. This represents a field marked with the {@link ForeignKeyEntity} attribute.
0 commit comments