Skip to content

misk-hibernate: delete generates invalid sql when joining #1342

Open
@tso

Description

@tso
@Constraint("director.name")
fun directorName(name: String): MovieQuery

queryFactory.newQuery<MovieQuery>()
  .directorName("George Lucas")
  .delete(session)

will generate something like delete from movies cross join directors where name="George Lucas"; which is invalid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughibernateHibernate & application-layer database access

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions