After database drop have to call mvn compile hibernate3:hbm2ddl
dbunit:operation -e twice to create database and load data.
On first call database created but got exception:
[ERROR] SchemaExport - schema export unsuccessful
On second call everything is done ok.
Did you make e-mail transient?
Project still uses appfuse User core class, please update
http://www.appfuse.org/display/APF/AppFuse+Core+Classes
org.appfuse
appfuse-${web.framework}
${appfuse.version}
warpath
Email is stored in person table. To keep compatibility user has email filed
but it's transient.
@Entity
@Table(name="app_user")
public class User extends BaseObject implements Serializable, UserDetails {
protected Person person = new Person();
..
@Transient
public String getEmail()
Did you make e-mail transient? You might try dropping your database
and running "mvn clean".
Matt
On 6/16/07, ros <[EMAIL PROTECTED]> wrote:
Hi!
After upgrade to AppFuse 2.0.M5 half of unit test is dead. I've got
exception message
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorExceptio
Hi!
After upgrade to AppFuse 2.0.M5 half of unit test is dead. I've got
exception message
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown
column 'user6_.email' in 'field list'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
at com.mysql.jd