[jboss-user] [JBoss Seam] - Re: Intergration with Maven2? And Seam Generating Test Cas

2007-11-30 Thread vcordaro12
1), yes entities are gnerated from a datasource, however I want to be able to execute generate-entities from my pom. So that in my nightly build process I can generate my entities. 2) so in our nightly build process my entities are created from our automated build process, continuum. 3). T

[jboss-user] [JBoss Seam] - Intergration with Maven2? And Seam Generating Test Cases?

2007-11-28 Thread vcordaro12
First off I am trying to get seam intergrated into my maven pom so that I can generate-entites directly from my pom. I saw in the documentation that it provided all the dependency information but nothing on how to tie seam into your build process. Also will Seam generate my test cases? Or do

[jboss-user] [JBoss Seam] - Char vs. VarChar

2007-11-27 Thread vcordaro12
For some reason when a column in my postgres database is defined as CHAR(*), it will not resolve properly when validating the generated bean against the database. I ended up having to change my datatypes to VARCHARS. Anyone know anything about this? 11:56:48,412 INFO [TableMetadata] table

[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

2007-11-26 Thread vcordaro12
I think I found my own answer. It seems like I maybe able to use seam-gen.reveng.xml file to define that unknown datatype. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107875#4107875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [JBoss Seam] - Defining Specific Tables to generate entities from

2007-11-26 Thread vcordaro12
I don't want seam-gen generate entities to do the entire schema I want it only to introspect specific tables. Is this possible? If so where do I configure it? Thanks Vince View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107873#4107873 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

2007-11-26 Thread vcordaro12
Turns out that tsvector is a custom defined postgres datatype. How does seam handle unknown datatypes, like a postgres Geometry Datatype? Can I write a custom handler for these types or do I need to? Vince Thanks again for the prompt responses... View the original post : http://www.jboss.co

[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

2007-11-26 Thread vcordaro12
I seemed to have resolved the database connection problem by fixing my jdbc url in seam-gen/build.properties it seems that somehow I got extra backslashes in it. However my new error has to do with the definition of a column type. 12:47:44,370 INFO [SchemaValidator] Running schema validato

[jboss-user] [JBoss Seam] - Re: Error Compiling generated entities from Postgre

2007-11-26 Thread vcordaro12
The fullTextIndex is a tsvector in the database ALTER TABLE adlib.annotation_tsearch DROP COLUMN full_text_index; ALTER TABLE adlib.annotation_tsearch ADD COLUMN full_text_index tsvector; ALTER TABLE adlib.annotation_tsearch ALTER COLUMN full_text_index SET STORAGE EXTENDED; View the original

[jboss-user] [JBoss Seam] - Error Compiling generated entities from Postgre

2007-11-26 Thread vcordaro12
I have followed the instructions to setup seam by using ./seam setup, inputing all the proper values to connect to my local postgres database. Then I run ./seam create-project and then ./seam generate-entities. All these seem to go through fine. My entities get created and it seems to intro