We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3755802 commit 945117bCopy full SHA for 945117b
1 file changed
src/test/java/me/zort/sqllib/test/TestCase1.java
@@ -223,7 +223,12 @@ public void test8_RawQuery() {
223
}
224
225
@Test
226
- public void test9_Close() {
+ public void test9_MultiplePk() {
227
+ assertTrue(connection.buildEntitySchema("multiple_pk", MultiplePKModel.class));
228
+ }
229
+
230
+ @Test
231
+ public void test10_Close() {
232
System.out.println("Closing connection...");
233
connection.disconnect();
234
System.out.println("Connection closed");
@@ -264,4 +269,13 @@ public int hashCode() {
264
269
265
270
266
271
272
+ @AllArgsConstructor
273
+ private static class MultiplePKModel {
274
+ @PrimaryKey
275
+ private final String nickname;
276
277
+ private final String email;
278
+ private final int points;
279
280
267
281
0 commit comments