[jboss-user] [JBoss Seam] - seam-gen problem with generate-ui and repeated types

2008-02-08 Thread jcg3
I am designing from the entities out and the seam-gen generate-ui is incredibly helpful. Great stuff. I've noticed a minor thing that I have questions on. I believe this is a bug... anyone care to confirmation and/or tell me where to log the issue to be fixed in a future release? The

[jboss-user] [JBoss Seam] - seam-gen makes EARs that are 12X bigger than they need to be

2008-01-28 Thread jsimone
I created a new project with seam-gen create-project and then imported it into eclipse as a general project. After copying the helloworld source files into the project to create a deployable EAR I noticed that the EAR that gets built from build.xml is 12 times larger that the helloworld.ear

[jboss-user] [JBoss Seam] - seam gen doesn't fit with JMS_MESSAGES?!

2008-01-17 Thread Mussie
Ok new error when doing seam gen from prompt I tried to generate entities! And got this error: 15:56:16,466 WARN [ServiceController] Problem starting service persistence.units:ear=helloworld.ear,unitName=helloworld | javax.persistence.PersistenceException: org.hibernate.HibernateException:

[jboss-user] [JBoss Seam] - seam-gen generate-entities broken

2008-01-14 Thread nathandennis
grabbed seam from the cvs today 011408 to get around a few other bug in older revision. wouldnt run generate entities on my existing db. jboss 4.2.1 postgres 8.1.5 postgresql-8.1-411.jdbc3.jar (current as of today) also tried with 410 | [hibernate] INFO: Hibernate Annotations 3.3.0.GA |

[jboss-user] [JBoss Seam] - seam gen in eclipse?

2008-01-10 Thread Mussie
Hello Forum, I'm trying to build a CRUD web application using seam-gen. I watched these two movies: http://www.jboss.com/products/seam/SeamHBTools.html http://michaelyuan.com/download/seam/rhds-20070306.html In michael yuans example there is a button Seam Gen on the menu bar in his eclipse. How

[jboss-user] [JBoss Seam] - seam-gen with rf 3.1.3 simpleTogglePanel float clearing

2007-12-23 Thread andrewa
Apparently rf 3.1.3 moved from tables to css for the simpleTogglePanel layout and now the seam-gen generated display forms have some float clearing issue. To reproduce in a seam-gen generated project: !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN |

[jboss-user] [JBoss Seam] - seam-gen : reverse DB : many-to-many convention ?

2007-12-14 Thread damienhuriet
Hi ! I'm trying to find the convention to use so that seam-gen generates a many-to-many relationship. I'm using seam 2.0 in Eclipse Europa and JBossTools. My DB is in MySQL 5.0. The wizards to generate entities from an existing DB works very well. I'have understood that there is a

[jboss-user] [JBoss Seam] - seam-gen, javax.el.PropertyNotFoundException when running Se

2007-12-05 Thread thoman23
Hello everybody, I am brand new to Seam. I have been evaluating it for a few days, and I'm very excited by the possibilities. However, I keep running into an issue with seam-gen. When I deploy a Seam example, like the seam-registration example, it works fine when I use the example build

[jboss-user] [JBoss Seam] - seam-gen : list.xhtml - Create Button issue

2007-11-29 Thread gonzalad
Hello, When using seam-gen (2.0.0) I have the following issue : in list page, button 'Create entity' can disappear. To reproduce the problem, you'll need 2 associated entities (i.e. @ManyToOne) : 1 - navigate to entity A list. 2 - click 'Create entity A' button. 3 - click 'Select entity B'

[jboss-user] [JBoss Seam] - seam-gen 'generate-entities' generates invalid code for tabl

2007-11-14 Thread voreichel
Using seam-gen 'generate-entities' to generate a CRUD application from an existing PostgreSQL database does not generate working code. I have the follwing two tables in my database: Table t_user | CREATE TABLE t_user | ( | email character varying(255) NOT NULL, | firstname character

[jboss-user] [JBoss Seam] - seam-gen entities: cascading bug or accepted behavior?

2007-11-14 Thread sstrenn
Folks, When seam-gen generates an entity with a one-to-many association to another entity, it appears to always set the cascade attribute to CascadeType.ALL. My sense is that this is incorrect behavior when the foreign key's constraint in the database is set to ON DELETE RESTRICT. Is this an

[jboss-user] [JBoss Seam] - seam-gen is not a solution worth trying for existing EJB3 pr

2007-11-10 Thread mortena
Hi Seam folks I've tried getting a proper start using seam by using seam-gen. The basis of the project is a running EJB3 application with a JSP based web-interface. Based on a number of searches on the web I concluded that seam-gen should be able to generate the CRUD based WEB-UI in seconds

[jboss-user] [JBoss Seam] - Seam-gen generates compile error

2007-11-06 Thread sdthomas
I am attempting to reverse engineer a database with seam-gen/generate-entities. Everything is built correctly. But the isDefined() method in the generated TransectHome class incorrectly applies a Strings.isEmpty() method (the objects are not always Strings). Is this a bug? Generated Pojo

[jboss-user] [JBoss Seam] - -Seam-gen PropertyNotFoundException after generate-entities

2007-11-05 Thread nharrison
Hi, I'm evaluating Seam and trying to deploy a simple app using seam-gen with a preexisting MySQL database (also tried the same with MSSQL). I've tried to deploy with JBoss 4.2.0 and 4.2.2 with both seam 1.2 and 2.0CR3. The empty shell seam-gen runs fine. After running generate-entites the ,

[jboss-user] [JBoss Seam] - seam-gen in components.xml wrongly puts action execute

2007-11-02 Thread codelion
In the seam-gen generate components.xml the two action execute apparently don't go with the 2.0 schema, says my Eclipse. It is happy with an action expression instead. Not sure who of the parties is wrong, but one of them is. View the original post :

[jboss-user] [JBoss Seam] - seam-gen with hxtt

2007-10-29 Thread sa_shadow
hi! i have a little problem here. i'm trying to access dbf from seam via hxtt driver. There are two jars: jdbc_dbf.jar - driver hibernate.jar - it contains HxttDbfDialect class, that is used too. So now when i run seam setup i can place there only one jar- JDBC driver. But i need to attach

[jboss-user] [JBoss Seam] - seam-gen generate entities errors

2007-10-22 Thread bdlink
Saw something similar in JIRA regarding Temporal fields, but that is not an issue here. Running Seam 2.0.0.CR2 with JDK 1.5.0_12 and JBoss4.2.1.GA and eclipse3.3.1 with JBoss Tools2.0.0.beta4 installed. Created a new project with seamgen new-project with the following properties: |

[jboss-user] [JBoss Seam] - seam-gen EntityList, how to disable auto search

2007-10-13 Thread terryb
In search (list) pages generated by seam-gen. it automatically displays results when list page is first opened. I can't seem to find a way to stop this auto search behaviour? I would like to stop that, and only execute search when pressing search button. Also, I got some buttons on page,

[jboss-user] [JBoss Seam] Seam-Gen: Current best practices for dealing with JBSEAM-994?

2007-10-10 Thread Tony Payne
What is considered the best practice for dealing with JBSEAM-994, where seam-gen is unable to deal with tables which reference another table multiple times? I'm evaluating using Seam, and this is presenting a significant roadblock to my evaluation. I am reluctant to fix the Home classes

[jboss-user] [JBOSS-SEAM] Seam-Gen: Current best practices for dealing with JBSEAM-994?

2007-10-08 Thread Tony Payne
What is considered the best practice for dealing with JBSEAM-994, where seam-gen is unable to deal with tables which reference another table multiple times? I'm evaluating using Seam, and this is presenting a significant roadblock to my evaluation. I am reluctant to fix the Home classes

[jboss-user] [JBoss Seam] - seam-gen : old issues

2007-10-04 Thread atao
There is a bunch of feature requests for seam-gen that are awaiting now for quite a long time, e.g.: JBSEAM-994 seam-gen and mutiple foreign keys, JBSEAM-843 Generate application from existing entities, JBSEAM-1493 Seam-gen: allow return to original page, JBSEAM-1136 Support multiple

[jboss-user] [JBoss Seam] - Seam-Gen Project Directory Structures

2007-10-03 Thread dhinojosa
http://docs.jboss.com/seam/2.0.0.CR1/reference/en/html/configuration.html#d0e13286 Referencing the above link, is there anyway we can choose the directory structure (standard, 25.2.1, 25.3.3, 25.5.2, or 25.6.1) with seam-gen to create our desired structure? I prefer not to use the standard

[jboss-user] [JBoss Seam] - seam-gen changes character

2007-10-03 Thread piotr.walczyszyn
I'm running recent CVS version and I just found out (the hard way) that seam-gen when I run seam update-project command changes - to _ character in my project name and all the jars and updates end up in different folder than I expected. View the original post :

[jboss-user] [JBoss Seam] - seam-gen

2007-10-01 Thread marius.oancea
Hello, I have a column ABSPROP_PROP_UNIQUE_GUID CHAR(32). Seam-gen generates the following code in the Entity: @Column(name = ABSPROP_PROP_UNIQUE_GUID, nullable = false, length = 32) | @NotNull | @Length(max = 32) | public String getAbspropPropUniqueGuid() { |

[jboss-user] [JBoss Seam] - seam-gen problem when same table is referenced two times

2007-09-26 Thread marius.oancea
Hello, I have a table USER and a table ADDRESS. USER has two (important) attributes : - localAddress - remoteAddress both are foreign keys to ADDRESS table. So in ADDRESS table we will have two records for each user. seam generate-entities perfectly generate the beans but home entities are

[jboss-user] [JBoss Seam] - seam gen issue

2007-09-24 Thread minamti
I get an error from seam generate-entities for the following situations. table locale locale_id integer NOT NULL, locale_name varchar(10) NOT NULL, locale_desc varchar(50) NOT NULL, PRIMARY KEY(locale_id) table user user_id integer NOT NULL, locale_id integer NOT NULL, . PRIMARY

[jboss-user] [JBoss Seam] - seam-gen setup and maven

2007-09-22 Thread atao
I just updated seam from cvs and tried to created a new project. When I run seam setup I get: anonymous wrote : | Buildfile: C:\DEV\projects\eclipse\workspace\seam-cvs\seam-gen\build.xml | | init: | [artifact:dependencies] Downloading:

[jboss-user] [JBoss Seam] - Seam-gen and Hibernate Search

2007-08-30 Thread srpantano
I created classes with Seam-Gen (Seam 1.2.1) and I try use Hibernate Search the follow errors appears: | 14:41:05,194 INFO [STDOUT] Hibernate: insert into RCR.CONF_SYSTEM (SYSTEM_NAME, ID_SYSTEM) values (?, ?) | 14:41:05,209 FATAL [application] java.lang.reflect.InvocationTargetException

[jboss-user] [JBoss Seam] - seam-gen and hibernate tools! Target Unreachable, identifier

2007-08-25 Thread dashti
Hi there ! I wanted to generate my entites automatically from my database ! I used jboss-seam-2.0.0.BETA1 , jboss-4.2.1.GA, JBossTools-200706241629-nightly-ALL-win32. I had 2 ways: 1. I used hibernate tools reverse engineering to do this approach! I get the lastest dev Jboss IDE from the

[jboss-user] [JBoss Seam] - Seam-gen and @Version annotation

2007-08-17 Thread franciscoacb
If the use of @Version annotation is a good pratice (if - I'm not sure)), then wouldn't it be a good idea to seam-gen generate it within entities code (generate-entities)? Cheers, Francisco Antônio Although nobody can come back and make a new start, anyone can start now and make a new end.

[jboss-user] [JBoss Seam] - seam-gen generate-entities has detectmanytomany=false. why

2007-08-17 Thread modoc
Why is the detectmanytomany flag set to false for the hibernate reverse engineering? Is there a reason you wouldn't want them detected as the default state? Thanks! Devon View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075427#4075427 Reply to the post :

[jboss-user] [JBoss Seam] - seam gen floats (in many meanings ...)

2007-08-10 Thread limousyf
Hello, I notice a weird stuff about my seam-generated entities. I have float fields in two of my tables : Forfait : | CREATE TABLE `forfait` ( | `forfait_id` int(11) NOT NULL auto_increment, | `numero_avenant` varchar(60) NOT NULL, | `numero_commande` varchar(60) default NULL,

[jboss-user] [JBoss Seam] - seam-gen plugin available for Eclipse yet?

2007-08-09 Thread asookazian
There's one available for NetBeans. Anything available now for Eclipse? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072648#4072648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072648

[jboss-user] [JBoss Seam] - Seam Gen

2007-07-29 Thread mrohad
Is there any documentation or any test case how to change seam gen? i.e I would like to have drop down list for codes-tables View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068539#4068539 Reply to the post :

[jboss-user] [JBoss Seam] - seam-gen: is there a way to regenerate the UI without regene

2007-07-26 Thread cupdike
Using Seam 1.2.1 GA, I used seam-gen to reverse engineer from some db tables. However, I need to tweak the mappings . Is there anyway to regenerate the UI without doing the full generate-entities? Probably even better would be to generate everything BUT the entities (including Home and List

[jboss-user] [JBoss Seam] - Seam-gen build corrupts images

2007-07-20 Thread trickyvail
Seam 1.2.1.GA I have experienced corrupt image files when creating new seam-gen projects in a Linux environment (Debian Ubuntu) for some time. When creating a new seam-gen project in a WindowsXP environment the file corruption does not occur. There are only 3 files that are effected by this

[jboss-user] [JBoss Seam] - Seam-Gen and overwriting of files

2007-07-19 Thread garypinkham
Is there a way to have Seam generate-entities not overwrite existing files? I have been using it in an incremental way. I make some tables. generate-entities. do some coding and go back to making some new tables etc... The issue I mostly have is it wipes out my menu.xhtml. I'd like

[jboss-user] [JBoss Seam] - seam-gen plus arhitecture questions

2007-07-18 Thread trouby
Hey, I was wondering about few issues that I'll be glad if you guys can make them clear to me, Since actions can be implemented on any bean without much limitations, I'm kinda confused how to design my beans correctly. Usually actions needs access to resources such as database, transactions,

[jboss-user] [JBoss Seam] - Seam-gen seam setup problem

2007-07-16 Thread Stateless Bean
Hi, I tryed to create new seam project, but still have some problem. I'm in cmd command line in seam folder: D:\jboss-seam-1.2.1.GA and like in docs write: seam setup and I get: anonymous wrote : | Microsoft Windows XP [Wersja 5.1.2600] | (C) Copyright 1985-2001 Microsoft Corp. | |

[jboss-user] [JBoss Seam] - Seam-Gen few questions

2007-07-14 Thread mrohad
1) when seam-gen genrete screens(create/update) can I somehow force it to generete drop down lists for some codes table that connected to the genereted table? 2)how can I change the name of the columns in the screen? can I make seam-gen use the coulmn comment or anything like that? thanks.

[jboss-user] [JBoss Seam] - seam-gen, EJBs and different databases

2007-07-09 Thread laessig
i searched the forums and the docs but could not find the answer to my question. setup is jboss as 4.0.5 GA, seam 1.2.1GA, mysql 5.1, mysql connector 5.0.6, eclipse europa. i have a seam-gen genereted app with EJBs reverse engineered through hibernate. the EJBs all use annotations and are

[jboss-user] [JBoss Seam] - seam-gen hibernate-console.properties hibernate.connection.p

2007-07-09 Thread tim_ph
Well, default setting in hibernate-console.properties is (missing =) hibernate.connection.provider_class org.hibernate.connection.DriverManagerConnectionProvider Right now, it didn't seem to cause any problem to me (probably default). View the original post :

[jboss-user] [JBoss Seam] - seam-gen new-action : test fails

2007-07-04 Thread koenhandekyn
i created a new project using seam-gen. next i created an action using seam new-action. the test fails as follows: any comments? | test: |[testng] [Parser] Running: |[testng] C:\workspace\upbox\test-build\ExampleActionTest.xml |[testng] |[testng] WARN 04-07

[jboss-user] [JBoss Seam] - Seam-gen. The prefix bpm not bound in generated components

2007-07-03 Thread Jump
PLZ add binding xmlns:bpm=http://jboss.com/products/seam/bpm; to generated components.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059975#4059975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059975

[jboss-user] [JBoss Seam] - Seam-gen and WTP in Seam 2

2007-07-02 Thread demetrio812
Hi, I just tried seam-gen of Seam 2.0 b1 and the help says that: | There is support for generating eclipse WTP compliant EAR, JAR, WAR projects. If you select 'Y' for WTP, then some build tasks, like compile, build, deploy will not work. | But doing the setup there no question about WTP

[jboss-user] [JBoss Seam] - Seam gen edit pages, update without press save button

2007-06-28 Thread rbcdexia
I have a problem with seam generator edit pages. When a generated pojo has a complex object inside it, seam gen generates in the edit page a rich:tab with the following code. rich:tab label=entidad * labelClass=required | div class=association id=entidadParent | |

[jboss-user] [JBoss Seam] - Seam-gen can't start

2007-06-07 Thread mladen.babic
I downloaded Jboss-Seam and Seam-gen zip files.I extracted seam-gen into Jboss-Seam folder and I typed seam.sh in terminal but it trows me command not found .I 'm using Ubuntu.What I'll do to start seam-gen? Best regards, mb View the original post :

[jboss-user] [JBoss Seam] - Seam gen problem

2007-06-05 Thread carlos.abreu
Hy, i tried to use the seam gen shell script in my Ubuntu O.S and i had the following exception: [EMAIL PROTECTED]:/opt/jboss-seam-1.2.1.GA# sh seam generate-entities Buildfile: build.xml validate-workspace: validate-project: generate-entities: [hibernate] Executing Hibernate Tool with a JDBC

[jboss-user] [JBoss Seam] - seam-gen: What is it good for?

2007-06-04 Thread mugwump
After playing a while with seam-gen, I'd really like to hear if somebody is actually using this for something more than generating a template from which to start. I mean, is this supposed to be something comparable to rails or grails scaffolding? Or is it just a toy to give you a prepared build

[jboss-user] [JBoss Seam] - Seam-gen

2007-05-14 Thread cormet
Hi All, I read the tutorial on seam reference documentation. But I can't run the simple war file which is genereated from seam-gen code (when I execute the seam new-project). here are the error and any helps will be appriacited: 12:35:02,687 ERROR [[/ms_accountingsystem]] Exception sending

[jboss-user] [JBoss Seam] - seam-gen and inputSecret in edit form

2007-05-11 Thread demetrio812
Hi, I made a project with seam-gen: all works! great framework and tools!! But when I changed this code: | s:decorate id=passwordDecoration template=layout/edit.xhtml | ui:define name=labelpassword/ui:define | h:inputText id=password |required=true |

[jboss-user] [JBoss Seam] - seam-gen vs. Oracle CHAR(n) and FLOAT

2007-05-09 Thread steve_of_AR
A couple of type-mapping problems with seam-gen/hibernate and an Oracle database: CHAR(200) in the database becomes a String entity property FLOAT in the database becomes a double entity property These cause exceptions during deployment. I can probably fix these in the

[jboss-user] [JBoss Seam] - Seam-gen + RichFaces + Firefox = null page

2007-05-03 Thread viniciuscarvalho
Hello there! I've started a project with seam gen, using richfaces, and sometimes (mostly when an error happen) it stops displaying the page only on firefox. On IE it keep running ok. Is there any issue with the browser? Regards PS: So far I've only used the rich:panel component. View the

[jboss-user] [JBoss Seam] - Seam-Gen: ANT Task to build/deploy to BEA Weblogic?

2007-05-02 Thread hatcheck
Hi - Does anyone have an ANT Task to build a Seam-Gen Project to BEA Weblogic 9.x or 10.x? FYI: I've successfully deployed the two Seam Examples (hibernate2 jpa) that have builds for Weblogic and I've tried modifying the project's build.xml. However, I can't seem to get the Seam-Gen project

[jboss-user] [JBoss Seam] - Seam-gen Entity name generation question

2007-04-24 Thread anescu
Hi, Maybe this was already answered, but I couldn't find it: I have a DB schema, where tables have a prefix, to identify them as belonging to a module: md_* | msg_* If I use seam-gen, out of the box, I get entities (and all the other java, xhtml files) like this: Md* | Msg* Can this be

[jboss-user] [JBoss Seam] - seam-gen , Authenticate and EntityHome

2007-04-24 Thread hvram
Hi My application uses the generate-entities to reverse engineer an existing DB schema . I am using the pages generated using seam-gen. I am trying to plug in the authentication and I am wondering what is the correct way to go about it . I did the following in Authenticator.java @Out

[jboss-user] [JBoss Seam] - seam-gen hbm to entities

2007-04-18 Thread lavoir
Hello, I was wondering if there was an easy way to generate a seam project from a hibernate map file to help me migrate some spring projects. I tried generating from the DB, but the relations are not quite the way they are defined in my hibernate mapping files + I loose component objects.

[jboss-user] [JBoss Seam] - seam-gen: behaviour of an generated app

2007-04-18 Thread baz
Hello, I do have some problems with a seam-gen (Seam 1.2.1GA) generated app. My setup: 1. seam setup 2. seam new-project 3. seam generate-entiities Now i hae a complete app which i can deploy to jboss. For simplicity i will reference to an entity called Car Start the application and navigate to

[jboss-user] [JBoss Seam] - seam gen war on tomcat - @startup dependency problem

2007-04-17 Thread matt.drees
I've been trying to get a war seam-gen project running on Tomcat, and I've been successful at getting the right jars, I believe. However, I am having problems with the EntityManagerFactory component starting before the embedded EJB container is started (which fails because the datasource isn't

[jboss-user] [JBoss Seam] - seam-gen and clickable lists

2007-04-17 Thread hvram
Hi I am trying to modify the seam-gen generated code to support clicable lists . I have modified the List.java file and have a) implemented a local interface which contains one method in addition to extending the EntityQuery b) Annotated that method with the @Factory (x)

[jboss-user] [JBoss Seam] - seam-gen for a multi-user (server) environment on multiple p

2007-03-31 Thread sushmu
How to run seam-gen on multiple projects in a multi user environment: http://groups.google.com/group/EtoE/browse_thread/thread/64c7528417ac3f32/42328079e0a09f78#42328079e0a09f78 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4033429#4033429 Reply to the post

[jboss-user] [JBoss Seam] - seam-gen reverse engineer doesn't recognize link table

2007-03-29 Thread kingcu
I have a one-to-many relationship, which involves 3 database tables: a table for the one side, a table for the many side and a link table. After I run seam generate-entities, it created 3 entity beans, instead of 2 as I would expect! I can probably get around this by removing the link table and

[jboss-user] [JBoss Seam] - Seam-gen from jboss-ide/command line

2007-03-28 Thread mario D
Hi all, I'm quite new to seam and trying hard to understand seam. In order to grasp the ideas behind seam, I've reverse-engineered an application from a database both with the eclipse based jbosside and the cli seam-gen and was surprised to see 2 different applicationstyles, editor/finderbean

[jboss-user] [JBoss Seam] - seam-gen web 2.0 based

2007-03-27 Thread cristiano.nicolai
Hello everyone, I really enjoy the seam-gen feature, but i`m trying do made her more Web 2.0 based...like search and update just the result table, made the pagination like this to.and delete an entity directly from the table...using the EntityHome and EntityQuery There is some example

[jboss-user] [JBoss Seam] - Seam-gen Login

2007-03-27 Thread eeckmann
How do you pull out IceFaces ? I am getting this msg when trying to login (with and without the Remember me checked): Caused by: javax.faces.el.PropertyNotFoundException: Base is null: authenticator at

[jboss-user] [JBoss Seam] - seam-gen build

2007-03-25 Thread atao
I work under Eclipse, with seam 1.2.0PATCH1 In the build.xml of a project created by seam-gen, the targets explode and buildtest are lauched after each change of a file. But then the target compile is not lauched. So after any change in a java file, compile must be lauched by hand. Is it on

[jboss-user] [JBoss Seam] - seam-gen generated code gives: SEVERE: Error Rendering View[

2007-03-25 Thread irVega
I run the script below to generate some simple tables and insert a bit of data. I use seam-gen to create my project settings and then generate a project (m2m) and the entities. I use the generated ant script to deploy. I open the browser at the m2m home page. I click on the A List menu and see my

[jboss-user] [JBoss Seam] - seam-gen error

2007-03-22 Thread javalover75
Running seam-gen generate-entities command (just built from CVS) I am experiencing the error below. After searching the form and Jira a similiar error has appeared and it was suggested by Gavin that old jars are somewhere. I have verified this is not the case. If I can provide any additional

[jboss-user] [JBoss Seam] - Seam-gen and Oracle

2007-03-08 Thread ector7280
I'm using Seam 1.2 and an Oracle 10g db. The problem is when I use seam-gen on my db, where ever I have have a need for an Integer I'm getting BigDecimal, int, short etc. Since there is no Integer type in 10g how do I get Number in Oracle to produce an Integer in my generated code? Has anyone

[jboss-user] [JBoss Seam] - seam-gen and mutiple foreign keys

2007-03-06 Thread NielsH
I have generated a project with seam-gen based on generate-entities. All works fine, except for the generation of the home interfaces. In one of my tables I have two foreign keys to the same table. In the home interface two references are created to the appropriate object, but with the same

[jboss-user] [JBoss Seam] - Seam gen wire() problem

2007-03-06 Thread y_zl
Hi!, I just migrated from 1.1.7 to 1.2.0, the view pages gnerated by seam generate-entites don't work. when | public void wire() { | if (role != null) { | getInstance().setRole(role; | } | } is executed from the .page.xml the following exception were thrown. Any

[jboss-user] [JBoss Seam] - seam gen - which one?

2007-03-05 Thread buddy1974
As far as I can see, the seam-gen that comes with seam is different than the one that is available via the wiki. Is there a reason for this? Which one is the one, one should take? The packed one provides the following targets: | clean | delete-project | deploy | explode |

[jboss-user] [JBoss Seam] - seam-gen generate entities problem

2007-03-05 Thread sstrenn
I am trying out seam 1.2 and jboss 4.0.5 ejb. I setup a project with seam-gen that accesses a simple little mysql database with users and blogs. After I call seam generate-entities, and restart seam, I get the following error trace upon accessing the users page. In the example below, it

[jboss-user] [JBoss Seam] - seam-gen : two attributes of same kind in an entity

2007-02-28 Thread atao
Hello, I use seam-gen (seam 1.1.7.RC1) to generate list and home classes from entities with jpaconfiguration . One class, Contract, has two attributs, seller and purchaser, with the same type Party. The generated ContractHome class contains: | @In(value =

[jboss-user] [JBoss Seam] - seam-gen 1.1.7RC1

2007-02-26 Thread rengar
With seam-geam after first compilation shoq this error: incomparable types int and incomparable types char and This is because in IDs use int instead of Integer, Character, ... The best solution is change int to Integer, ? View the original post :

[jboss-user] [JBoss Seam] - seam-gen stack overflow

2007-02-25 Thread pista666
occurs when you have 2 tables referencing each other like this: alter table core.ORG_PARTNER add constraint FK1 foreign key (PRIMARY_CONTACT_ID) references core.ORG_PARTNER_CONTACT(CONTACT_ID) ; alter table core.ORG_PARTNER_CONTACT add constraint FK2 foreign key (PARTNER_ID)

[jboss-user] [JBoss Seam] - seam-gen error (generate-entities did not work)

2007-02-22 Thread grdzeli_kaci
hi all, seam version : 1.1.6 GA (i got it from CVS few days ago) jboss version : 4.0.5 GA ant version : 1.7.0 os version : SUSE LINUX 10.1 (i586) java version : 5.0 i tryed to use seam gen template, fierst i did seam setup, then seam new-project, all works fine now i want generate entities but

[jboss-user] [JBoss Seam] - Seam-gen Issues

2007-02-17 Thread phicorp
Hello All, I have experienced the following seam-gen issues using PostgreSQL 8.0.3 When I run seam-gen, I receive an error message which states that the expression property.value.typeName is undefined in the following line #if property.value.typeName == string within the freemarker template

[jboss-user] [JBoss Seam] - seam-gen code for many-to-one associations and reference dat

2007-02-14 Thread lawrieg
Hi, I'm trying to understand the seam-generated code for many-to-one associations, and whether / how I need to modify it if I'm dealing with reference data that either is read-only (i.e. will be an Enum and will have matching database lookup table), or modified only very occasionally by an

[jboss-user] [JBoss Seam] - seam-gen setup bug (hibernate.default_schema)

2007-02-12 Thread gunnarif
Hi! I think this is a bug. When you generate the build.properties file with 'seam setup' and you choose a database (e.x. db2). You are prompted to set the default_schema property. Then if you use 'seam setup' again but you choose mysql you are not prompted for the default_schema property, but

[jboss-user] [JBoss Seam] - seam-gen error

2007-02-07 Thread pbrewer_uk
I've just started looking at seam-gen (with Seam 1.1.5 and Oracle XE) and it fails when running the generate-entites task. It manages to build all the entity beans, but breaks half way through building the xxxList.xhtml pages (it does output about 10 files of an expected 40). The error message

[jboss-user] [JBoss Seam] - Seam Gen messages

2007-02-03 Thread fady.matar
I have been playing around with Seam Gen, and I liked the approach and the source code generation is way better than the one by the previous Seam wizard by Hibernate tools. I have a few questions to raise, I have updated one of the classes of my Entity Bean and update the persist and the

[jboss-user] [JBoss Seam] - seam-gen enhancement

2007-02-01 Thread guanwh
Would it be great that seam-gen will generate crud pages and classes for an existing Entity class,just like seam-gen generate the crud pages,classes and entity classes from database. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009250#4009250 Reply

[jboss-user] [JBoss Seam] - seam-gen puts both antlr-2.7.6.jar and antlr-3.0ea8.jar

2007-02-01 Thread codelion
Both antlr .jar are coming from drools\lib, I guess. Is that intentional, or is that an oversight, which one should be it? Afraid those two versions might conflict. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009706#4009706 Reply to the post :

[jboss-user] [JBoss Seam] - seam-gen vs. reference doc re Home setId()

2007-01-31 Thread codelion
seam-gen with generate-entities keeps generating methods like setSomethingId() and getSomethingId() in public class SomethingHome extends EntityHomeSomething { | | public void setSomethingId(String id) { | setId(id); | } | | public String getSomethingId() {

[jboss-user] [JBoss Seam] - seam-gen generate-entities not using Entity.java

2007-01-28 Thread dan.j.allen
When I use the seam-gen generate-entities target to reverse engineer my database, it does a great job ;) However, the resulting entity classes don't use the Entity.java template from the seam-gen source code. However, if I use the seam-gen new-entity target, it does. Is there any reason? The

[jboss-user] [JBoss Seam] - SEAM-GEN: Feature Recommendations

2007-01-24 Thread awesomejt
Seam Folks: I got the seam gen tools working great for my needs. However, I do have a few recommendations: 1. Can the setup command take an extra parameter to keep different build.properties files -- I actually work on more than one application. My current workaround is to save the working

[jboss-user] [JBoss Seam] - Seam Gen Problem

2007-01-23 Thread kasim
This is probably something obvious but i cant figure it out. When i run the ./seam generate-entities i get No driver found error. i was assuming it was going off the one we defined in the setup. which i verified is there Total time: 1 second |

[jboss-user] [JBoss Seam] - seam-gen and type specific controls

2007-01-16 Thread zeljko_t
It seems to me that seam-gen generates text fields for all data types. What I was expecting was check boxes for booleans and combos for enumerations. Is there a way to force seam-gen to do this? If not, does special tag for this exists, e.g. one that will render booleans as check boxes,

[jboss-user] [JBoss Seam] - Seam-gen

2007-01-08 Thread ector7280
I'm using an Oracle Express db with seam-gen and I'm getting the following error message: generate-entities: | [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering) | [hibernate] 1. task: hbm2java (Generates a set of .java files) | [hibernate] An

[jboss-user] [JBoss Seam] - seam-gen problems and solutions

2007-01-04 Thread codelion
Several suggestions listed below. Using jboss-seam-CVS.20070102.zip, jems-installer-1.2.0.CR1.jar and JBossIDE-2.0.0.Beta2-Bundle-win32.zip. Following seam_reference.pdf Chapter 2. Getting started with Seam using seam-gen. In 2.1 it says add your JBoss installation to the JBoss Server View.

[jboss-user] [JBoss Seam] - Seam Gen problem with ejb-jar.xml

2007-01-03 Thread james_027
Hi, I am new with Seam. Iam trying to create a new project with seam gen. After doing the seam setup, seam new-project, and seam explode. I cannot open the web page. This is one of the error I found during the startup of JBOSS AS ejb-jar.xml must either obey the right xml schema or define a

[jboss-user] [JBoss Seam] - seam-gen generates java.lang.StackOverflowError on self refe

2006-12-17 Thread jdijkmeijer
Hi, I've been playing with (seam-)gen the last few days and today I decided to upgrade to Seam 1.1 GA. I was very impressed by its capabilities, however with the last release I run into an stackoverflow error doing seam generate-entites which didn't occur on the CR2 release. The tables I refer

[jboss-user] [JBoss Seam] - Seam-gen generated entity and @Embeddable class problem

2006-12-01 Thread jlemoine
Hi, I'm a total newbie with Seam/Hibernate, and I encounter a problem as I play with my first Seam-gen generated Entity. (1.1.0CR1 + adequate jbossAS) I would like to create a Country entity, that has an ISO code, an Int'l spelling name and a local name. Just like JP, Japan, ??. Since I plan

[jboss-user] [JBoss Seam] - Seam gen or seam framework problem?

2006-11-29 Thread [EMAIL PROTECTED]
I have two table with a parten child relation (FK). Both the table have an autoincrement integer column as PK. Seamgen generate two entity with a one to many bidirectional relation. After I have inserted a new instance of Parent Entity and I try to insert the relative child I have an exception

[jboss-user] [JBoss Seam] - Seam-gen new-conversation does not generate test.

2006-11-19 Thread js8523
Hi All Just noticed that contrary to the seam help blurb on the new-form entry generates the test versions for the file. I checked if it was just a accidental leave off, but there were other items missing rather than just the entries in the build.xml, I presuem this is work in progress, but

[jboss-user] [JBoss Seam] - Seam-gen and recursive tables

2006-11-15 Thread y_zl
anonymous wrote : packages an updated seam-gen which includes a totally revamped database to application reverse engineering tool based on Hibernate Tools I tried a simple recursive table test which has a field parent with a foreign key to this table's id column. test (id, parent, desc)

[jboss-user] [JBoss Seam] - seam-gen head startup issue: ClassCastException: org.jboss.s

2006-11-09 Thread stu2
I've been working with seam head (pre beta2). Built the seam jars, then created ran seam-gen new-project. I've tried a number of variations, and each time I end up with the following exception. I saw someone else on the list had seen this, and thought it'd be worth posting (next person will

[jboss-user] [JBoss Seam] - seam-gen does not work

2006-08-17 Thread VotTak
Wasted another day, just to make sure that seam-gen is not working. In JBossSeamGettingStartedGuideStep4 After creating a projects... in project sampleEJB... error: Severity and DescriptionPathResourceLocation Creation Time Id An EJB module must contain one or more