Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-02-03 Thread Mark Hobson
Excellent, let me know how you get on. Mark 2009/2/3 Emmanuel Bernard : > Cool :) > We will add jType to the Bean Validation RI Alpha2 (one release after the > first). > http://opensource.atlassian.com/projects/hibernate/browse/BVAL-111 > > On Feb 2, 2009, at 23:40, Mark Hobso

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-02-02 Thread Mark Hobson
pturing in line with the JLS as I've had a requirement for this in the past. Do let me know if you have any comments or suggestions. Cheers, Mark 2009/1/30 Emmanuel Bernard : > all good. > > On Jan 30, 2009, at 09:46, Mark Hobson wrote: > >> Cool, I'll aim to c

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-01-30 Thread Mark Hobson
ave the copyright rights (if > you developed that for a company, you might have to ask them). > > Thanks! > > Emmanuel > > On Jan 30, 2009, at 05:04, Mark Hobson wrote: > >> ASL 2.0 is fine with me. I was thinking about hosting it somewhere >> like Google Code

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-01-30 Thread Mark Hobson
et me see if I find something. >> >> Would you be OK to contribute it under the ASL 2.0 license to us? >> >> On Jan 29, 2009, at 09:44, Mark Hobson wrote: >> >>> I haven't gone into supporting type variables, hence I don't perform >>>

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-01-30 Thread Mark Hobson
Cool, that's already a nice start. > Let me see if I find something. > > Would you be OK to contribute it under the ASL 2.0 license to us? > > On Jan 29, 2009, at 09:44, Mark Hobson wrote: > >> I haven't gone into supporting type variables, hence I don't perform

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-01-29 Thread Mark Hobson
ype rules you have implemented? > > The one that sounded non trivial to me were around detecting that generic > are supertypes of others: > - containment and equivalence > - capture conversion > - intersection types > - management of bounds > (using the language of the J

Re: [hibernate-dev] Do you know of any ASL 2 implementation of...

2009-01-29 Thread Mark Hobson
I've written a small utility library that provides methods to work with Types, specifically it contains such a method isAssignable(Type supertype, Type type) that should satisfy your requirements. I've been considering open-sourcing it so would be happy to do so if you were interested? Cheers, M

Re: [hibernate-dev] CGLIB

2008-05-20 Thread Mark Hobson
2008/5/20 Emmanuel Bernard <[EMAIL PROTECTED]>: > Maybe you can write a jarjarjar maven plugin ;) Check the maven-shade-plugin for similar functionality: http://maven.apache.org/plugins/maven-shade-plugin/index.html Mark ___ hibernate-dev mailing list

Re: [hibernate-dev] hbm2doc changes

2007-01-18 Thread Mark Hobson
Hi Max, On 18/01/07, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: I like the new layout for the properties. I would though prefer if the column(s) that the property is mapped to would be shown in the overview too... Cool, I'll see what it looks like with the columns added back in and send a

[hibernate-dev] hbm2doc changes

2007-01-17 Thread Mark Hobson
Hi all, I've had an almost finished patch to hbm2doc lying around here that I was about to submit before I had to stop working on Hibernate Tools. Before I commit it, I just wanted to allow people to comment if they have any objections to the changes. I've tried to clean up the entity property s

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-31 Thread Mark Hobson
On 30/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: ok, submit a patch and i can run the testsuite for it. I'll see if something stupid is broken in the ant junit testsuite. running it from eclipse creates no unknown failures on my side. Your hibernate.properties commit seems to have

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-30 Thread Mark Hobson
On 30/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: These errors occur because the db still contains some tables which should not be the case. This can be caused by interrupting the testsuite before it can clean up or a test that doesn't cleanup properly. Workaround: delete the db (easy

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-30 Thread Mark Hobson
On 30/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: ..and you have the default_schema set to PUBLIC ? This error should only occur if the database somehow is returning the same table name twice (e.g. reverse engineering multiple schemas) Adding default_schema=PUBLIC fixes a few, and th

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-30 Thread Mark Hobson
On 30/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: which db are you running against ?! tools/etc/hibernate.properties is as per SVN, so hsqldb. Mark ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-30 Thread Mark Hobson
On 30/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: What errors do you see ? Parts of the testsuite runs best against HSQLDB with hibernate.default_schema set to PUBLIC. Many of the tests fail with: Testcase: testVersion took 0.344 sec Caused an ERROR Duplicate class name 'Bas

Re: [hibernate-dev] hbm2doc with inner-classes

2006-10-30 Thread Mark Hobson
On 24/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > I'm not entirely sure of the distinction between getShortName and > getDeclarationName - the latter seems to account for meta attributes > whereas the former doesn't. Also, changing getJavaTypeName requires > altering the behaviour of

[hibernate-dev] hbm2doc with inner-classes

2006-10-24 Thread Mark Hobson
Hi there, I'm looking at fixing hbm2doc to work with inner-classes and figure the following changes to POJOClass are necessary as it stands: - getShortName, getDeclarationName and getJavaTypeName need to return X.Y for inner classes, not just Y I'm not entirely sure of the distinction between g

Re: [hibernate-dev] Re: hbm2doc diagrams

2006-10-24 Thread Mark Hobson
On 24/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: done. Thanks. I tried to verify our generated html with jtidy, but it reports too many "false alarms" (e.g. usage of % in td/th width). Anyone knows of a better verifier that can be used programmatically in unittests ? The w3c val

Re: [hibernate-dev] Re: hbm2doc diagrams

2006-10-24 Thread Mark Hobson
On 24/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: tried to look at them but they were a big mesh of perl code or worse so not really "managable" :) Nasty, best leave that alone then. well, they have an outdated specific test for not using % in th and td with attribute. It is underst

Re: [hibernate-dev] Re: hbm2doc diagrams

2006-10-24 Thread Mark Hobson
On 24/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: I've applied your current patches now. thanks. Thanks Max. If you could be so kind to apply the new reformatted templates (HBX-789) then I can base my next batch of patches from that. Mark

[hibernate-dev] Re: hbm2doc diagrams

2006-10-23 Thread Mark Hobson
On 23/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > I've started some minor patches today, but was wondering if anyone > would be offended if I reformatted the hbm2doc templates? The > inconsistent indentation makes patching them rather hard going. feel free. I plan to apply your cur

Re: Re: hbm2doc diagrams (Was: Re: [hibernate-dev] Re: [Hibernate-JIRA] Closed: (HBX-775) Graphs fail for entities with Set collections)

2006-10-23 Thread Mark Hobson
On 12/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: >> I'm also interested in cleaning up hbm2doc since currently it does >> things >> in "interesting" ways...so any contribution that simplifies and/or make >> it >> more feature complete is very welcome. > > Cool, we've got a few features

hbm2doc diagrams (Was: Re: [hibernate-dev] Re: [Hibernate-JIRA] Closed: (HBX-775) Graphs fail for entities with Set collections)

2006-10-12 Thread Mark Hobson
On 12/10/06, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: that would be nice to know how it works out. It ran but with a few warnings - it appears to have problems with inner-class syntax: Error: ...\entitygraph.dot:30: syntax error near line 30 context: >>> uk_dot_co_dot_iizuka_dot_suppo

[hibernate-dev] Re: [Hibernate-JIRA] Closed: (HBX-775) Graphs fail for entities with Set collections

2006-10-12 Thread Mark Hobson
Project: Hibernate Tools > Type: Bug > Components: visualizations > Versions: 3.2beta8 > Reporter: Mark Hobson > Fix For: 3.2beta9 > Attachments: patch.txt > > > Looks like Sets were neglected from EntityNameFromValueVisitor. Fixed in attached patch. --