Bug 1175912 - Hibernate fix should result in the elimination of Hibernate warnings in the quickstarts
Summary: Hibernate fix should result in the elimination of Hibernate warnings in the q...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Quickstarts
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: EAP 6.4.0
Assignee: jboss-set
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On: 1175388
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-18 21:02 UTC by sgilda
Modified: 2019-08-19 12:41 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:41:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sgilda 2014-12-18 21:02:00 UTC
Description of problem:

This is dependent on bug 1175388,

A fix should be merged into JBoss EAP 6.4 that will eliminate some of the warnings related to dropped constraints. 

Retest and remove any warnings from the README files that no longer occur.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Nikoleta Hlavickova 2015-02-11 14:36:14 UTC
Readme for cmt quickstart says:
Note: You will see the following warnings and errors in the server log. This is because Hibernate attempts to drop the table and constraints before they are created without checking first to see if they exist. The issues can tracked here: https://hibernate.atlassian.net/browse/HHH-6670 and https://hibernate.atlassian.net/browse/HHH-9545. You can ignore these warnings and errors.

-- the referenced bugs are both closed as fixed, so it does not say the user why the errors are still present

Comment 5 Nikoleta Hlavickova 2015-03-04 14:37:33 UTC
The readme for cmt QS does not contain information about the hibernate errors now, but they are present in server log:

ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 62) HHH000389: Unsuccessful: drop sequence hibernate_sequence
ERROR [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 62) ERROR: sequence "hibernate_sequence" does not exist

Comment 9 sgilda 2015-03-04 20:48:53 UTC
Thanks Gail!

Restored the warnings to the following README files:

    bean-validation-custom-constraint/README.md
    bean-validation/README.md
    cdi-interceptors/README.md
    cdi-stereotype/README.md
    cmt/README.md
    forge-from-scratch/README.md
    greeter/README.md
    kitchensink-ear/README.md
    kitchensink-jsp/README.md
    kitchensink-ml-ear/README.md
    kitchensink-ml/README.md
    kitchensink/README.md
    tasks-jsf/README.md
    tasks-rs/README.md
    tasks/README.md

Comment 12 sgilda 2015-03-05 11:56:24 UTC
Interesting. I don't understand why the warning disappears for all but the cmt quickstart, but I'll check it. Thanks!

Comment 13 sgilda 2015-03-05 13:18:49 UTC
Nikoleta, you are correct. Only the cmt quickstart now displays this error. 

Fixed in this commit: https://github.com/jboss-developer/jboss-eap-quickstarts/commit/cd0505f5adfd0d18c92c674df2c5eca1971fce9b


Note You need to log in before you can comment on or make changes to this bug.