• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Any ORM (Hibernate) boffins about?

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by doodab View Post
    A class with a composite key will still give you one object per row. What you are calling someRows will be a collection or array of those objects.

    What you could do is either have an instance object per row class and a Facade class to encapsulate the business logic of "get the latest row for this particular source id" or a source object and a row object with proper one to many relationship between "sources" and the rows in the table.
    Perfect, how much do you charge per hour?
    Knock first as I might be balancing my chakras.

    Comment


      #12
      Originally posted by suityou01 View Post
      Perfect, how much do you charge per hour?
      They can't afford me, that's why I'm going home
      While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

      Comment

      Working...
      X