• 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

[SOLVED] Entity relations

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have the following problem:
I need to make a relation (OneToMany) between a entity on my server and a entity in my library (ManyToOne).


My program consists of 3 main components:
- a client (who uses session beans to query the server)
- a server (which contains entity's)
- a lib which is shared between the client and the server. (which also contains entity's)

Here is the thing I want to do:
Class on my Server:



Class on my Library:


It's not an option to move ClassOnServer to my lib because this would ruin the whole architecture.
Do you guys have any suggestions on how to solve this?

I solved it! thanks anyway.
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So how did you solve it?

Please share so other ranchers can reference given a similar problem.
reply
    Bookmark Topic Watch Topic
  • New Topic