hari babu
2003-01-10 08:01:07 UTC
hai,
I created a table called Chumma in Oracle with two columns Age1 Number(3), Age2 Number(3).
here the primary key is Age2.
I have used "DEEPA" as my schema.
Then i generated entity bean code JARed it.
When i deploy this jar in JBoss, the query what Jboss generates to create the table is CREATE TABLE DEEPA.CHUMMA AGE1 NUMBER(3) NOT NULL, AGE1 NUMBER(3) NOT NULL, CONSTRAINT PK_DEEPA.CHUMMA PRIMARY KEY(AGE2)). According to Oracle syntax there should not be any '.' in the constraint name. Is there anyway to solve this
Hari Babu
---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
I created a table called Chumma in Oracle with two columns Age1 Number(3), Age2 Number(3).
here the primary key is Age2.
I have used "DEEPA" as my schema.
Then i generated entity bean code JARed it.
When i deploy this jar in JBoss, the query what Jboss generates to create the table is CREATE TABLE DEEPA.CHUMMA AGE1 NUMBER(3) NOT NULL, AGE1 NUMBER(3) NOT NULL, CONSTRAINT PK_DEEPA.CHUMMA PRIMARY KEY(AGE2)). According to Oracle syntax there should not be any '.' in the constraint name. Is there anyway to solve this
Hari Babu
---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!