• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Generating tables from entity classes

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have coded the entity classes and need the application to automatically generate the entity tables during deployement.
the problem is that even after i set the persistence unit for the project, i get an error like:

java.io.FileNoteFoundException: ......\tamasha\tamash-ejb\tamasha-ejb-createJdbc.jdbc

the file that is generated to contain the sql commands for creating the tables cannot be found, or is not generated.
when i set it manually, the application server deletes it during deployement.

what might be the problem?

any help will be highly appreciated

marembo
 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to tell us that what is the tool/environment you are using. The question is too abstract.

Also, it is not related to Distributed Java. Moving to Object Relational Mapping forum.

[NK: Changed the destination forum name]
 
This will take every ounce of my mental strength! All for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic