Error with Primary Key with several fields
Nicolas D'Ippolito <[email protected]> Wed, 10 Apr 2002 13:11:08 -0700 (PDT)
| Newsgroups | gmane.comp.java.ejb.general |
|---|---|
| Message-ID | <[email protected]> |
--0-1095651790-1018469468=:49930
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Hi,
I work with HP-AS 8.0 and HP-RadPak 1.0.
And I try to deploy an entity bean (CMP 1.1) with a
primary key with two fields.
Example PKclass :
public int id1;
publci String str1;
But when I run it, I have that problem:
exception raised : Exception in persistence method:
findByPrimaryKey
--com.hp.mwlabs.persistence.db.XmlException:
[Microsoft][SQLServer JDBC Driver][SQLServer]Line 8:
Incorrect syntax near ','.
[04/10/02 16:56:16][executor-0][E]: The method public
abstract pk.ResumeRemote
pk.ResumeHome.findByPrimaryKey(pk.ResumePK) throws
javax.ejb.FinderException,java.rmi.RemoteException
cannot be mapped to a transaction attribute -
defaulting to Supports.
<<no stack trace available>>
I attach my classes. I need help about It, please.
Thanks, Mr.Dipi
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/