[CDO] Type for text more than 255 [message #521778] |
Thu, 18 March 2010 17:36 |
|
Hi all,
I have problem when try to store a text more than 255 because type at H2Database is Varchar and at the model i use EString.
i get this error message :
[ERROR] org.h2.jdbc.JdbcSQLException: Wert zu gross / lang für Feld CONTENT VARCHAR(32672): STRINGDECODE('\r\n========================================== ========================\r\n\r\nPayPal\r\n\r\n============== ========... (166933)
3 Value too long for column CONTENT VARCHAR(32672): STRINGDECODE('\r\n========================================== ========================\r\n\r\nPayPal\r\n\r\n============== ========... (166933); SQL statement:
anyone can give me some suggestion to solve this problem ?
what should i use for data type at the model
Thanks,
CanA
http://cana.web.id
[Updated on: Fri, 19 March 2010 03:10] Report message to a moderator
|
|
|
|
Re: Type for text more than 255 [message #521833 is a reply to message #521778] |
Thu, 18 March 2010 20:32 |
|
Hi Rencana,
I'm not a database expert or H2 in particular. Hopefully others can jump
in. Stefan?
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 18.03.2010 18:36, schrieb Rencana Tarigan:
> Hi all, I have problem when try to store a text more than 255 because
> type at H2Database is Varchar and at the model i use EString.
>
> i get this error message :
> [ERROR] org.h2.jdbc.JdbcSQLException: Wert zu gross / lang für Feld
> CONTENT VARCHAR(32672):
> STRINGDECODE('\r\n==========================================
> ========================\r\n\r\nPayPal\r\n\r\n==============
> ========... (166933)
> 3 Value too long for column CONTENT VARCHAR(32672):
> STRINGDECODE('\r\n==========================================
> ========================\r\n\r\nPayPal\r\n\r\n==============
> ========... (166933); SQL statement:
>
> anyone can give me some suggestion to solve this problem ?
> what should i use for data type at the model
>
> Thanks,
>
> CanA
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02627 seconds