[jbossseam-issues] seam-gen generate-entities and mysql

Morten Matras morten.matras at gmail.com
Wed Nov 7 07:59:56 EST 2007


I'm trying to reverse engineer an application using seam-gen
generate-entities from a mysql database and get some errors that's related
to the column types.

The database is generated from a Hibernate based webapplication or EJB3
based application. (I'm trying two different applications).

I get errors like:

"Wrong column type: description, expected: varchar(65535)" if the property
is a string with type = "text"

So what is mapped like this in the original hibernate project:
@Type(type="text")

can't be reverse engineered back to the same type.

Any ideas on how to proceed / avoid these column type problems.


-- 
  Morten Matras
  Udviklingschef
  GAMP media og Blob Communication ApS
  Vindegade 99-103
  5000 Odense C
  Tlf: 61711103
  E: morten at gampmedia.dk

  T: 76 654321
  W: www.blobcom.com
  E: morten at blobcom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-issues/attachments/20071107/96718bdd/attachment.html 


More information about the seam-issues mailing list