greptilian logo

IRC log for #javaee, 2014-02-17

Please see http://irclog.greptilian.com/javaee for which days have been logged.

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:27 firebird3 joined ##javaee
02:37 VB1 joined ##javaee
02:44 VB1 joined ##javaee
02:59 ramsrib joined ##javaee
04:31 rektide joined ##javaee
04:42 VB1 joined ##javaee
05:30 VB1 joined ##javaee
06:40 neuro_sys joined ##javaee
07:08 VB1 joined ##javaee
07:28 ramsrib joined ##javaee
07:49 sfisque joined ##javaee
09:46 Arnold73 joined ##javaee
10:55 cem_1 joined ##javaee
11:21 cem_1 why i cant combo the event in js
11:21 cem_1 like shift + / == ?
14:49 Naros joined ##javaee
16:09 firebird1 joined ##javaee
17:00 sfisque joined ##javaee
17:12 SEx2 joined ##javaee
18:22 jsightler joined ##javaee
18:31 cyphear joined ##javaee
18:52 kelto joined ##javaee
19:12 kelto Hi everyone. I've got a small problem with J2EE ... i'm trying to persist an entity, but i've got a ConstraintViolation coming from the automatic event 'PrePersist' ...
19:13 kelto I think it come from the fact that i haven't put the "auto-incrementation" for the id, i've change it both in the database and the entity, but i still have the error ... does anyone know how to change that ?
19:21 sfisque what are you doing in the prepersist method?
19:21 kelto i don't think i've done anything ...
19:22 kelto here is the exception message :
19:22 kelto javax.validation.ConstraintViolationException: Bean Validation constraint(s) violated while executing Automatic Bean Validation on callback event:'prePersist'
19:22 sfisque do you have validators annotated on the entity?
19:22 sfisque CVE is generally because you have @NotNull on an attribute that contains a null
19:23 kelto yes it's a @NotNull, but i've removed it
19:23 sfisque are there other attributes annotated similarly?
19:23 kelto i have even import the entity through the database, after updating my database
19:23 kelto hmmmm
19:23 kelto if i can give you the entity through pastebin
19:24 sfisque CVE can fire on any attribute  not just he @id
19:24 kelto http://pastebin.com/JTuq0GZE
19:25 kelto yes but the other @NotNull attribute are set
19:25 kelto except for dateCreated ...
19:26 sfisque well that would cause a CVE then
19:26 kelto even with the @Temporal ? :/
19:26 sfisque @Temporal only designates the sql type
19:27 kelto arf
19:27 sfisque it doesnt do any data production
19:27 kelto ok, will fix that ! thanks a lot sfisque :)
19:27 sfisque if the value is produced db side, then remove @NotNull
19:27 sfisque npnp
19:32 kelto yep working perfectly ! thanks a lot = )
20:01 neuro_sys joined ##javaee
20:01 VB1 joined ##javaee
20:23 VB1 joined ##javaee
21:04 VB1 joined ##javaee
21:18 VB1 joined ##javaee
21:24 VB1 joined ##javaee
21:26 kobain joined ##javaee
22:14 VB1 joined ##javaee
22:23 VB1 joined ##javaee
22:40 VB1 joined ##javaee
22:41 VB2 joined ##javaee
23:18 sfisque joined ##javaee

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Please see http://irclog.greptilian.com/javaee for which days have been logged.