How to search date field

Previous topic - Next topic

Karthikkumark

Hi All,
I need help how we can search date. In any data base we will set/search the date as by Java Date object. But in ODwek search we are having only option to set the String object . even for setting the between search we can set only string object.

Shall i know how to proceed?

Thanks,
karthik k  

kbsiva


Karthikkumark

Hi Siva,

I search for an example of how they set the date. But i didn't found. But i tried to get the date format.by using the following method

System.out.println(odCrit.getName() + " : " + odCrit.getDisplayFmt());

This my result.

ReportID : null
CreationDate : null
CreationTime : null
PageCount : null
Description : null
LoadDate : null
JobName : null

I think this due to the version 8.4.X


If you have any example please post it.

Thanks,
Karthik k

kbsiva

Karthik - It is hard to find out what's wrong with only one print statement, paste your code snippet here.

Siva


Alessandro Perucchi

Hello Karthik,

What is the version of ODWEK and CMOD Server that you are using for your tests?

I'm asking that, because depending on the different version that you might have, then you won't be able to see what you are expecting to see!!!

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

Karthikkumark

Hi Alessandro,

odwek - 8.4.1.0
CMOD - 9.0.0.1

Thanks,
karthik k

Alessandro Perucchi

Hello karthik,

Well then it is resolved.

you simply cannot access the new date field with ODWEK 8.4.1 with CMOD Server 9.

If you want to do that, then you MUST upgrade ODWEK to V9 too... and then it will work.

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML