-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: org.hibernate.AssertionFailure: null id in
PostPosted: Sun Dec 28, 2008 11:02 am 
Newbie

Joined: Sun Dec 28, 2008 10:40 am
Posts: 1
Hallo,

erhalte eine AssertionFailure-Exception beim persistieren einer Klasse und ich finde den Fehler nicht.

Ich persistiere eigentlich alle Klassen nach dem selben Schema aber nur die eine stellt sich quer

Bin schon ewig am suchen und verzweifle langsam.

Vielen Dank schonmal und Grüße
Axel

Hibernate version: 3.3.1

Mapping documents:
hibernate.cfg.xml

Code between sessionFactory.openSession() and session.close():

Code:
DOTenant tenant = new DOTenant(...);
session.save(tenant);
DOMetaData metadata = new DOMetaData(false, null, new Date(), new Date());
DOQuestion question = new DOQuestion(tenant, "Wer ist der Beste?", 1, metadata);

Full stack trace of any exception that occurs:

Code:
org.hibernate.AssertionFailure: null id in de.kwizzard.model.dataobject.DOQuestion entry (don't flush the Session after an exception occurs)
   at org.hibernate.event.def.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:55)
   at org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:157)
   at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113)
   at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
   at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
   at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
   at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
   at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
   at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
   at de.kwizzard.model.test.AbstractCRUDTest.after(AbstractCRUDTest.java:50)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
   at org.junit.internal.runners.BeforeAndAfterRunner.runAfters(BeforeAndAfterRunner.java:65)
   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:37)
   at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
   at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
   at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
   at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
   at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
   at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
   at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
   at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
   at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



Name and version of the database you are using:
HSQLDB
The generated SQL (show_sql=true):

[code]
2008-12-28 15:46:30,184 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - Running hbm2ddl schema export
2008-12-28 15:46:30,200 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - import file not found: /import.sql
2008-12-28 15:46:30,200 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - exporting generated schema to database
2008-12-28 15:46:30,200 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
drop constraint FKABCA3FBE404E7804
2008-12-28 15:46:30,200 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table answer drop constraint FKABCA3FBE404E7804
2008-12-28 15:46:30,200 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: ANSWER in statement [alter table answer]
2008-12-28 15:46:30,215 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
drop constraint FKABCA3FBEBE18AC24
2008-12-28 15:46:30,215 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table answer drop constraint FKABCA3FBEBE18AC24
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: ANSWER in statement [alter table answer]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
drop constraint FKABCA3FBE6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table answer drop constraint FKABCA3FBE6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: ANSWER in statement [alter table answer]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
drop constraint FKABCA3FBED924BB84
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table answer drop constraint FKABCA3FBED924BB84
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: ANSWER in statement [alter table answer]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
drop constraint FK7782E6016912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table author_assignment drop constraint FK7782E6016912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: AUTHOR_ASSIGNMENT in statement [alter table author_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
drop constraint FK7782E6013D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table author_assignment drop constraint FK7782E6013D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: AUTHOR_ASSIGNMENT in statement [alter table author_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
drop constraint FK7782E601A155C411
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table author_assignment drop constraint FK7782E601A155C411
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: AUTHOR_ASSIGNMENT in statement [alter table author_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table blob
drop constraint FK2E2F9D6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table blob drop constraint FK2E2F9D6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: BLOB in statement [alter table blob]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
drop constraint FK302BCFECABBC5D8
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table category drop constraint FK302BCFECABBC5D8
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: CATEGORY in statement [alter table category]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
drop constraint FK302BCFE6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table category drop constraint FK302BCFE6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: CATEGORY in statement [alter table category]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
drop constraint FK302BCFEF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table category drop constraint FK302BCFEF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: CATEGORY in statement [alter table category]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
drop constraint FK4C27E78B8D709A2E
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_answer_data drop constraint FK4C27E78B8D709A2E
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_ANSWER_DATA in statement [alter table dynamic_answer_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
drop constraint FK4C27E78B6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_answer_data drop constraint FK4C27E78B6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_ANSWER_DATA in statement [alter table dynamic_answer_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
drop constraint FK4C27E78B1C886104
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_answer_data drop constraint FK4C27E78B1C886104
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_ANSWER_DATA in statement [alter table dynamic_answer_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
drop constraint FKB71C0B54107F61E4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_quiz_data drop constraint FKB71C0B54107F61E4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_QUIZ_DATA in statement [alter table dynamic_quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
drop constraint FKB71C0B546912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_quiz_data drop constraint FKB71C0B546912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_QUIZ_DATA in statement [alter table dynamic_quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
drop constraint FKB71C0B54408A5DA4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table dynamic_quiz_data drop constraint FKB71C0B54408A5DA4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: DYNAMIC_QUIZ_DATA in statement [alter table dynamic_quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
drop constraint FKA8962A526912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table friendship_assignment drop constraint FKA8962A526912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: FRIENDSHIP_ASSIGNMENT in statement [alter table friendship_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
drop constraint FKA8962A521B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table friendship_assignment drop constraint FKA8962A521B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: FRIENDSHIP_ASSIGNMENT in statement [alter table friendship_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
drop constraint FKA8962A5264A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table friendship_assignment drop constraint FKA8962A5264A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: FRIENDSHIP_ASSIGNMENT in statement [alter table friendship_assignment]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
drop constraint FK609CEF3E6457265
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table joker drop constraint FK609CEF3E6457265
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: JOKER in statement [alter table joker]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
drop constraint FK609CEF36912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table joker drop constraint FK609CEF36912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: JOKER in statement [alter table joker]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
drop constraint FK609CEF3F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table joker drop constraint FK609CEF3F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: JOKER in statement [alter table joker]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
drop constraint FK38EB00073D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table message drop constraint FK38EB00073D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: MESSAGE in statement [alter table message]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
drop constraint FK38EB00076912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table message drop constraint FK38EB00076912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: MESSAGE in statement [alter table message]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
drop constraint FK38EB00071B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table message drop constraint FK38EB00071B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: MESSAGE in statement [alter table message]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
drop constraint FK38EB000764A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table message drop constraint FK38EB000764A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: MESSAGE in statement [alter table message]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
drop constraint FKBA823BE6E738076F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table question drop constraint FKBA823BE6E738076F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUESTION in statement [alter table question]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
drop constraint FKBA823BE6E6457265
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table question drop constraint FKBA823BE6E6457265
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUESTION in statement [alter table question]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
drop constraint FKBA823BE6476E8FBD
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table question drop constraint FKBA823BE6476E8FBD
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUESTION in statement [alter table question]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
drop constraint FKBA823BE66912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table question drop constraint FKBA823BE66912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUESTION in statement [alter table question]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
drop constraint FKBA823BE6D924BB84
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table question drop constraint FKBA823BE6D924BB84
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUESTION in statement [alter table question]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
drop constraint FK3522553D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz drop constraint FK3522553D35B98F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ in statement [alter table quiz]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
drop constraint FK3522556912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz drop constraint FK3522556912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ in statement [alter table quiz]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
drop constraint FK352255B45ECF8F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz drop constraint FK352255B45ECF8F
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ in statement [alter table quiz]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B354AAFDC104
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B354AAFDC104
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B354BBF2C3A3
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B354BBF2C3A3
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B3546912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B3546912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B354F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B354F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B35471385424
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B35471385424
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B3542DA5FFD6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B3542DA5FFD6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
drop constraint FK7425B354A60EEAC4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_data drop constraint FK7425B354A60EEAC4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_DATA in statement [alter table quiz_data]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_type
drop constraint FK742D52E46912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table quiz_type drop constraint FK742D52E46912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: QUIZ_TYPE in statement [alter table quiz_type]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
drop constraint FKC84EF758107F61E4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table review drop constraint FKC84EF758107F61E4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: REVIEW in statement [alter table review]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
drop constraint FKC84EF7586912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table review drop constraint FKC84EF7586912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: REVIEW in statement [alter table review]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
drop constraint FKC84EF758F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table review drop constraint FKC84EF758F81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: REVIEW in statement [alter table review]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
drop constraint FKCBB4E8AAF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table tenant drop constraint FKCBB4E8AAF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: TENANT in statement [alter table tenant]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
drop constraint FKCBB4E8AA6A435D44
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table tenant drop constraint FKCBB4E8AA6A435D44
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: TENANT in statement [alter table tenant]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
drop constraint FKCBB4E8AA2DA5FFD6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table tenant drop constraint FKCBB4E8AA2DA5FFD6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: TENANT in statement [alter table tenant]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
drop constraint FK36EBCBFFAF3D68
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user drop constraint FK36EBCBFFAF3D68
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER in statement [alter table user]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
drop constraint FK36EBCB6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user drop constraint FK36EBCB6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER in statement [alter table user]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
drop constraint FK36EBCBF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user drop constraint FK36EBCBF81998EF
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER in statement [alter table user]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
drop constraint FK36EBCBA60EEAC4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user drop constraint FK36EBCBA60EEAC4
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER in statement [alter table user]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
drop constraint FK143979AB6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user_mail drop constraint FK143979AB6912A984
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER_MAIL in statement [alter table user_mail]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
drop constraint FK143979AB1B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user_mail drop constraint FK143979AB1B2FA33A
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER_MAIL in statement [alter table user_mail]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
drop constraint FK143979AB64A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Unsuccessful: alter table user_mail drop constraint FK143979AB64A290D6
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] - Table not found: USER_MAIL in statement [alter table user_mail]
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table answer if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table author_assignment if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table blob if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table category if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table country if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table dynamic_answer_data if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table dynamic_quiz_data if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table friendship_assignment if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table joker if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table language if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table message if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table meta_data if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table question if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table quiz if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table quiz_data if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table quiz_type if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table review if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table tenant if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table user if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
drop table user_mail if exists
2008-12-28 15:46:30,231 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table answer (
id bigint generated by default as identity (start with 1),
answer varchar(255) not null,
metadata_fk bigint not null,
question_fk bigint not null,
tenant_fk bigint not null,
joker_fk bigint,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table author_assignment (
id bigint generated by default as identity (start with 1),
request_date timestamp not null,
response_date timestamp,
confirmation integer not null,
quiz_data_fk bigint not null,
tenant_fk bigint not null,
co_author_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table blob (
id bigint generated by default as identity (start with 1),
blob_type integer not null,
file longvarbinary not null,
tenant_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table category (
id bigint generated by default as identity (start with 1),
name varchar(50) not null,
parent_fk bigint,
tenant_fk bigint not null,
meta_data_fk bigint not null,
primary key (id),
unique (parent_fk, name)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table country (
isoCountryCode varchar(255) not null,
name varchar(100) not null,
primary key (isoCountryCode)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table dynamic_answer_data (
id bigint generated by default as identity (start with 1),
answer_time_in_millis bigint not null,
date timestamp not null,
answer_fk bigint not null,
tenant_fk bigint not null,
dynamic_quiz_data_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table dynamic_quiz_data (
id bigint generated by default as identity (start with 1),
date timestamp not null,
quiz_fk bigint not null,
user_fk bigint not null,
tenant_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table friendship_assignment (
id bigint generated by default as identity (start with 1),
request_date timestamp not null,
response_date timestamp,
confirmation integer not null,
tenant_fk bigint not null,
sender_fk bigint not null,
recipient_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table joker (
id bigint generated by default as identity (start with 1),
message varchar(255) not null,
tenant_fk bigint not null,
file_fk bigint,
meta_data_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table language (
isoLanguageCode varchar(255) not null,
name varchar(100) not null,
primary key (isoLanguageCode)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table message (
id bigint generated by default as identity (start with 1),
creation_date timestamp not null,
message varchar(5000) not null,
sender_fk bigint not null,
tenant_fk bigint not null,
recipient_fk bigint,
quiz_data_fk bigint,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table meta_data (
id bigint generated by default as identity (start with 1),
created timestamp not null,
lockdate timestamp,
locked bit not null,
modified timestamp not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table question (
id bigint generated by default as identity (start with 1),
question varchar(255) not null,
difficulty integer not null,
correct_answer_fk bigint,
file_fk bigint,
metadata_fk bigint not null,
tenant_fk bigint not null,
question_fk bigint not null,
primary key (id),
unique (metadata_fk)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table quiz (
id bigint generated by default as identity (start with 1),
active bit not null,
tenant_fk bigint not null,
quiz_data_fk bigint not null,
quiz_type_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table quiz_data (
id bigint generated by default as identity (start with 1),
multi_author bit not null,
background_color varchar(6) not null,
name varchar(50) not null,
active bit not null,
description varchar(1000) not null,
tenant_fk bigint not null,
author_fk bigint not null,
picture_fk bigint,
meta_data_fk bigint not null,
logo_fk bigint,
language_fk varchar(255) not null,
category_fk bigint,
primary key (id),
unique (tenant_fk, name)
)
2008-12-28 15:46:30,246 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table quiz_type (
id bigint generated by default as identity (start with 1),
joker_available bit not null,
questions integer not null,
answers integer not null,
name varchar(50) not null,
tenant_fk bigint not null,
primary key (id),
unique (name)
)
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table review (
id bigint generated by default as identity (start with 1),
rating tinyint not null,
description varchar(1000) not null,
meta_data_fk bigint not null,
tenant_fk bigint not null,
user_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table tenant (
id bigint generated by default as identity (start with 1),
poBoxZipCode varchar(255),
po_box varchar(20),
zip_code varchar(20) not null,
email varchar(80) not null,
phone varchar(30),
city varchar(50) not null,
street varchar(80) not null,
company varchar(80) not null,
welcome_page varchar(5000) not null,
css varchar(10000) not null,
private bit not null,
country_fk varchar(255) not null,
logo_fk bigint,
meta_data_fk bigint not null,
primary key (id)
)
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table user (
id bigint generated by default as identity (start with 1),
email varchar(80) not null,
admin bit not null,
real_name_search_enabled bit not null,
first_name varchar(255) not null,
surname varchar(100) not null,
last_logon timestamp,
sign_board varchar(500),
about_me varchar(5000),
gender integer not null,
birth_date timestamp not null,
password varchar(50) not null,
user_name varchar(30) not null,
meta_data_fk bigint not null,
language_fk varchar(255) not null,
tenant_fk bigint not null,
avatar_fk bigint,
primary key (id),
unique (tenant_fk, user_name)
)
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
create table user_mail (
id bigint generated by default as identity (start with 1),
creation_date timestamp not null,
subject varchar(100) not null,
message varchar(5000) not null,
sender_fk bigint not null,
tenant_fk bigint not null,
recipient_fk bigint,
primary key (id)
)
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
add constraint FKABCA3FBE404E7804
foreign key (question_fk)
references question
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
add constraint FKABCA3FBEBE18AC24
foreign key (joker_fk)
references joker
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
add constraint FKABCA3FBE6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table answer
add constraint FKABCA3FBED924BB84
foreign key (metadata_fk)
references meta_data
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
add constraint FK7782E6016912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
add constraint FK7782E6013D35B98F
foreign key (quiz_data_fk)
references quiz_data
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table author_assignment
add constraint FK7782E601A155C411
foreign key (co_author_fk)
references user
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table blob
add constraint FK2E2F9D6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
add constraint FK302BCFECABBC5D8
foreign key (parent_fk)
references category
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
add constraint FK302BCFE6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table category
add constraint FK302BCFEF81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
add constraint FK4C27E78B8D709A2E
foreign key (dynamic_quiz_data_fk)
references dynamic_quiz_data
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
add constraint FK4C27E78B6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_answer_data
add constraint FK4C27E78B1C886104
foreign key (answer_fk)
references answer
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
add constraint FKB71C0B54107F61E4
foreign key (user_fk)
references user
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
add constraint FKB71C0B546912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table dynamic_quiz_data
add constraint FKB71C0B54408A5DA4
foreign key (quiz_fk)
references quiz
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
add constraint FKA8962A526912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
add constraint FKA8962A521B2FA33A
foreign key (sender_fk)
references user
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table friendship_assignment
add constraint FKA8962A5264A290D6
foreign key (recipient_fk)
references user
2008-12-28 15:46:30,262 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
add constraint FK609CEF3E6457265
foreign key (file_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
add constraint FK609CEF36912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table joker
add constraint FK609CEF3F81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
add constraint FK38EB00073D35B98F
foreign key (quiz_data_fk)
references quiz_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
add constraint FK38EB00076912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
add constraint FK38EB00071B2FA33A
foreign key (sender_fk)
references user
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table message
add constraint FK38EB000764A290D6
foreign key (recipient_fk)
references user
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
add constraint FKBA823BE6E738076F
foreign key (correct_answer_fk)
references answer
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
add constraint FKBA823BE6E6457265
foreign key (file_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
add constraint FKBA823BE6476E8FBD
foreign key (question_fk)
references quiz_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
add constraint FKBA823BE66912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table question
add constraint FKBA823BE6D924BB84
foreign key (metadata_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
add constraint FK3522553D35B98F
foreign key (quiz_data_fk)
references quiz_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
add constraint FK3522556912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz
add constraint FK352255B45ECF8F
foreign key (quiz_type_fk)
references quiz_type
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B354AAFDC104
foreign key (category_fk)
references category
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B354BBF2C3A3
foreign key (picture_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B3546912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B354F81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B35471385424
foreign key (author_fk)
references user
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B3542DA5FFD6
foreign key (logo_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_data
add constraint FK7425B354A60EEAC4
foreign key (language_fk)
references language
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table quiz_type
add constraint FK742D52E46912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
add constraint FKC84EF758107F61E4
foreign key (user_fk)
references user
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
add constraint FKC84EF7586912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table review
add constraint FKC84EF758F81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
add constraint FKCBB4E8AAF81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
add constraint FKCBB4E8AA6A435D44
foreign key (country_fk)
references country
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table tenant
add constraint FKCBB4E8AA2DA5FFD6
foreign key (logo_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
add constraint FK36EBCBFFAF3D68
foreign key (avatar_fk)
references blob
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
add constraint FK36EBCB6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
add constraint FK36EBCBF81998EF
foreign key (meta_data_fk)
references meta_data
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user
add constraint FK36EBCBA60EEAC4
foreign key (language_fk)
references language
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
add constraint FK143979AB6912A984
foreign key (tenant_fk)
references tenant
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
add constraint FK143979AB1B2FA33A
foreign key (sender_fk)
references user
2008-12-28 15:46:30,278 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] -
alter table user_mail
add constraint FK143979AB64A290D6
foreign key (recipient_fk)
references user
2008-12-28 15:46:30,278 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] - schema export complete
2008-12-28 15:46:30,387 DEBUG [org.hibernate.SQL] -
insert
into
country
(name, isoCountryCode)
values
(?, ?)
Hibernate:
insert
into
country
(name, isoCountryCode)
values
(?, ?)
2008-12-28 15:46:30,403 DEBUG [org.hibernate.type.StringType] - binding 'Deutschland' to parameter: 1
2008-12-28 15:46:30,403 DEBUG [org.hibernate.type.StringType] - binding 'DE' to parameter: 2
2008-12-28 15:46:30,403 DEBUG [org.hibernate.SQL] -
insert
into
language
(name, isoLanguageCode)
values
(?, ?)
Hibernate:
insert
into
language
(name, isoLanguageCode)
values
(?, ?)
2008-12-28 15:46:30,403 DEBUG [org.hibernate.type.StringType] - binding 'Deutschland' to parameter: 1
2008-12-28 15:46:30,403 DEBUG [org.hibernate.type.StringType] - binding 'deu' to parameter: 2
2008-12-28 15:46:30,418 DEBUG [org.hibernate.SQL] -
insert
into
meta_data
(id, created, lockdate, locked, modified)
values
(null, ?, ?, ?, ?)
Hibernate:
insert
into
meta_data
(id, created, lockdate, locked, modified)
values
(null, ?, ?, ?, ?)
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.TimestampType] - binding '2008-12-28 15:46:30' to parameter: 1
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.TimestampType] - binding null to parameter: 2
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.BooleanType] - binding 'false' to parameter: 3
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.TimestampType] - binding '2008-12-28 15:46:30' to parameter: 4
2008-12-28 15:46:30,418 DEBUG [org.hibernate.SQL] -
call identity()
Hibernate:
call identity()
2008-12-28 15:46:30,418 DEBUG [org.hibernate.SQL] -
insert
into
tenant
(id, meta_data_fk, logo_fk, poBoxZipCode, po_box, zip_code, email, phone, city, street, company, welcome_page, css, private, country_fk)
values
(null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Hibernate:
insert
into
tenant
(id, meta_data_fk, logo_fk, poBoxZipCode, po_box, zip_code, email, phone, city, street, company, welcome_page, css, private, country_fk)
values
(null, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.LongType] - binding '1' to parameter: 1
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.LongType] - binding null to parameter: 2
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding '89155' to parameter: 3
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding '1234' to parameter: 4
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding '89155' to parameter: 5
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'xxx@xxx.de' to parameter: 6
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding '00497305919627' to parameter: 7
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'Erbach' to parameter: 8
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'Hauptstrasse' to parameter: 9
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'Kwizzard' to parameter: 10
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'Hello everybody!' to parameter: 11
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'css' to parameter: 12
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.BooleanType] - binding 'false' to parameter: 13
2008-12-28 15:46:30,418 DEBUG [org.hibernate.type.StringType] - binding 'DE' to parameter: 14
2008-12-28 15:46:30,418 DEBUG [org.hibernate.SQL] -
call identity()
Hibernate:
call identity()
2008-12-28 15:46:30,434 DEBUG [org.hibernate.SQL] -
insert
into
meta_data
(id, created, lockdate, locked, modified)
values
(null, ?, ?, ?, ?)
Hibernate:
insert
into
meta_data
(id, created, lockdate, locked, modified)
values
(null, ?, ?, ?, ?)
2008-12-28 15:46:30,450 DEBUG [org.hibernate.type.TimestampType] - binding '2008-12-28 15:46:30' to parameter: 1
2008-12-28 15:46:30,450 DEBUG [org.hibernate.type.TimestampType] - binding null to parameter: 2
2008-12-28 15:46:30,450 DEBUG [org.hibernate.type.BooleanType] - binding 'false' to parameter: 3
2008-12-28 15:46:30,450 DEBUG [org.hibernate.type.TimestampType] - binding '2008-12-28 15:46:30' to parameter: 4
2008-12-28 15:46:30,450 DEBUG [org.hibernate.SQL] -
call identity()
Hibernate:
call identity()
2008-12-28 15:46:30,481 ERROR [org.hibernate.AssertionFailure] - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: null id in de.kwizzard.model.dataobject.DOQuestion entry (don't flush the Session after an exception occurs)
at org.hibernate.event.def.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:55)
at org.hibernate.event.def.DefaultFlushEntityEventListener.getValues(DefaultFlushEntityEventListener.java:157)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at de.kwizzard.model.test.AbstractCRUDTest.after(AbstractCRUDTest.java:50)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.