Hi,
Yesterday George Gastaldi from the Forge team approached me regarding the
application of constraints to "wrapped" properties. Their situation is the
following:
...
@Size(min=3, max=10)
UIInput name;
...
Here, UInput is some kind of UI component, wrapping the actual property
v
Something like c makes sense.
It similar to the notion of converter in JPA.
But why not the following style of interfaces
interface Convert {
To convert(From);
}
On Tue 2013-09-03 15:58, Gunnar Morling wrote:
> Hi,
>
> Yesterday George Gastaldi from the Forge team approached me
After looking through this some more, I think what you say could almost
work. But:
1) Still need a way to determine the declarer of a property rather than
just blindly accepting XProperty.getAnnotation(Convert.class). This is
needed for the Super/Sub MappedSuperclass/Entity case in my initial
org.hibernate.annotations.common.reflection.XAnnotatedElement
On Tue 03 Sep 2013 05:22:22 PM CDT, Steve Ebersole wrote:
> After looking through this some more, I think what you say could
> almost work. But:
>
> 1) Still need a way to determine the declarer of a property rather
> than just blind
FYI, unless I hear otherwise:
https://hibernate.atlassian.net/browse/HCANN-56
On Tue 03 Sep 2013 11:01:02 PM CDT, Steve Ebersole wrote:
>
>
> org.hibernate.annotations.common.reflection.XAnnotatedElement
>
> On Tue 03 Sep 2013 05:22:22 PM CDT, Steve Ebersole wrote:
>> After looking through this s
Gah, stupid.
Its the declared/non-declared status of the method/field that is
important here, not the annotations...
On Tue 03 Sep 2013 11:08:16 PM CDT, Steve Ebersole wrote:
> FYI, unless I hear otherwise:
> https://hibernate.atlassian.net/browse/HCANN-56
>
> On Tue 03 Sep 2013 11:01:02 PM CDT,
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
On Tue 2013-09-03 17:22, Steve Ebersole wrote:
> 2.a) It seems like there are times when
> org.hibernate.cfg.AbstractPropertyHolder#parent would be useful for
> what I need to do. But there appears to be times when this is null.
> For entity mappings (ClassPropertyHolder) thats fine. But for the
2013/9/3 Emmanuel Bernard
> Something like c makes sense.
>
Ok.
> It similar to the notion of converter in JPA.
>
> But why not the following style of interfaces
>
> interface Convert {
> To convert(From);
> }
>
Yes, thinking more about it, it probably makes sense to support m
(using correct list now)
2013/9/3 Hardy Ferentschik
>
>
>
>
> On 3 Sep 2013, at 15:58, Gunnar Morling wrote:
>
> > Hi,
> >
> > Yesterday George Gastaldi from the Forge team approached me regarding the
> > application of constraints to "wrapped" properties. Their situation is
> the
> > followin
10 matches
Mail list logo