src/main/java/de/uapcore/lightpit/dao/GenericDao.java

changeset 75
33b6843fdf8a
parent 62
833e0385572a
     1.1 --- a/src/main/java/de/uapcore/lightpit/dao/GenericDao.java	Fri May 22 17:26:27 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/dao/GenericDao.java	Fri May 22 21:23:57 2020 +0200
     1.3 @@ -34,6 +34,7 @@
     1.4  
     1.5      /**
     1.6       * Finds an entity by its integer ID.
     1.7 +     * It is not guaranteed that referenced entities are automatically joined.
     1.8       *
     1.9       * @param id the id
    1.10       * @return the enity or null if there is no such entity
    1.11 @@ -43,6 +44,7 @@
    1.12  
    1.13      /**
    1.14       * Inserts an instance into database.
    1.15 +     * It is not guaranteed that generated fields will be updated in the instance.
    1.16       *
    1.17       * @param instance the instance to insert
    1.18       * @throws SQLException on any kind of SQL errors

mercurial