Home » Search

About PostLoad

11-20 of 20Refresh
Forum
3

Adding EntityListener Throws Unexpected Internal Exception

.. } and listener like below: public class MyListener {     @PostLoad     public void onPostLoad(Object o) {         Logger.info("PostLoad call.");     }     @PreUpdate     public void onPreRemove
Forum
3

Best practice: Database update/migration of embedded databases in products

a PostLoad callback (if not null) to name. Only name will be used by the application (except in ... , familyName, name, address, zip and city, and a conversion of address to zip and city in a PostLoad
Forum
3

Failed to read the value of field using reflection

to ConcurrentHashMap (and added a converter callback attached to @PostLoad event so I get my concurrent ... that after I fixed it by using Map and casting it to ConcurrentHashMap after @PostLoad, Eclipse threw
Forum
3

Unable to store AtomicInteger

call an extra setup function in @PostLoad, which is very clunky in my opinion ... ?) You may either use serialization or the PostLoad solution in this case.
Forum
2

@Convert is not supported?

Currency instance is a singletone? You may try using a JPA lifecycle event (PostLoad). The purpose
Forum
2

Automatic schema evolution causes ArrayOutOfBoundsException

to convert from List to List, possibly in a PostLoad callback method. The second
Forum
2

Compress ODB file with XML content

 you can initialize value by uncompressing compressedValue on PostLoad and setting compressedValue by compressing
Forum
2

JPA 2.1 and AttributeConverter

String in JPA lifecycle events methods (such as PostLoad, PrePersist, PreUpdate). Bot01
Forum
2

Managing software release cycles.

some cases you may have to write code. You can use the PostLoad event to adjust old objects to new format when they are loaded. luca.camerini
Forum
2

Schema evolution & renamed/moved enum

a new field (with a different field name) with the new type and on PostLoad convert the old field