• 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

TopLINK-93 Phatom Relationship with Table

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have several tables created within SQL Server 2005. I have worked over the last two days ensuring the mappings are correct. When I deploy everything to Glassfish, everything deploys correctly. When I try to store data in the database, I get this error:

Exception [TOPLINK-93] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: The table [address] is not present in this descriptor.
Descriptor: RelationalDescriptor(jtdi.cm.ejb.bean.entity.ServerAsset --> [DatabaseTable(jtdi_cm_db.dbo.server_asset)])

I have an entity called ServerAsset and a table in SQL Server called server_asset. In either case "address" is not connected to the ServerAsset enitity or server_asset table. I am confused where this could be coming from.

Suggetions?
 
Russell Ray
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the good of the group. The problem dealt with a third class which had the wrong targetedEntity wrong.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic