Hi all,
I have to do a persistence table using CMP entity with two fields: an ID as 
TEXT and a Content as LONGTEXT. ID is the primary key. The problem is that I 
can't make a primary key with a TEXT field because I have this error:
"BLOB/TEXT column 'ID' used in key specification without a key lenght"
So, where and how can i tell the lenght of the TEXT field?
I'm using JBOSS 3.2.6, Eclipse 3.0 and MySQL.
Thanks for your helps.....

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921426#3921426

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921426


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to