2018-03-19 09:01:26,014 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EE-ManagedScheduledExecutorService-default-Thread-16) SQL Error: 1062, SQLState: 23000
2018-03-19 09:01:26,014 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EE-ManagedScheduledExecutorService-default-Thread-16) Duplicate entry 'hideRejected-15675' for key 'UK_t1uhb1suiiqffhsv9eaopeevs'
2018-03-19 09:01:26,077 ERROR [org.jboss.as.ejb3.invocation] (EE-ManagedScheduledExecutorService-default-Thread-16) WFLYEJB0034: EJB Invocation failed on component QueryAttributesEJB for method public org.dcm4chee.arc.entity.SeriesQueryAttributes
select study0_.pk as pk1_25_, study0_.access_control_id as access_c2_25_, study0_.access_time as access_t3_25_, study0_.accession_no as accessio4_25_, study0_.dicomattrs_fk as dicomat24_25_, study0_.completeness as complete5_25_, study0_.created_time as created_6_25_, study0_.expiration_date as expirati7_25_, study0_.ext_retrieve_aet as ext_retr8_25_, study0_.failed_retrieves as failed_r9_25_, study0_.accno_issuer_fk as accno_i25_25_, study0_.modified_time as modifie10_25_, study0_.patient_fk as patient26_25_, study0_.ref_phys_name_fk as ref_phy27_25_, study0_.rejection_state as rejecti11_25_, study0_.study_size as study_s12_25_, study0_.storage_ids as storage13_25_, study0_.study_custom1 as study_c14_25_, study0_.study_custom2 as study_c15_25_, study0_.study_custom3 as study_c16_25_, study0_.study_date as study_d17_25_, study0_.study_desc as study_d18_25_, study0_.study_id as study_i19_25_, study0_.study_iuid as study_i20_25_, study0_.study_time as study_t21_25_, study0_.updated_time as updated22_25_, study0_.version as version23_25_ from study study0_ where study0_.expiration_date<='2018-03-21' limit 100
where study0_.expiration_date<='2018-03-21', and it is assuming it has hyphens.
Well, in mysql, when I run that query I get zero results, but when I change the where statement and remove the hyphens, the query returns results.
--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.
--