Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JPA Wizard Eclipse (Using Eclipse supplied wizard to create Entity classes from tables)
JPA Wizard Eclipse [message #1730455] Mon, 25 April 2016 23:14
Charles Leviton is currently offline Charles LevitonFriend
Messages: 1
Registered: April 2016
Junior Member
Using Eclipse Mars on Win 10. Want to create an Entity class from DB2 (zOS) table. I establish the db connection, get a list of the tables and pick the one I want. in the "Customize Individual Entities" I pick the columns that are part of the PK by changing the "Mapping kind" to id. Multiple columns make up the PK

WHen I click Finish, it creates an Entity Class but rather than generating a separate PK class it just annotates the 3 columns I picked with @Id. I have a distinct recollection of making it generate a separate PK class but I've been away for a bit, so not sure what I might have done.
Previous Topic:What is the current Recommended Supported version Neon or Mars
Next Topic:Run java program with unicode arguments in eclipse
Goto Forum:
  


Current Time: Sun Oct 13 20:04:24 GMT 2024

Powered by FUDForum. Page generated in 0.04517 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top