]
Carlo de Wolf resolved EJBTHREE-977.
------------------------------------
Resolution: Out of Date
This issue is reported against a version which is no longer maintained,
which means that it will not receive a fix. As a result we are closing
this bug.
If you can reproduce this bug against a currently maintained version of
JBoss EJB 3 please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
table creation ignores exception
--------------------------------
Key: EJBTHREE-977
URL:
https://jira.jboss.org/browse/EJBTHREE-977
Project: EJB 3.0
Issue Type: Bug
Components: EJB3 Extensions
Environment: Postgresql
Reporter: Ariane van der Steldt
Priority: Critical
When the deployment code fails to create a table, it rather silently ignores the issue.
Log fragment:
2007-05-31 15:48:45,646 DEBUG [org.hibernate.tool.hbm2ddl.SchemaUpdate] create table
UserRight_`group` (rights_id int8 not null, userGroups_id int8 not null)
2007-05-31 15:48:45,651 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful:
create table UserRight_`group` (rights_id int8 not null, userGroups_id int8 not null)
2007-05-31 15:48:45,651 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] ERROR: syntax
error at or near "`"
JBoss finished the whole deployment and does not give any other complaints than this. My
suspicion is that SchemaUpdate catches an exception somewhere, prints this line but then
forgets to pass on the exception, causing the EJB deployment to "succeed"
incorrectly.
Table UserRight_`group` was an automatic concatenation, due to a ManyToMany relation
between entity UserRight and entity Group, where the latter was escaped using back ticks,
as described here:
http://jira.jboss.org/jira/browse/EJBTHREE-637
A bugreport about the incorrect name can be found here:
http://jira.jboss.org/jira/browse/EJBTHREE-976
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: