[jboss-jira] [JBoss JIRA] (HIBERNATE-171) property ordering in DDL when using schema generation
nimo stephan (Jira)
issues at jboss.org
Sun Oct 27 05:43:00 EDT 2019
nimo stephan created HIBERNATE-171:
--------------------------------------
Summary: property ordering in DDL when using schema generation
Key: HIBERNATE-171
URL: https://issues.jboss.org/browse/HIBERNATE-171
Project: Hibernate Integration
Issue Type: Enhancement
Reporter: nimo stephan
Assignee: Steve Ebersole
Would be nice to have a new jpa/hibernate annotation to define the ordering within an ddl schema generation on an entity class:
{code:java}
@Entity
@Table(name = "users")
// jpa schema generation will use the following property order when creating DDL
@TablePropertyOrder(value = {
"idUser",
"username",
"email"})
public class User {
..}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list