seam-gen with firebird
goku2 Aug 28, 2008 1:16 AMHi everyone!
I'm trying to use seam-gen with firebird for crud generation throw
$ seam generate-model
But during the setup step i notice that firebird isn't listed as a posible DB.
Tried to manually set the configuration but i recieve this:
$ seam generate-model Buildfile: build.xml init: init-properties: [echo] /Applications/jboss-4.2.3.GA validate-workspace: validate-project: init-generate: generate-model: [echo] Reverse engineering database using JDBC driver /Applications/jboss-4.2.3.GA/server/default/deploy/jaybird-2.1.6.jar [echo] project=/Users/humberaquino/JBossSeam/reversa_firebird [echo] model=com.ecample.entity [hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engineering) [hibernate] 1. task: hbm2java (Generates a set of .java files) [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.cfg.Environment <clinit> [hibernate] INFO: Hibernate 3.2.4.sp1 [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.cfg.Environment <clinit> [hibernate] INFO: hibernate.properties not found [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.cfg.Environment buildBytecodeProvider [hibernate] INFO: Bytecode provider name : cglib [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.cfg.Environment <clinit> [hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.cfg.reveng.OverrideRepository addFile [hibernate] INFO: Override file: /Users/humberaquino/JBossSeam/reversa_firebird/resources/seam-gen.reveng.xml [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.connection.DriverManagerConnectionProvider configure [hibernate] INFO: Using Hibernate built-in connection pool (not for production use!) [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.connection.DriverManagerConnectionProvider configure [hibernate] INFO: Hibernate connection pool size: 20 [hibernate] Aug 27, 2008 7:03:07 PM org.hibernate.connection.DriverManagerConnectionProvider configure [hibernate] INFO: autocommit mode: false BUILD FAILED /Applications/jboss-seam-2.0.2.SP1/seam-gen/build.xml:1092: java.lang.NoClassDefFoundError: javax/resource/ResourceException
I modified the folloin files
seam-gen.properties hibernate-console.properties persistence-dev-war.xml persistence-prod-war.xml
using
org.firebirdsql.jdbc.FBDriver jdbc:firebirdsql:localhost/3050:/firebird/test.gdb org.hibernate.dialect.FirebirdDialect
Any ideas? Am i doing something wrong?
Thanks in advance
I'm using:
jboss-seam-2.0.2.SP1 FirebirdSS-2.1.1-17910-i686 Mac OSX 10.5.4 java version "1.5.0_13" jboss-4.2.3.GA