This content has been marked as final.
Show 4 replies
-
1. Re: Datatype mapping to Oracle datatypes
epbernard Feb 9, 2006 4:11 PM (in response to jaboj)forget about the CMP doc, this is not related to EJB3
you have to defined the dialect class in your persistence.xml -
2. Re: Datatype mapping to Oracle datatypes
jaboj Feb 10, 2006 3:02 AM (in response to jaboj)
It seems to work if I change hibernate.dialect in persistence.properties to Oracle9Dialect. Now the default NUMBER size is (10,0) which is ok but the default VARCHAR2 size is still 255. Maybee this isn't changeable. What datatype mapping file is in use? -
3. Re: Datatype mapping to Oracle datatypes
epbernard Feb 10, 2006 5:29 AM (in response to jaboj)use @Column(length=100)
-
4. Re: Datatype mapping to Oracle datatypes
darquerus Jul 11, 2007 6:19 AM (in response to jaboj)Is there a general way to define my own datatype mappings?
I cannot set on 250 attributes the annotations for the datatype and the length per hand. ^^