[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6418) org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel

Gail Badner (JIRA) noreply at atlassian.com
Tue Jul 12 15:06:14 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner updated HHH-6418:
-----------------------------

    Description: 
Change new AuxiliaryDatabaseObject to extend Exportable.

Add the following to Exportable:

- public String sqlCreateString(MetadataImplementor metadata);

- public String sqlDropString(MetadataImplementor metadata);

Other changes:  

- add AbstractAuxiliaryDatabaseObject.schema and getter;

- BasicAuxiliaryDatabaseObjectImpl.sqlCreateString( metadata ) and sqlDropString( metadata ) will automatically inject the schema/catalog names into the create/drop strings that are returned;

  was:
Change new AuxiliaryDatabaseObject to extend Exportable.

Add the following to Exportable:

public Iterable<String> sqlCreateStrings(Dialect dialect, MetadataImplementor metadata, String defaultCatalog, String defaultSchema);

public Iterable<String> sqlDropStrings(Dialect dialect, String defaultCatalog, String defaultSchema);


> org.hibernate.metamodel.relational.AuxiliaryDatabaseObject extends org.hibernate.mapping.RelationalModel
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-6418
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6418
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: metamodel
>            Reporter: Gail Badner
>             Fix For: 4.0.0.next
>
>
> Change new AuxiliaryDatabaseObject to extend Exportable.
> Add the following to Exportable:
> - public String sqlCreateString(MetadataImplementor metadata);
> - public String sqlDropString(MetadataImplementor metadata);
> Other changes:  
> - add AbstractAuxiliaryDatabaseObject.schema and getter;
> - BasicAuxiliaryDatabaseObjectImpl.sqlCreateString( metadata ) and sqlDropString( metadata ) will automatically inject the schema/catalog names into the create/drop strings that are returned;

--
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