[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-26 Thread rberehoudougou
Hi netanelw,
I can't get the same type of config (CMP2.0 MySQL, Jboss 3.2.3) to work.
Can you hepl ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836198#3836198

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836198



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread netanelw
i've downloaded jboss 3.2.3, reinstall my webapp, set all properties and db 
definitions and i tw o r k s ! ! ! 10x for all the help :) 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836061#3836061

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836061


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
There you go

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836058#3836058

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836058


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread netanelw
3.2.2

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836055#3836055

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836055


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
It says it should be fixed in JBoss 3.2.3, so upgrade to that. What version are you 
using? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836050#3836050

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836050


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread netanelw
probably this is my problem, i've got 89 cmp fields.
how can i fix it ? in the link alex says he have solve it...


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836049#3836049

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836049


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
It could be to to with the number of CMP fields in your bean. Do your other, working 
beans also have > 64 fields? What version of JBoss are you using?

If you are using an old version of JBoss, try upgrading to 3.2.3:
http://www.junlu.com/msg/36052.html

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836045#3836045

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836045


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread netanelw
i don't think so... and all of my other ejbs they work just fine with returning the pk 
class... 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836040#3836040

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836040


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
Probably not "it", but in CMP ejbCreate should always return null.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836039#3836039

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836039


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread netanelw
Here is the code: the "prefix" & "awbnumber" is the fields of the primary key class.
  public AirwaybillsPK ejbCreate(int manifest,String special,String prefix,String 
awbnumber,String service,String ws,String requester,String contact,String 
shipper,String sender,String senderphone,String senderfax,String senderaddress,String 
senderbldg,String senderfloor,String senderrm,String sendercity,String 
senderstate,String sendercountry,String senderzip,String pickupcustomer,String 
pickupws,String pufrom,String readydate,String readytime,String pickupaddress,String 
pickupbldg,String pickupfloor,String pickuprm,String pickupcity,String 
pickupstate,String pickupcountry,String pickupzip,String consignee,String 
receiver,String receiverphone,String receiverfax,String receiveraddress,String 
receiverbldg,String receiverfloor,String receiverrm,String receivercity,String 
receiverstate,String receivercountry,String receiverzip,String deliverycustomer,String 
deliveryws,String deliverto,String deliverbydate,String deliverbytime,String 
deliveryaddress,String deliverybldg,String deliveryfloor,String deliveryrm,String 
deliverycity,String deliverystate,String deliverycountry,String deliveryzip,String 
description,String harmonizecode,String iso,String pieces,String value,String 
currency,String weight,String dimweight,String weightunits,String whomtocharge,String 
chargedname,String thirdpartychargedname,String thirdpartyws,String pickupdate, String 
pickuptime,String pickupdriver,String departdate,String departtime,String 
departflight,String departairport,String arrivedate,String arrivetime,String 
arriveflight,String arriveairport,String deliverydate,String deliverytime,String 
deliverydriver,String notes,String status)
throws CreateException
  {
System.out.println("value="+value);
setManifest(manifest);
setSpecial(special);
setPrefix(prefix);
setAwbnumber(awbnumber);
setService(service);
setWs(ws);
setRequester(requester);
setContact(contact);
setShipper(shipper);
setSender(sender);
setSenderphone(senderphone);
setSenderfax(senderfax);
setSenderaddress(senderaddress);
setSenderbldg(senderbldg);
setSenderfloor(senderfloor);
setSenderrm(senderrm);
setSendercity(sendercity);
setSenderstate(senderstate);
setSendercountry(sendercountry);
setSenderzip(senderzip);
setPickupcustomer(pickupcustomer);
setPickupws(pickupws);
setPufrom(pufrom);
setReadydate(readydate);
setReadytime(readytime);
setPickupaddress(pickupaddress);
setPickupbldg(pickupbldg);
setPickupfloor(pickupfloor);
setPickuprm(pickuprm);
setPickupcity(pickupcity);
setPickupstate(pickupstate);
setPickupcountry(pickupcountry);
setPickupzip(pickupzip);
setConsignee(consignee);
setReceiver(receiver);
setReceiverphone(receiverphone);
setReceiverfax(receiverfax);
setReceiveraddress(receiveraddress);
setReceiverbldg(receiverbldg);
setReceiverfloor(receiverfloor);
setReceiverrm(receiverrm);
setReceivercity(receivercity);
setReceiverstate(receiverstate);
setReceivercountry(receivercountry);
setReceiverzip(receiverzip);
setDeliverycustomer(deliverycustomer);
setDeliveryws(deliveryws);
setDeliverto(deliverto);
setDeliverbydate(deliverbydate);
setDeliverbytime(deliverbytime);
setDeliveryaddress(deliveryaddress);
setDeliverybldg(deliverybldg);
setDeliveryfloor(deliveryfloor);
setDeliveryrm(deliveryrm);
setDeliverycity(deliverycity);
setDeliverystate(deliverystate);
setDeliverycountry(deliverycountry);
setDeliveryzip(deliveryzip);
setDescription(description);
setHarmonizecode(harmonizecode);
setIso(iso);
setPieces(pieces);
setAwbvalue(value);
setCurrency(currency);
setWeight(weight);
setDimweight(dimweight);
setWeightunits(weightunits);
setWhomtocharge(whomtocharge);
setChargedname(chargedname);
setThirdpartychargedname(thirdpartychargedname);
setThirdpartyws(thirdpartyws);
setPickupdate(pickupdate);
setPickuptime(pickuptime);
setPickupdriver(pickupdriver);
setDepartdate(departdate);
setDeparttime(departtime);
setDepartflight(departflight);
setDepartairport(departairport);
setArrivedate(arrivedate);
setArrivetime(arrivetime);
setArriveflight(arriveflight);
setArriveairport(arriveairport);
setDeliverydate(deliverydate);
setDeliverytime(deliverytime);
setDeliverydriver(deliverydriver);
setNotes(notes);
setStatus(status);
setEntityawbcode((prefix+awbnumber).hashCode());
 

[JBoss-user] [Persistence & CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread ironbird
What a shitload of parameters in your create method !
Post your code and descriptors.
The error is in the bean creation. How is defined your primary key ?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836035#3836035

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836035


---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user