Re: [JBoss-user] Postgres, Oracle and CLOB

2003-10-01 Thread Markus Härnvi
Hi! > Maybe I am missing something here. Is there any reason why this can't be > done on a task working on the generated source tree, so you don't have to > copy? *brown paperbag* I was so focused on changing the XDcolet tag that I didn't realize I can change the deployment descriptor after i

Re: [JBoss-user] Postgres, Oracle and CLOB

2003-10-01 Thread Markus Härnvi
Hi! > If you just want search and replace take a look at the Replace tag. Better, thanks, but not perfect. :-) The file is under version control and it will say that my file has changed. It might generate CVS conflicts later. So I added another replace-tag at the end of the XDoclet target to

Re: [JBoss-user] Postgres, Oracle and CLOB

2003-09-29 Thread Matthew Hixson
On Monday, September 29, 2003, at 05:28 AM, Markus Härnvi wrote: Hi! Can I set the column type in the source before XDoclet runs? Put it in build.properties somehow? Check out Ant's Filter Task, if you have not done so already. Should be just the ticket. Yes, seems like it would work. I would

Re: [JBoss-user] Postgres, Oracle and CLOB

2003-09-29 Thread Stephen Davidson
Markus Härnvi wrote: Hi! Can I set the column type in the source before XDoclet runs? Put it in build.properties somehow? Check out Ant's Filter Task, if you have not done so already. Should be just the ticket. Yes, seems like it would work. I would have liked a faster way. Now we have to co

Re: [JBoss-user] Postgres, Oracle and CLOB

2003-09-29 Thread Markus Härnvi
Hi! > > Can I set the column type in the source before XDoclet runs? Put it in > > build.properties somehow? > Check out Ant's Filter Task, if you have not done so already. > Should be just the ticket. Yes, seems like it would work. I would have liked a faster way. Now we have to copy the sour

Re: [JBoss-user] Postgres, Oracle and CLOB

2003-09-29 Thread Stephen Davidson
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" Or

[JBoss-user] Postgres, Oracle and CLOB

2003-09-26 Thread Markus Härnvi
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,