mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
* #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Initial test and work * #52 - @ManyToOne support inside @Embeddables Update test with sql capture * #52 - @ManyToOne support inside @Embeddables Update test with cache clearing before hand (such that we hit DB on lazy load)
20 lines
480 B
Java
20 lines
480 B
Java
package io.ebeaninternal.server.deploy;
|
|
|
|
/**
|
|
* Helper for BeanPropertyAssocOne imported reference - this is the common case.
|
|
*/
|
|
class AssocOneHelpRefSimple extends AssocOneHelp {
|
|
|
|
AssocOneHelpRefSimple(BeanPropertyAssocOne<?> property, String embeddedPrefix) {
|
|
super(property, embeddedPrefix);
|
|
}
|
|
|
|
/**
|
|
* Append columns for foreign key columns.
|
|
*/
|
|
@Override
|
|
void appendSelect(DbSqlContext ctx, boolean subQuery) {
|
|
property.importedId.sqlAppend(ctx);
|
|
}
|
|
}
|