I committed this to the Hibernate2 module last night, in fact. I have added an interface called Configurable to the id package. Check that out to see how it works. Hibernate2 will always use default constructors to instantiate id generators.
========================================================================= I am looking to create a custom id generator for my project and noticed several planned "enhancements" for H2 in the id generator area. Two are specific generator cases, so I am not concerned with them. What I would like to know is how far has the planning gone for * named id generator parameters <param name="maxLo" value="9"/> so that I can make sure my generator is forward compatable? mainly, I want to make sure I can support the named params, especially as my generator will require params. Can I plan for it with some simple assumptions? something like one of these choices: craete getters/setters for named params (ie for the above example setMaxLo(int maxLo) or a Constructor or Configure method that accepts an xml doc/string or a name=value pair map Thanks in advance Russell ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel ********************************************************************** Any personal or sensitive information contained in this email and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable. This email, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this email or attachments. Any confidentiality or privilege is not waived or lost because this email has been sent to you in error. If you have received it in error, please let us know by reply email, delete it from your system and destroy any copies. ********************************************************************** ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel