#1151: VacationDao.kt

projectforge-business/src/main/kotlin/org/projectforge/business/vacation/repository/VacationDao.kt Data Access Object (DAO), projectforge-business/src/main/kotlin/org/projectforge/business/vacation/repository/VacationDao.kt 459 lines · 366 code · 45 comments · 48 blank
Database access layer providing CRUD operations and query methods for the entity.

Git History

868d6abb7 2025 -> 2026
c21d9772b VacationDao: NPE fix. AITimeSavings.getFraction(...) added (by adding NumberHelper.getFraction(...).
63081666f Source file headers: 2024-> 2025.
4ae4f3ea3 Bugfixes while going-live...
ddf02927d Migration stuff in progress...
313bed1ec Merge remote-tracking branch 'origin/master' into mgc-remove
4942c854d Migration stuff in progress...
d83512ee3 Migration stuff in progress...
b71b5073d Migration stuff in progress... (all tests of all packages: OK).
4bc37b3a1 Migration stuff in progress...
4b9ffbee2 Migration stuff in progress... (all tests of all packages: OK).
5989b32fd BaseDao: mechanism of onChangeLister refactored.
1b50060c3 BaseDao: renamed: get -> find, save -> insert, getList -> select, load -> select
87aaf6a5a Migration stuff in progress... BaseDao refactored (not yet finished) internal* methods renamed.
3aeda5ef5 Big change: all save|update|...InTrans renamed (InTrans removed). PfPesistenceContext as param not needed anymore (ThreadLocal is used instead). (all tests of all packages: OK).
e4f9ca1be Migration stuff in progress...
67805f2fc ThreadLocalUserContext.user -> ThreadLocalUserContext.loggedInUser (renamed for avoiding mis-understandings in code).
85b4e1175 PfPersistenceService and PfPersistenceContext: query renamed to executeQuery.
b095e6f7d !!!!! Big change of Transaction handling: Re-uses PfPersistenceContext as much as possible (not yet finished). Tests doesn't yet run.
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
09effe8bb BaseDao.hasUpdateAccess and hasDeleteAccess accepts now null dbObj's.
2863b30b9 Migration stuff in progress...
5bafe7941 @Repository -> @Service. @Transactional-Annotations removed.
b7b459e73 Migration stuff in progress...
9d8b94352 Migration stuff in progress...
e33c8b9c2 Migration stuff in progress...
06828f490 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
38bec971a ThreadLocal -> Kotlin