Hi all!

I'm having trouble with andromda generating xdoclet tags like this:

 * @ejb.persistence
 *     column-name="READTIME"
 *       jdbc-type="TIMESTAMP"
 *        sql-type="DATETIME"


When I try to deploy this on JBoss 3.0.8, JBoss says:

org.jboss.deployment.DeploymentException: Error while creating table
level; - nested throwable: (java.sql.SQLException: ERROR:  Type
"datetime" does not exist

Which is nothing less than expected as Postgres 7.3 does not have a
datetime type, only time and timestamp so what do I have to do to make
andromda (2.1.1) create sql-type="TIMESTAMP". If I manually changes this
it deploys OK, but the point is not to have to do this manually isn't it
:-) 

In the design this field is of type java.util.Data. I use Poseidon SE
2.1.1 by the way...


So any thoughts on how I can accompish this anyone ?


best regards to all....
-DAG-



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to