[Hibernate] help creating an ID Generator

2006-02-28 Thread Charles Harvey III
Hello. I am trying to find a decent reference on the archives of how to create my own ID generator. I have to create a string based on a date formula with some other parameters. I was hoping someone could point me in the right direction for generating a funny looking string for an ID. Do I

Re: [Hibernate] help creating an ID Generator

2006-02-28 Thread Charles Harvey III
Ok. This makes sense. That was what I was getting from that page as well. How about this though... Part of the string that I am creating as the ID is part of the request I am making in the browser. 06-Q1-105-55-01 YEAR - QUARTER - PASSED_VALUE - DAY_OF_YEAR - REQUEST_#_OF_DAY How do I pass

Re: [Hibernate] help creating an ID Generator

2006-02-28 Thread Emmanuel Bernard
Guys this is the dev mailing list, not the user forum. Charles Harvey III wrote: Ok. This makes sense. That was what I was getting from that page as well. How about this though... Part of the string that I am creating as the ID is part of the request I am making in the browser.

[Hibernate] Hibernate 3.2 alpha1 released

2006-02-28 Thread Steve Ebersole
Hibernate 3.2 alpha1 has just been released. The distribution can be obtained at http://sourceforge.net/project/showfiles.php?group_id=40712package_id=1 27784release_id=397557 There are some significant enhancements with this release so be sure to check the change-log. The biggest changes

[Hibernate] setfirstResult() / setMaxResult() and collection fetching

2006-02-28 Thread Emmanuel Bernard
Wouldn't it be possible to implement that through a scrollable resultset when a collection fetch is involved. This would limit the amount of data in memory. --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language

RE: [Hibernate] setfirstResult() / setMaxResult() and collection fetching

2006-02-28 Thread Steve Ebersole
You could, and actually most of the needed code is already in place due to the feature of scrolling collection fetches. The main problem there is that it *only* works (in terms of what you are trying to achieve) provided you know for certain that the results are ordered correctly (namely, they