I'm working with hibernate 3.2.5.ga, annotation 3.3.0.ga, commons-annotation 3.0.0.ga, entity-manager 3.3.1.ga with Oracle 10g on Suse Linux, thin driver.
I'm getting the following error from time to time. It doesn't happen all the time, the same sql works fine most of the time, but for some specific records it doesn't. Note that the parameters binding is correct.
Code:
2008-10-21 13:29:23,697 DEBUG [org.hibernate.SQL] -
insert
into
VTOURSPRODUCT.EN_TEXTDESCRIPTIONS
(ADDRESSEXTRAINFO, DISTANCEEXTRAINFO, GASTRONOMYEXTRAINFO, HOTELDESCRIPTION, IMPORTANTINFORMATION, PAYMENTINFO, ROOMEXTRAINFO, SERVICEEXTRAINFO, SPORTEXTRAINFO, CREATIONTIME, IDHOTELBASE, IDIOM)
values
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 1
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 2
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 3
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 4
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 5
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 6
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 7
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 8
2008-10-21 13:29:23,697 DEBUG [org.hibernate.type.StringType] - binding null to parameter: 9
2008-10-21 13:29:23,698 DEBUG [org.hibernate.type.TimestampType] - binding '2008-10-21 13:28:54' to parameter: 10
2008-10-21 13:29:23,698 DEBUG [org.hibernate.type.StringType] - binding '3504' to parameter: 11
2008-10-21 13:29:23,698 DEBUG [org.hibernate.type.StringType] - binding 'es' to parameter: 12
2008-10-21 13:29:23,711 WARN [org.hibernate.util.JDBCExceptionReporter] - SQL Error: 12899, SQLState: 72000
2008-10-21 13:29:23,711 ERROR [org.hibernate.util.JDBCExceptionReporter] - ORA-12899: Wert zu grofür Spalte "VTOURSPRODUCT"."EN_TEXTDESCRIPTIONS"."IDIOM" (aktuell: 4, maximal: 2)
The table:
Code:
desc vtoursproduct.en_textdescriptions
Name Null Type
------------------------------ -------- --------------------------------------
IDIOM NOT NULL VARCHAR2(2)
HOTELDESCRIPTION VARCHAR2(2000)
ADDRESSEXTRAINFO VARCHAR2(2000)
DISTANCEEXTRAINFO VARCHAR2(2000)
SERVICEEXTRAINFO VARCHAR2(2000)
ROOMEXTRAINFO VARCHAR2(2000)
SPORTEXTRAINFO VARCHAR2(2000)
GASTRONOMYEXTRAINFO VARCHAR2(2000)
IMPORTANTINFORMATION VARCHAR2(2000)
CREATIONTIME NOT NULL DATE
HOTELCODE VARCHAR2(50)
IDHOTELBASE NOT NULL VARCHAR2(50)
PAYMENTINFO VARCHAR2(2000)
13 rows selected
As usual, this doesn't happen in my development environment.
Has anyone ever seen something like this?
Thanks guys!
Code:
Code: