Ricardo Argüello wrote: > Dain, > > I read in the JBoss forums that unknown primary key will be supported next month.
That's the plan. > Is it going to be supported with the help of jboss specific metadata, or as the spec >says (PK of type Object)? Yes, to both. The Object type pk will turn on the unknown pk code, and JBoss specific metadata will be used to configure the system. > I think we should use JDBC 3.0 drivers to get the autogenerated pk. And then wait >for these drivers to be available for all major databases. > > Or, develop a plugable automatic pk generation engine, to use Oracle sequences or >any other db specific strategy. Both. Actually I think there will be three supported types. - Get pk value from some generator MBean before the insert - Get the pk value after the insert using JDBC 3.0 - Get the pk value after the insert using a special DB query > I'd like to help in any way possible. > Please let me know if I'm of any help. I'll take you up on that. -dain _______________________________________________________________ Hundreds of nodes, one monster rendering program. Now that's a super model! Visit http://clustering.foundries.sf.net/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development