• Post Reply Bookmark Topic Watch Topic
  • New Topic

Entity and Mappedsuperclass throw error "has no table in the database, but the operation requires it

 
daniele licitra
Ranch Hand
Posts: 81
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all.

I have a superclass used for all the other entity


here is an entity subclass


When i try to read some data with a JPA controller, this error is raised:


It requires BssStandardEntityLaravel table like a normal entity.
I used the same entity package in other applications and it works perfectly.
Why this error is raised?

I use jpa2.1.0 and datanucleus to enhance classes
 
daniele licitra
Ranch Hand
Posts: 81
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have also created the test units for testing controllers.
They read data from tables and they work correctly.
 
daniele licitra
Ranch Hand
Posts: 81
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used the same classes/packake in a Web Application and it works.
Why if i use the classes in a normal Main function they don't work?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!