Skip to content
Snippets Groups Projects
Commit 6638a260 authored by srosse's avatar srosse
Browse files

no-jira: fix difference in java compiler

parent 7cdc203e
No related branches found
No related tags found
No related merge requests found
...@@ -48,8 +48,7 @@ import org.olat.instantMessaging.InstantMessage; ...@@ -48,8 +48,7 @@ import org.olat.instantMessaging.InstantMessage;
@NamedQueries({ @NamedQueries({
@NamedQuery(name="loadIMessageByKey",query="select msg from instantmessage msg where msg.key=:key"), @NamedQuery(name="loadIMessageByKey",query="select msg from instantmessage msg where msg.key=:key"),
@NamedQuery(name="loadIMessageByResource", query="select msg from instantmessage msg where msg.resourceId=:resid and msg.resourceTypeName=:resname order by msg.creationDate desc"), @NamedQuery(name="loadIMessageByResource", query="select msg from instantmessage msg where msg.resourceId=:resid and msg.resourceTypeName=:resname order by msg.creationDate desc"),
@NamedQuery(name="loadIMessageByResourceAndDate", query="select msg from instantmessage msg where msg.resourceId=:resid and msg.resourceTypeName=:resname and msg.creationDate>=:from order by msg.creationDate desc"), @NamedQuery(name="loadIMessageByResourceAndDate", query="select msg from instantmessage msg where msg.resourceId=:resid and msg.resourceTypeName=:resname and msg.creationDate>=:from order by msg.creationDate desc")
}) })
public class InstantMessageImpl implements InstantMessage, Persistable, CreateInfo { public class InstantMessageImpl implements InstantMessage, Persistable, CreateInfo {
......
...@@ -48,8 +48,7 @@ import org.olat.instantMessaging.InstantMessageNotification; ...@@ -48,8 +48,7 @@ import org.olat.instantMessaging.InstantMessageNotification;
@Table(name="o_im_notification") @Table(name="o_im_notification")
@NamedQueries({ @NamedQueries({
@NamedQuery(name="loadIMNotificationByIdentity", query="select notification from imnotification notification where notification.toIdentityKey=:identityKey order by notification.creationDate desc"), @NamedQuery(name="loadIMNotificationByIdentity", query="select notification from imnotification notification where notification.toIdentityKey=:identityKey order by notification.creationDate desc"),
@NamedQuery(name="deleteIMNotificationByResourceAndIdentity", query="delete from imnotification notification where notification.toIdentityKey=:identityKey and notification.resourceId=:resid and notification.resourceTypeName=:resname"), @NamedQuery(name="deleteIMNotificationByResourceAndIdentity", query="delete from imnotification notification where notification.toIdentityKey=:identityKey and notification.resourceId=:resid and notification.resourceTypeName=:resname")
}) })
public class InstantMessageNotificationImpl implements InstantMessageNotification, Persistable, CreateInfo { public class InstantMessageNotificationImpl implements InstantMessageNotification, Persistable, CreateInfo {
......
...@@ -47,7 +47,7 @@ import org.olat.core.id.Persistable; ...@@ -47,7 +47,7 @@ import org.olat.core.id.Persistable;
@NamedQuery(name="loadIMRosterEntryByIdentityandResource", query="select entry from imrosterentry entry where entry.identityKey=:identityKey and entry.resourceId=:resid and entry.resourceTypeName=:resname"), @NamedQuery(name="loadIMRosterEntryByIdentityandResource", query="select entry from imrosterentry entry where entry.identityKey=:identityKey and entry.resourceId=:resid and entry.resourceTypeName=:resname"),
@NamedQuery(name="loadIMRosterEntryByResource", query="select entry from imrosterentry entry where entry.resourceId=:resid and entry.resourceTypeName=:resname"), @NamedQuery(name="loadIMRosterEntryByResource", query="select entry from imrosterentry entry where entry.resourceId=:resid and entry.resourceTypeName=:resname"),
@NamedQuery(name="clearIMRosterEntry", query="delete from imrosterentry entry"), @NamedQuery(name="clearIMRosterEntry", query="delete from imrosterentry entry"),
@NamedQuery(name="deleteIMRosterEntryByIdentityAndResource", query="delete from imrosterentry entry where entry.identityKey=:identityKey and entry.resourceId=:resid and entry.resourceTypeName=:resname"), @NamedQuery(name="deleteIMRosterEntryByIdentityAndResource", query="delete from imrosterentry entry where entry.identityKey=:identityKey and entry.resourceId=:resid and entry.resourceTypeName=:resname")
}) })
public class RosterEntryImpl implements Persistable, CreateInfo { public class RosterEntryImpl implements Persistable, CreateInfo {
......
...@@ -45,7 +45,7 @@ import org.olat.core.id.Persistable; ...@@ -45,7 +45,7 @@ import org.olat.core.id.Persistable;
@Entity(name="imrosterentryview") @Cacheable(false) @Entity(name="imrosterentryview") @Cacheable(false)
@Table(name="o_im_roster_entry_v") @Table(name="o_im_roster_entry_v")
@NamedQueries({ @NamedQueries({
@NamedQuery(name="loadIMRosterEntryViewByResource", query="select entry from imrosterentryview entry where entry.resourceId=:resid and entry.resourceTypeName=:resname"), @NamedQuery(name="loadIMRosterEntryViewByResource", query="select entry from imrosterentryview entry where entry.resourceId=:resid and entry.resourceTypeName=:resname")
}) })
public class RosterEntryView implements Persistable, CreateInfo { public class RosterEntryView implements Persistable, CreateInfo {
......
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