Posts by Edu Müller • 41 points
3 posts
-
0
votes0
answers124
viewsQ: How to automatically update the attribute value of any HTML element using Javascript?
I need to keep the title of any element on the updated page. Whenever an element has the value of title being the character ?, I want to replace it with the value inside the tags of the same…
-
2
votes0
answers88
viewsQ: JPA - Cascadetype.REMOVE after entity is deleted by orphanRemoval=true
public class PrimeiroNivel { @OneToMany(mappedBy="primeiroNivel", orphanRemoval=true) private List<SegundoNivel> niveisSecundarios; } public class SegundoNivel {…
-
2
votes1
answer111
viewsQ: @Preupdate com @Transient - Eclipselink
I need a @Preupdate method to be called when a @Transient attribute is modified. This @Transient will always be modified, so yes, @Preupdate would have to be called every time. Since it will always…