I am trying to deploy an Entity (Order) having a dependent object associated with it (Address)
 (Example from Professional EJB -> Pg 190 -> Wrox Publications).

However when I try to create the Order bean, I get the following error

java.rmi.RemoteException: EJB Exception:; nested exception is:
        javax.ejb.EJBException
 - with nested exception:
[java.sql.SQLException: ORA-01401: inserted value too large for column
]
java.sql.SQLException: ORA-01401: inserted value too large for column

        <

I tried to debug and found out that the control goes upto the ejbPostCreate() method.

The table structure is as follows:

ORDERID NOT NULL VARCHAR2(50)
CUSTNAME VARCHAR2(50)
ADDRESS VARCHAR2(100)

Below is the line of code for the create method

Order order = orderHome.create("1" ,"Rahul Gokhale", new AddressValueObject("some road", "some city", 733402));

Environment:

Weblogic 6.0 upgraded for EJB 2.0 using the patch from BEA
Oracle 8i

Any clues as to why this might be happening???