[seam-dev] Seam 2.1.1.CR1 release testing status

Max Rydahl Andersen max.andersen at redhat.com
Thu Nov 20 17:44:50 EST 2008


Dan, you should fix this in htools instead ;)

/max

> Yes, this is a new feature to uppercase oracle schema names (since
> oracle schema names must be uppercased). But we are running against
> mysql, so why is it being uppercased? What database is being used?
>
> Please provide me with the build.properties being used to generate the
> project. Also, verify that it is MySQL that seam-gen is running
> against. Whatever my settings are don't cause this problem, so I need
> to reproduce it.
>
> -Dan
>
> On Thu, Nov 20, 2008 at 2:29 PM, Jay Balunas <jbalunas at redhat.com> wrote:
>> Hi Dan,
>>
>> Jozef sent you email with the exception we was seeing I have attached it
>> below.
>>
>>
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful:
>>> create table seam.Person (username varchar(10) not null, address
>>> varchar(600) not null, birthdate date, name varchar(100) not null,  
>>> primary
>>> key (username), unique (username))
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] invalid  
>>> schema
>>> name: SEAM in statement [create table seam.Person]
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful:
>>> create table seam.Vehicle (registration varchar(8) not null, state
>>> varchar(2) not null, make varchar(50) not null, model varchar(50) not  
>>> null,
>>> year integer not null, ownerUsername varchar(10), primary key  
>>> (registration,
>>> state))
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] invalid  
>>> schema
>>> name: SEAM in statement [create table seam.Vehicle]
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful:
>>> alter table seam.Vehicle add constraint FK779C270C2C1BBB19 foreignkey
>>> (ownerUsername) references seam.Person
>>>  [testng] ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] invalid  
>>> schema
>>> name: SEAM in statement [alter table seam.Vehicle]
>>> I am not sure why hibernate is trying to do something with the DDL at  
>>> all.
>>> In project setup  I've chosen that my tables are already at database  
>>> and I
>>> do not want then to be recreated each time.
>>
>> I do get it now. Datasource used for tests is not the same as default.  
>> But
>> the question why creating tables fail remains.
>>
>> Dan, have you
>>>
>>> seen this before?
>>> This happens in both EAR and WAR project. To reproduce create new  
>>> project,
>>> generate entities, create new action and form and run tests. Note that  
>>> these
>>> errors do not affect test results.
>>
>> \
>> On Nov 20, 2008, at 1:03 PM, Dan Allen wrote:
>>
>>>> Seam-gen -  there are errors being displayed when the tests are  
>>>> running
>>>> in
>>>> seam-gen generated projects however tests pass.
>>>
>>> What is the error? I am playing with seam-gen a bunch right now, so I
>>> can check it out.
>>>
>>> -Dan
>>>
>>> --
>>> Dan Allen
>>> Software consultant | Author of Seam in Action
>>>
>>> http://mojavelinux.com
>>> http://mojavelinux.com/seaminaction
>>>
>>> NOTE: While I make a strong effort to keep up with my email on a daily
>>> basis, personal or other work matters can sometimes keep me away
>>> from my email. If you contact me, but don't hear back for more than a
>>> week,
>>> it is very likely that I am excessively backlogged or the message was
>>> caught in the spam filters.  Please don't hesitate to resend a message  
>>> if
>>> you feel that it did not reach my attention.
>>
>>
>
>
>



-- 
/max



More information about the seam-dev mailing list