Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xml

Status
Not open for further replies.

ramana2001

Programmer
Nov 27, 2000
1
0
0
US
Hi
I want to know can we have DB generated PK in CMP or not???? and if we
can have then how????? Pls give me answer in detail.

I'm using weblogic 5.1 sql as database in that i've one col int
taskid as an identity col, it is generated by database it self .can u tell
me in my PK class , entitybean class and all 3 XML files what changes I
should made?

Actually whenever i tried to insert a record into database (in ejbCreate
i've not mention the field that is generated by database itself) but still
its giving SQL Exception --explicit value is given to identity col when
identity _insert is set
to off but I'm not providing any value to that inentity col


Its very urgent
Thanks in advance
Ramana Peechara
 
Sorry I don't know what this means,
you wrote:
I want to know can we have DB generated PK in CMP or not???? and if we
can have then how?????

Roger on the flip side, There Good Buddy, 10-4


DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top