Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

简化@TableGenerator的配置 #50

Open
wayshall opened this issue Oct 20, 2022 · 1 comment
Open

简化@TableGenerator的配置 #50

wayshall opened this issue Oct 20, 2022 · 1 comment
Milestone

Comments

@wayshall
Copy link
Owner

目前按照jpa @TableGenerator的配置过于繁琐

@wayshall wayshall added this to the 5.0.0 milestone Oct 20, 2022
@wayshall
Copy link
Owner Author

新增的@DbmTableIdGenerator注解简化配置:

@Entity
@Table(name="t_user")
public class UserEntity implements Serializable {

    @DbmTableIdGenerator("seq_test_user")
    Long id;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant