Patches item #696918, was opened at 2003-03-03 23:17
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=696918&group_id=22866

Category: JBossCMP
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Schaefer (mschaefer)
Assigned to: Nobody/Anonymous (nobody)
Summary: New Entity Create Command to support MS-SQL Auto Inc PK

Initial Comment:
Hi All

Because I need support to generate and use MS 
SQLServer auto inceremented pks , I implemented a 
plugin for JBoss 3.2 RC2.
The special thing about this kind of pks is that they 
have to be fetched after the initial insert is done. (Using 
SELECT @@IDENTITY)
The DB specific plugins which I have found in JBoss 3.2 
RC2 support only MySQL generated keys and 
sequence generated keys (like Oracle uses it). Even the 
second one is configurable (pk-sql) it cannot be used for 
MS-SQL because the pk is fetched before the insert is 
made.

I would like to contribute this plugin to the JBoss 
project. You will find the class attached to this posting.

It has already undergone successfull unit tests but i 
would like to make some more tests before i call it 
ready for use. This will be in a few days.

If you are interested please let me know. Feedback 
about my implementation is of course welcome.

Martin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=696918&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to