How do I convert the following Oracle query to a hiberate? select ccr_master_sq.nextval from dual;
Here's a WAG: <id name="id" type="long" column="ccr_id"> <generator class="sequence"> <param>ccr_master_sq.nextval</param> <param>dual</param> </generator> </id> Is this correct? Thanks, Matt ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel