Giter Club home page Giter Club logo

hibernate-tools-maven-plugin's People

Contributors

stadler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hibernate-tools-maven-plugin's Issues

revengStrategy

Hi, I try to use custom revengStrategy and set my class ( class extends DelegatingReverseEngineeringStrategy ), but when I launch hibernate-tools:hbm2java on my project the result is : CustomRevengeStrategy not instanced.

Is that a bug or I set incorrectly revengStrategy?

Best regards.

Foreign key-derived sets are not strongly typed as they should

I have noticed a difference between the files generated

  • with hibernate-tools-maven-plugin
  • with, eg., the JPA Tools of Eclipse.

Say we have the Northwind database, a Customers entity is generated:

@Entity
@Table(name="customers"
    ,schema="NORTHWIND"
    ,catalog="NORTHWIND"
)
public class Customers  implements java.io.Serializable {

     private Integer id;
     // [...]
     private Set<Orders> orderses = new HashSet<Orders>(0);

Notice the orderses member. It is not strongly-typed, as it should, when entity generation is done through hibernate-tools-maven-plugin.

It is strongly typed when entity generation is performed with JPA Tools:

private Set<Orders> orderses = new HashSet<Orders>(0);

Will this be fixed in the 6.0.0 release?
BTW how to try the 6.0.0 release of the Maven plugin?

Please note: I can't open an Issue on https://github.com/hibernate/hibernate-tools as the Issue tab has not been enabled in this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.