[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6482) ddl from schema export is not correctly formatted

Strong Liu (JIRA) noreply at atlassian.com
Mon Jul 25 14:00:17 EDT 2011


ddl from schema export is not correctly formatted 
--------------------------------------------------

                 Key: HHH-6482
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6482
             Project: Hibernate Core
          Issue Type: Improvement
          Components: core
    Affects Versions: 4.0.0.Beta4
            Reporter: Strong Liu
            Assignee: Strong Liu
             Fix For: 4.0.0.next


if we have *hibernate.format_sql true* and also *org.hibernate.SQL debug*, the ddl output will like this 
{quote}
Hibernate: 
    create table Bar (         details varchar(255),         BAR_ID bigint not null,         primary key (BAR_ID),         unique (BAR_ID)     )
{quote}
but we want it this 
{quote}
Hibernate: 
    create table hibernate_sequences (
         sequence_name varchar(255) not null ,
         next_val bigint,
        primary key ( sequence_name ) 
    )
{quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list