This one time, at band camp, gidro99 said:
g>How can I create my custom KeyGenerator calling stored procedure returning a
g>new Key ???
g>Any ideas ?
Vladimir,
Take a look at the other KeyGenerator implemenations in
src/main/org/exolab/castor/jdo/drivers. Each KeyGenerator has a Factory
which is registered under org.exolab.castor.jdo.keyGeneratorFactories
in the castor.properties.
At a previous job I wrote a custom KeyGenertor, wrapped it in a Factory
and started using it. You'll need to give your KeyGenerator a unique
name so that it can be distinguished from the others.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev