[Hibernate] Provision of source-only downloads for releases
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hibernate Dev Team, Thanks for this wonderful tool. Apologies in advance if this topic has been discussed and I have missed it, but would it be feasible to have a source-only download for Hibernate releases starting with 3.1? Have there been logistical issues in the past which have prevented this? This is very desirable for the Linux distributions packaging Hibernate. Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfjkhHuKcDICy0QoRAm0HAJ4+eba1z8wzqxjsjw2wxJham5rm2gCgw3vU EbW0oIeDMl2UItt7aBjNmVs= =fsJp -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Provision of source-only downloads for releases
On Nov 18, 2005, at 9:27 PM, Barry Hawkins wrote: Have there been logistical issues in the past which have prevented this? This is very desirable for the Linux distributions packaging Hibernate. Why would a Linux distribution not be able to package the binary plus the source? --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Hibernate] Please help keep JIRA clean!
Guys, Id like to request that everyone here pitch in and be a bit more aggressive about closing off useless JIRA issues. JIRA is absolutely no use to us if it is clogged up with thousands of issues that no-one is going to look at in the next two years! Remember, JIRA is for *our benefit as developers*, it is *not* there to allow users to escalate problems they are having in the forum, or to give them an outlet for nagging/whinging. If an issue report is not serving a useful purpose for us (ie, we will actually get round to *fixing* the issue sometime in the next year) then it should be immediately closed. It is otherwise extremely difficult to get a handle upon what is the overall status of the project in terms of known bugs, and high priority new features. There is a particular kind of user who thinks that every issue they report in JIRA deserves some kind of special personalized response from the Hibernate Team. This is *absolutely not the case*. JIRA is *not* a support portal, rather, it is our personal TODO list. Thanks. Gavin
Re: [Hibernate] Provision of source-only downloads for releases
Barry, Hibernate provides a source only distribution, accessible via CVS (not FTP or HTTP). See: http://www.hibernate.org/6.html John Barry Hawkins wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hibernate Dev Team, Thanks for this wonderful tool. Apologies in advance if this topic has been discussed and I have missed it, but would it be feasible to have a source-only download for Hibernate releases starting with 3.1? Have there been logistical issues in the past which have prevented this? This is very desirable for the Linux distributions packaging Hibernate. Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfjkhHuKcDICy0QoRAm0HAJ4+eba1z8wzqxjsjw2wxJham5rm2gCgw3vU EbW0oIeDMl2UItt7aBjNmVs= =fsJp -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Gavin King wrote: Guys, I’d like to request that everyone here pitch in and be a bit more aggressive about closing off useless JIRA issues. JIRA is absolutely no use to us if it is clogged up with thousands of issues that no-one is going to look at in the next two years! Remember, JIRA is for **our benefit as developers**, it is **not** there to allow users to escalate problems they are having in the forum, or to give them an outlet for nagging/whinging. If an issue report is not serving a useful purpose for us (ie, we will actually get round to **fixing** the issue sometime in the next year) then it should be immediately closed. It is otherwise extremely difficult to get a handle upon what is the overall status of the project in terms of known bugs, and high priority new features. Thanks. Gavin Doesn't JIRA has a LATER or REMIND state for these kind of issues? The fact that you are rejecting an issue, without giving proper consideration (I'm pretty sure you haven't) doesn't mean that the issue must be stored and forgotten. Remember that we - developers - are contributors as well as users. We contribute with our testing, ideas, patches, code, etc. A JIRA resolution must have a good reason to be! Any open source project works that way and I don't see why do you insist of treating developers as naggers or beggers. Now, I apologize for cloning the issue. I just found it rude and inconsiderate for a commiter to close an issue without giving a proper commentary. HHH-1005 is NOT a support request. Is a change requirement, or whatever that means in an Open Source development process. So, Gavin, I advise you to not alienate the developer base. I know the project is important and has a lot of followers, and that my opiniion is one in many others, but keep it that way! Now, I agree with you that these kind of discussion belongs here and not in JIRA. I'm sorry for that but I expect you to take the issue in consideration. It's important not only for me, but for other people. And we also think that a lot of people haven't realized the hidden bug (in the eyes of the end users) that current Criteria functionality puts in a project. As for your comment: There is a particular kind of user who thinks that every issue they report in JIRA deserves some kind of special personalized response from the Hibernate Team. This is **absolutely not the case**. JIRA is **not** a support portal, rather, it is our personal TODO list. Yes, every report in JIRA deserves personalized response from the Hibernate Team. Not for support, but for giving it at least consideration! I'd like to see the opinion of other Hibernate Team members about this, too. I offered a patch so its just a matter of thinking if the improvement is useful or not, and reviewing it later. -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software Teléfono: (506) 363-7535 Email: [EMAIL PROTECTED] --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
On Nov 18, 2005, at 11:11 PM, Leonardo Quijano Vincenzi wrote: Yes, every report in JIRA deserves personalized response from the Hibernate Team. Not for support, but for giving it at least consideration! Wrong, that's what the developer list is for. I'd like to see the opinion of other Hibernate Team members about this, too. I offered a patch so its just a matter of thinking if the improvement is useful or not, and reviewing it later. You should discuss it here and not post it to JIRA. If the response is negative there is no reason to post it to JIRA. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
RE: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Now, I apologize for cloning the issue. I just found it rude and inconsiderate for a commiter to close an issue without giving a proper commentary. Yes, every report in JIRA deserves personalized response from the Hibernate Team. Not for support, but for giving it at least consideration! On the contrary, if we had to write spend time writing essays in response to every JIRA Issue, we would never get any useful work done. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
(this Thunderbird 1.5 keeps setting reply's to private e-mail addresses. I'll watch out for it). Yes, every report in JIRA deserves personalized response from the Hibernate Team. Not for support, but for giving it at least consideration! Wrong, that's what the developer list is for. Err... then what is the comments section in JIRA for? And votes? AFAIK - you post an issue, put some comments... if the discussion gets too complicated then you move it to the mailing list. That's usual practice. Maybe you at Hibernate do things different and then I'll put it in the mailing list. But that's not the common approach to bug reports in open source projects. You should discuss it here and not post it to JIRA. If the response is negative there is no reason to post it to JIRA. Ok, can we discuss the issue at hand without Gavin saying -1 for extra complexity, which is for what it's worth the same answer as -1 because I don't feel like it?. I'd like to see some technical arguments about it, please. -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
You said yourself that the modifications required for the issue were an extra 2 o 3 methods. I don't see the need for a full essay. I think you're very busy and that prevents you to really look at the issue. In that case you should leave it open until you have time for it, for the good of the project. -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Gavin King wrote: But that's not the common approach to bug reports in open source projects. You might have noticed that we do things quite differently to many other projects. Too much democracy is a major reason why so many initially successful open source projects grind to a complete halt after maybe 2 years of existence. Yes, but neglecting developer input is the other major reason of open source projects failure. I remember reading an essay about that, but right now I don't have much time to discuss it. Now, probably you won't remember me, but I've been a Hibernate user for 3 years now... So at least let me explain the technical reasons for the issue and have a good discussion that's not based on politics. -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Leonardo Quijano Vincenzi wrote: Gavin King wrote: Yes, but neglecting developer input is the other major reason of open source projects failure. I remember reading an essay about that, but right now I don't have much time to discuss it. (ohh I remember... it was the Cathedral and the Bazaar): Anyway, in a world of cheap PCs and fast Internet links, we find pretty consistently that the only really limiting resource is skilled attention. Open-source projects, when they founder, essentially never do so for want of machines or links or office space; they die only when the developers themselves lose interest. just to make a better point ;). -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
RE: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Yes, futile silly inane discussions such as this one kill my enthusiasm and interest a little bit every day... Tell you what: you run your project the way you want, I'll not interfere; ergo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonardo Quijano Vincenzi Sent: Friday, November 18, 2005 4:50 PM To: Hibernate development Cc: Gavin King Subject: Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005) Leonardo Quijano Vincenzi wrote: Gavin King wrote: Yes, but neglecting developer input is the other major reason of open source projects failure. I remember reading an essay about that, but right now I don't have much time to discuss it. (ohh I remember... it was the Cathedral and the Bazaar): Anyway, in a world of cheap PCs and fast Internet links, we find pretty consistently that the only really limiting resource is skilled attention. Open-source projects, when they founder, essentially never do so for want of machines or links or office space; they die only when the developers themselves lose interest. just to make a better point ;). -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Hibernate] Please help keep JIRA clean! (comment for issue HHH-1005)
Steve Ebersole wrote: Yes, futile silly inane discussions such as this one kill my enthusiasm and interest a little bit every day... Tell you what: you run your project the way you want, I'll not interfere; ergo That's when you're not the one asking for attention to a problem. That's all I'm asking. Talking about politics is just for fun, but if you're too busy for that you can ignore that, I don't mind. -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Fwd: Re: [Hibernate] Provision of source-only downloads for releases]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Franey wrote: Barry, Hibernate provides a source only distribution, accessible via CVS (not FTP or HTTP). See: http://www.hibernate.org/6.html John [...] John, Yes, thanks. That is what I am using currently instead of manually stripping the current download. I first mentioned it several months back[0], and at that time Christian had confirmed that the tags in the repo could be used to generate a source tarball. As long as that will reliably reflect the content of a given release download, we can continue to do that. Sometimes tagging may happen slightly after the generation of a release build, and if commits occur in between it might produce unreliable results, hence the proposition. [0] - http://sourceforge.net/mailarchive/forum.php?thread_id=6923875forum_id=7517 Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfnZLHuKcDICy0QoRAvcUAKCvRJjV8AF/v62yEMBm/3G+k4+A1QCfVtox 8UzmL1ra/3O5DX8h0+4eICA= =H5tO -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Fwd: Re: [Hibernate] Provision of source-only downloads for releases]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Bauer wrote: On Nov 18, 2005, at 9:27 PM, Barry Hawkins wrote: Have there been logistical issues in the past which have prevented this? This is very desirable for the Linux distributions packaging Hibernate. Why would a Linux distribution not be able to package the binary plus the source? [...] Christian, Hi. In Debian-based distributions, the upstream source that enters our package archives must be free of the binaries that are built from source. The binaries are built on each architecture from the source package. What we have to do with the current download is strip out all the binary stuff. I think it is the same for Fedora and Gentoo, so I figured I'd ask. Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfnZ/HuKcDICy0QoRAiycAJ9JpsDFXWXUGy2HLLUb/EWo0WwE6wCg0jIK FV5LEPgxM8D/LiRPiSIn9Qo= =q1d0 -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Fwd: Re: [Hibernate] Provision of source-only downloads for releases]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry gang, didn't realize the Reply-To: header was not being set on the mailing list. Forwarded the rest of the thread so hopefully nobody else will bother you guys with the same question. - Original Message Subject: Re: [Hibernate] Provision of source-only downloads for releases Date: Fri, 18 Nov 2005 18:21:09 -0500 From: Barry Hawkins [EMAIL PROTECTED] To: Christian Bauer [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Christian Bauer wrote: On Nov 18, 2005, at 11:57 PM, Barry Hawkins wrote: The binaries are built on each architecture from the source package. There is only one architecture in this case, Java bytecode. This step is not needed for Java software and we won't create a package to satisfy some inflexible distribution procedure. Or, get it from CVS. [...] Christian, No worries, just thought I'd ask. Source tarballs generated by the upstream can be more reliable when, for instance, commits happen in between a release build and the tagging operation. On a separate note, I changed my email address from [EMAIL PROTECTED] to this one. I am the guy who had started the update of the tutorial for you a while back. Hope all is well! Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfnfbHuKcDICy0QoRAgF0AKDI43IqNTUU7xqrJ+9mJwZ1DFVUMQCgi99Y S1FizrbLM1C5O7bp6WSdgcc= =OYSW -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
RE: [Fwd: Re: [Hibernate] Provision of source-only downloads for releases]
I tag CVS first, and then use that to do the build. So no problem there... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Hawkins Sent: Friday, November 18, 2005 6:48 PM To: Hibernate devel Subject: [Fwd: Re: [Hibernate] Provision of source-only downloads for releases] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Franey wrote: Barry, Hibernate provides a source only distribution, accessible via CVS (not FTP or HTTP). See: http://www.hibernate.org/6.html John [...] John, Yes, thanks. That is what I am using currently instead of manually stripping the current download. I first mentioned it several months back[0], and at that time Christian had confirmed that the tags in the repo could be used to generate a source tarball. As long as that will reliably reflect the content of a given release download, we can continue to do that. Sometimes tagging may happen slightly after the generation of a release build, and if commits occur in between it might produce unreliable results, hence the proposition. [0] - http://sourceforge.net/mailarchive/forum.php?thread_id=6923875forum_id= 7517 Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfnZLHuKcDICy0QoRAvcUAKCvRJjV8AF/v62yEMBm/3G+k4+A1QCfVtox 8UzmL1ra/3O5DX8h0+4eICA= =H5tO -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
Re: [Fwd: Re: [Hibernate] Provision of source-only downloads for releases]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Ebersole wrote: I tag CVS first, and then use that to do the build. So no problem there... Thanks Steve, that is helpful to know. Sounds like we can count on basing off of the CVS tags. Regards, - -- Barry Hawkins All Things Computed site: www.alltc.com weblog: www.yepthatsme.com Registered Linux User #368650 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfpLlHuKcDICy0QoRAkQVAKCoJ/eLNnoSROH9f2DvMaf97mbAdgCg7AIy zOT649EMEuvzdCZhv7MDevs= =s8rG -END PGP SIGNATURE- --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Hibernate] Criterias OUTER JOIN when using Alias - Subquery
Putting the political discussions aside, I've seen the topic of Criteria outer joining several times. JIRA issues: http://opensource2.atlassian.com/projects/hibernate/browse/HHH-214 (rejected) http://opensource2.atlassian.com/projects/hibernate/browse/HHH-1137 (open) http://opensource2.atlassian.com/projects/hibernate/browse/HHH-1005 (mine, rejected) http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topicf=78t=001047 http://forum.hibernate.org/search.php?search_author=emmanuel.boudrant and a blog somewhere... 1) Now, the requested feature would be Criteria - not HQL - generation of the following SQL: SELECT * FROM foo LEFT JOIN Bar ON foo.bar_id = bar.id ORDER BY bar.name; Instead of: SELECT * FROM foo INNER JOIN Bar ON foo.bar_id = bar.id ORDER BY bar.name; 2) Where is it needed? On every Criteria query where associations are 0 - N, and using the ORDER BY clause as shown above. This is valid SQL on most databases. 3) Common cases? Any HTML with headers on top that traverses through a simple 0 - N association, such as this: |Name |Country Name|etc -- getName(); getCountry().getName(); etc When ordering by country name, the Criteria generates an INNER JOIN. Where ordering by Name, the Criteria isn't generated. The number of results is different when clicking the 'Name' header and clicking the 'Country Name' header. Certainly what the user don't expect. 4) Why Criteria and not HQL? Because when joining for ORDER BY clauses only, the OUTER is much more common than the INNER JOIN. It makes no sense to add a filter only on certain ORDERing ids. And this HTML table example is precisely the kind of things Criterias are used for (usally when creating dynamic filters, which are much harder with HQL). 5) Solution? Add a single overload in Criteria API to createAlias() and createCriteria(). In addition to the current methods, we could put these: |*createAlias cid:part1.07030607.02050402@dtqsoftware.com*(String http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html associationPath, String http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html alias, JoinMode joinMode); | |*createCriteria cid:part2.0901.02080609@dtqsoftware.com*(String http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html associationPath, JoinMode joinMode); ||*createCriteria cid:part3.08020707.05080303@dtqsoftware.com*(String http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html associationPath, String http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html alias, JoinMode joinMode);| JoinMode would be one of: INNER, LEFT_OUTER, RIGHT_OUTER, I think. It would default to INNER to preserve existing functionality. I guess it would involve changes to Subcriteria class and the appropiate SQL generation code. It's simple, it's useful, it's needed. Why don't just add the methods? -- Ing. Leonardo Quijano Vincenzi Director Técnico DTQ Software --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628alloc_id=16845op=click ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel