JBoss Community

Re: How to add constructors with ID in pojo generation?

created by u j in JBoss Tools - View the full discussion

I see, thanks.

By "session.load()" do you mean EntityManager.find()? Or of which class is your session object?

 

I don't have auto-generated IDs, but the constructor(id) is not generated. Anyway, if your approach is better, I'll use that.

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community