Re: [hibernate-dev] Is @SecondaryTable required when a join table is specified?

2013-03-01 Thread Hardy Ferentschik
Hi, Secondary tables and associations (join tables) are really two different things. A secondary table allows you to map your entity properties to multiple tables. @JoinTable on the other hand are used to map associations and configure certain properties of the join table. One does not require

[hibernate-dev] [OGM] Ogm mass indexer, how to convert Tuple/EntityKey to Entity/Id?

2013-03-01 Thread Davide D'Alto
Hello, I'm trying to create a mass indexer that could work with OGM. The idea is to have a way to scan all the element of a certain type in the data store and index them, this way it would be possible to create an index starting from an existing populated data store. The first prototype idea is to

[hibernate-dev] Hibernate 4.1.10.Final not showing up @Maven

2013-03-01 Thread Marc Schipperheyn
Head's up Hibernate 4.1.10.Final is not showing up in the maven repositories ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] Is @SecondaryTable required when a join table is specified?

2013-03-01 Thread Gail Badner
Hi Hardy, I've seen lots of unit tests that have @SecondaryTable. I didn't make the connection that it was non-association attributes that refer to a secondary table. Thanks for the clarification. Gail - Original Message - > From: "Hardy Ferentschik" > To: "Gail Badner" > Cc: "Hibern

Re: [hibernate-dev] Is @SecondaryTable required when a join table is specified?

2013-03-01 Thread Gail Badner
Actually, there are entities used in unit tests with @SecondaryTable defined with only *-to-one attributes that refer to those tables: org.hibernate.test.annotations.inheritance.mixed.File org.hibernate.test.annotations.inheritance.mixed.SymbolicLink org.hibernate.test.annotations.manytoone.Order