These are chat archives for hibernate/hibernate-orm

19th
Jul 2018
Marius Nicolae
@bytao7mao
Jul 19 08:22
hello there, is someone able to help me in a java problem ?
Steve Ebersole
@sebersole
Jul 19 15:03
@istiti you mean like org.hibernate.annotations.Check? ;)
@bytao7mao ##java on Freenode or StackOverflow are great places to ask general Java questions
Bgvć
@istiti
Jul 19 15:05
Yes no docs and no property level support, you confirm bug exist?
Steve Ebersole
@sebersole
Jul 19 15:05
um...
did you even look?
(thats rhetorical, I know you didnt)
/**
  • Arbitrary SQL CHECK constraints which can be defined at the class, property or collection level.
    *
  • @author Emmanuel Bernard
    */
    @Target({TYPE, METHOD, FIELD})
    @Retention(RUNTIME)
    public @interface Check {
    ...
    }
Bgvć
@istiti
Jul 19 15:07
already checked this
Steve Ebersole
@sebersole
Jul 19 15:08
i really have no idea what that is supposed to mean
Steve Ebersole
@sebersole
Jul 19 15:12
so then like any bug, add a test or consider contributing the fix
I mean not sure what you are looking for here
if its important to you then consider contributing the fix
Bgvć
@istiti
Jul 19 15:18

Please be friendly.

First : to contribute ? OUT OF SCOPE to me !
Second I'm looking existing BUG and come on gitter too to ask, and want confirmation and so on ! INSTEAD OPEN NEW ISSUE !
Third You exactly see what I mean or can understand what I mean by "property level" instead class level !
That's all, thanks for answer and consideration even if with little touch of arrogance
Steve Ebersole
@sebersole
Jul 19 15:19
not sure how that is arrogance, but that's not really relevant
yes I understand
Bgvć
@istiti
Jul 19 15:19
ok no problem anyway
Steve Ebersole
@sebersole
Jul 19 15:19
and its up to you if you want to help
thats nothing to do with me
Bgvć
@istiti
Jul 19 15:21
i said it's out of scope to fix it on your lib, just looking right way contourn my requirement
but @Check seem not really relevant on hiberante side, i will go with this idea ! There is reason why @Check isn't yet fixed and consider as minor bug
i could be wrong to want this feature, no problem dude !
Steve Ebersole
@sebersole
Jul 19 15:30
Well (1) there is also a work-around and (2) we (the "dev team") are all busy on the things we consider important to the project
so...
creating tests is definitely a great way to contribute
it just does not == we will work on that case immediately
Bgvć
@istiti
Jul 19 15:40
I don't understand this "it just does not == we will work on that case immediately"
then how create tests, redirect me to a HOWTO file