-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtodo.txt
86 lines (65 loc) · 2.07 KB
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
todo
----
* Setup / initialization: builder with "guessing" defaults
* Java Bean support
* unit tests
* javadoc
* Kotlin support (?)
* RDBC support (?)
* SQL array support (?)
* comprehensive tests
* unit tests against PostGres, Oracle, DB2, SQL Server, ...
* demo test
* snippets
* user types - explicit primitive conversion based on schema / annotation?
* Blob, Clob, NCLOB -> PrimitiveTypeMappings
* mapper queries with snippets --> how to do this best?
* filter
* pagination
* order by
* ...
* @ManyToMany: masterPk
* @ManyToOne: on a struct without mapped primary key
* ASqlMapper exception handling https://git.hypeinnovation.com/hype.io/hypeio-app/issues/117#note_2661
* update / patch: optionale zusätzliche WHERE-Klausel
* patch: Convenience-Methoden im SqlSnippet verwenden
* base
* tuples
* special handling, 'implicit' row extractor based on ptm
* queries
* for insert?
* optimized 'isStreaming=true' implementation for Java Beans extractor
* 'getter' convention based column name strategy
* "derived" columns -> ?
* SQL snippets
* "query by example": fields -> optional -> and
* optimistic locking
* db error classification
* statement check against live database ("yolo mode")
* i18n as String from to-many: generator / snippet / convenience in mapper?
* mapping layer
* Java bean support
* "semi-active" record --> generic 'model' class that keeps track of changes?
* annotation processor for JOINs / type safe query building?
deploy
------
* increment version number in pom.xml
* > mvn clean deploy
* commit / push
* > git tag {version}
* > git push origin {version}
done
----
* insert, update, queries (raw)
* query results as java.util.Stream
* primitive type mapping / coercion
* SqlRow --> detached wrapper around a result row
* SqlEngine
* immutable, 'canHandle' (2x), mutable cache, 'live' registration of handlers (copy on write)
* factory methods for queries, inserts, updates
* SqlMapper:
* insert / update / patch / delete
* to-many for queries (works for immutable beans)
* events, listener
* statement logging
* statistics