Re: [Wicket-user] JPA Annotation Validation

2007-07-13 Thread Craig Lenzen
I've been using JPA annotations for almost a year now, they came out with EE5. I'm a consultant and have seem a number of large companies using JPA for production applications. -Craig Ryan Sonnek-2 wrote: > > I haven't seen anything on JPA annotations. Last I heard, they were in > "draft" or

Re: [Wicket-user] JPA Annotation Validation

2007-07-13 Thread Evan Chooly
I use the JPA annotations. Have been for probably a year now. The went final with the EE 5 spec, though. On 7/12/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: I haven't seen anything on JPA annotations. Last I heard, they were in "draft" or "review". Are they actually available now, and if so,

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Ryan Sonnek
I haven't seen anything on JPA annotations. Last I heard, they were in "draft" or "review". Are they actually available now, and if so, who's using them? On 7/12/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: Thanks Al, I look forward to the post. -Craig Al Maw wrote: > > Craig Lenzen wrote:

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Craig Lenzen
Thanks Al, I look forward to the post. -Craig Al Maw wrote: > > Craig Lenzen wrote: >> Sorry, I was a little confused, I thought this project was using the JPA >> annotations for validation. Instead you are actually using the hibernate >> validator project annotations. Which means the @Colum

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Al Maw
Craig Lenzen wrote: > Sorry, I was a little confused, I thought this project was using the JPA > annotations for validation. Instead you are actually using the hibernate > validator project annotations. Which means the @Column annotation would be > pretty hard to use..:) :-) I have JPA annotati

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Craig Lenzen
Sorry, I was a little confused, I thought this project was using the JPA annotations for validation. Instead you are actually using the hibernate validator project annotations. Which means the @Column annotation would be pretty hard to use..:) -Craig Ryan Sonnek-2 wrote: > > I'm not familiar

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Ryan Sonnek
I'm not familiar with the @Column annotation. If you have any info on how it works, I'd be happy to add support in. Even better, the code to add new annotation support is drop dead simple. let me know if have a solution and I can commit it. http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/tru

Re: [Wicket-user] JPA Annotation Validation

2007-07-12 Thread Martijn Dashorst
According to the source code it supports the hibernate validators. What you put in, it validates. http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/src/main/java/org/wicketstuff/hibernate/validator/HibernateFormComponentValidator.java Haven't tried it, but d

Re: [Wicket-user] JPA Annotation Validation

2007-07-11 Thread Craig Lenzen
Fair enough Ryan, but one question for you. Does this only work with the @Length and @NotNull annotations or does it also work with the attributes of the @Column annotation (nullable and length)? Thanks Craig Ryan Sonnek-2 wrote: > > I may be biased, but i'm using these annotations on a produ

Re: [Wicket-user] JPA Annotation Validation

2007-07-11 Thread Ryan Sonnek
I may be biased, but i'm using these annotations on a production/live site and they've made my life easier. no more hibernate exceptions bubbling up to the screen because a field was left blank. On 7/11/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: Has anyone made heavy use of this project yet?

Re: [Wicket-user] JPA Annotation Validation

2007-07-11 Thread Craig Lenzen
Has anyone made heavy use of this project yet? Any issues or concerns? -Craig igor.vaynberg wrote: > > http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/ > > -igor > > > On 7/11/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: >> >> >> Unless I was dreamin

Re: [Wicket-user] JPA Annotation Validation

2007-07-11 Thread Igor Vaynberg
http://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/ -igor On 7/11/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: Unless I was dreaming this the other night I swear someone announced that they created a wicket stuff project that added form validation based o

[Wicket-user] JPA Annotation Validation

2007-07-11 Thread Craig Lenzen
Unless I was dreaming this the other night I swear someone announced that they created a wicket stuff project that added form validation based on JPA annotations of a domain model? Was I dreaming, if not I can't seem to find the project in wicket stuff. Thanks Craig -- View this message in cont