facebook

5.5.1 JPA Bean generation requires qualified class name

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #271415 Reply

    In 5.5.1 JPA Reverse Engineering wizard, the first dialog page asks you to enter the Java src folder and Java package. The third dialog (Configure reverse engineering details) lists the tables to be processed. If you select a table, the Table details on the right expose a Class name: textbox. Unexpectedly (in my mind since the first page already required me to enter the package name) this textbox only works if you type in a fully qualified Java classname. Type in only the last element of the name, and the generated class goes to default (no package). Any table that you do not enter your own class name for is generated in the intended package location.

    This could be a very badly documented feature, but my guess is that it is a bug. The content of the textbox should be prefixed by the package name entered on the first dialog page. If the name appears to be qualified (has a “.”) then there is some justification for the current behavior, but unqualified names entered into this box should go to the intended package.

    #271430 Reply

    Riyad Kalla
    Member

    Howard,
    I have filed your finding for the dev team to look into, thank you for the heads up.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: 5.5.1 JPA Bean generation requires qualified class name

You must be logged in to post in the forum log in