Solved Ebean - update null values

Discussion in 'Plugin Development' started by TheA13X, Apr 14, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    TheA13X

    Hello colleagues and professors.;)
    I need help with bukkit's build-in ebean database.
    The problem is, that I have to update some fields with null as value from time to time,
    but their documentation says, that the update method does only "updating the non-null properties".
    How should I do that?
     
  2. Offline

    TheA13X

    okay...
    That was a hard one.
    There is an option which is not listed in the Documentation:
    update(Object,ProprtySet<String>,Transaction,boolean deleteMissingChilds,boolean updateNullValues);

    It's better to solve problems at your own. ;)
     
Thread Status:
Not open for further replies.

Share This Page