Skip to content
Snippets Groups Projects
Commit b7004ff7 authored by felmer's avatar felmer
Browse files

LMS-1372 bug fixed

SVN: 18914
parent 61f91f41
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ import org.apache.commons.lang.builder.HashCodeBuilder; ...@@ -34,7 +34,7 @@ import org.apache.commons.lang.builder.HashCodeBuilder;
@Entity @Entity
@SqlResultSetMapping(name = "implicit", entities = @EntityResult(entityClass = DataSetAccessPE.class)) @SqlResultSetMapping(name = "implicit", entities = @EntityResult(entityClass = DataSetAccessPE.class))
@NamedNativeQuery(name = "dataset_access", query = "select " @NamedNativeQuery(name = "dataset_access", query = "select "
+ "g.code as groupCode, dbi.uuid as databaseInstanceUuid, dbi.code as databaseInstanceCode " + "g.code as spaceCode, dbi.uuid as databaseInstanceUuid, dbi.code as databaseInstanceCode "
+ "from " + TableNames.PROJECTS_TABLE + " p, " + TableNames.SPACES_TABLE + " g, " + "from " + TableNames.PROJECTS_TABLE + " p, " + TableNames.SPACES_TABLE + " g, "
+ TableNames.DATABASE_INSTANCES_TABLE + " dbi " + "where p.id in " + TableNames.DATABASE_INSTANCES_TABLE + " dbi " + "where p.id in "
+ "(select e.proj_id from " + TableNames.DATA_TABLE + " ds, " + "(select e.proj_id from " + TableNames.DATA_TABLE + " ds, "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment