Skip to content
Computer Stuff For The Record

Because I always forget how to configure stuff

Primary Menu
  • Privacy Policy

Day: 21 May 2020

  • Home
  • 2020
  • May
  • 21
Category: programming

@IdClass required for a @ManyToOne column

Posted On 2020-05-212020-05-21 By bmikloscomment

Having a JPA entity (e.g. CompanyAddress) with a somewhat strange primary key setup, where the primary key is also just a foreign key for another table (e.g. Company) with the naive setup of the ID field: @Id @ManyToOne() @JoinColumn(name = “COMPANY_ID”) private Company company; and then creating a Spring Repository for the entity, I got Continue Reading

Recent Posts
  • @IdClass required for a @ManyToOne column
  • No CEST with JDBC
  • xkcd password generator
  • Looking up my project’s changes
  • MyFaces component not found
Recent Comments
  • Riani on H.264 on openSUSE (round 2)
  • Riani on Atom dependencies on openSUSE
  • Riani on Removing annoying Cisco Jabber thingy
  • Tóth Zoltán on Beginning with the Raspberry
Archives
  • May 2020
  • August 2019
  • May 2019
  • April 2019
  • March 2019
  • August 2018
  • April 2018
  • August 2017
  • May 2017
  • April 2017
  • March 2017
  • December 2016
  • November 2016
  • August 2015
  • December 2014
  • May 2014
  • April 2014
  • February 2014
  • April 2013
  • March 2013
  • December 2012
Categories
  • hardware
  • installation
  • other
  • programming
  • settings
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright All right reserved Theme: Galway Lite by Themeinwp