Markus Härnvi wrote:
Hi!

I want to deploy the same CMP based application to PostgreSQL and Oracle9i.
Since one field is a CLOB in the pre-existing Oracle database I need to set some
extra XDoclet tags:

@jboss.column-name name="logmsg"
@jboss.sql-type type = "CLOB"
@jboss.jdbc-type type = "CLOB"

Oracle handles this, but Postgres doesn't know about "clob". I wouldn't mind
using  another table type in Postgres. "Text" perhaps. It's only text data.

Can I set the column type in the source before XDoclet runs? Put it in
build.properties somehow?

/Markus

Hi Markus.

Check out Ant's Filter Task, if you have not done so already.
Should be just the ticket.

Regards,
Steve

--
Java/J2EE Developer/Integrator
Co-Chair, Dallas/FortWorth J2EE Sig
214-724-7741





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to