hibernate-orm
                                
                                
                                
                                    hibernate-orm copied to clipboard
                            
                            
                            
                        HHH-14631 add Sakila sample database as new testing domain model
https://hibernate.atlassian.net/browse/HHH-14631
Sakila is a well-known MySQL sample database modelling dvd rental store: https://dev.mysql.com/doc/sakila/en/ A HR example database in Oracle is also included.
We might consider other sample databases as per https://data-xtractor.com/blog/data-modeling/example-databases/.
Do we need to do anything special here with copyrights and/or licenses?
Do we need to do anything special here with copyrights and/or licenses?
I have no idea in this respect. @beikov , @dreab8 @Sanne how do you think?
I don't know for sure, but other projects that provide a Sakila sample database provide it under the BSD-2 license which seems to be the original license of the MySQL example model, though these projects provide the actual SQL DDL and Hibernate would just emit compatible SQL DDL. Maybe @Sanne knows more, but from my understanding, it should be be put under BSD-2 license.
We'd definitely want to investigate the implication of BSD on LGPL and make it abundantly clear that the BSD only applies to those classes
@NathanQingyangXu how did you create these classes? I assume via reverse engineering from the actual DB?
Nope, I created these classes purely based on the open documentations.
On Tue., Apr. 26, 2022, 6:57 a.m. Sanne Grinovero, @.***> wrote:
@NathanQingyangXu https://github.com/NathanQingyangXu how did you create these classes? I assume via reverse engineering from the actual DB?
— Reply to this email directly, view it on GitHub https://github.com/hibernate/hibernate-orm/pull/4004#issuecomment-1109652800, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6UYATZ36KOWNOCM3OXB73VG7D2RANCNFSM45LG5Q2Q . You are receiving this because you were mentioned.Message ID: @.***>
Ok then they are not BSD licensed, and you can choose to contribute them to the Hibernate project as LGPL (like you did in the headers), so it should be all good