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

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

mercurial