• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

date/timestamp issue

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have this code i want that if my code have a timestamp 00.00.0000. then it should return null.
as a code is doing comparision between the datatype not with the value. so please give me the solution of solving the problem using datatype.





Kind Regards
 
Rancher
Posts: 1965
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unless you pass the value of TIMESTAMP to this method, how can you compare it with 00.00.0000? So, probably your method should have one more parameter containing the value of timestamp.
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please let me know the solution or other code of this.
 
Swastik Dey
Rancher
Posts: 1965
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please let me know odi is not excepting datatypevalue.
what datatype we can use in odi it throwing an error "unknown flex fields.



Regards
Seema
 
Swastik Dey
Rancher
Posts: 1965
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did not get you very clearly, what exactly do you mean by odi and flex data type?
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me my


sqlldr Col Format is not excepting "String destDataValue" .so my code is not running please let me know this sqlldr Col Format is except value or not if not please send me another solution.



Kind Regards,
Seema
 
Swastik Dey
Rancher
Posts: 1965
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by not excepting? Its just a method signature. You need to make sure that when you are calling this method, it should be called with same number of arguments.
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this code not ecxcepting the string destdatavalue please give the solution.


 
Swastik Dey
Rancher
Posts: 1965
15
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


and your method signature should have 3 String args as you can see in my last post.
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if i do like that it throws an error in that line. please tell me the solution


error is thiis:



com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Error during task interpretation
Task:10
java.lang.Exception: BeanShell script error: Parse error at line 38, column 10. Encountered: ( BSF info: Generate Loader Script at line: 0 column: columnNo

at com.sunopsis.dwg.codeinterpretor.a.a(a.java)
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please reply if there is any solution
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi can i know how i can solve this problem is i have to change a entire code . and also tell me that how many parameter we can pass in the method of sqlldrcolformat .
 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi can i have a code of timestamp using sunopsis API.
please pass me as soon as possible.

 
seema chhetri
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
this method are not excepting more than a given parameter. it only except the two parameter.




please tell me if there is any solution . its urgent.



thanks
 
Ranch Hand
Posts: 874
Android VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Seema,

Please try in oracle forum to get better response, as sunopsis API and ODI formats are better handled there.
 
author & internet detective
Posts: 39399
763
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Balu Sadhasivam wrote:

Seema,

Please try in oracle forum to get better response, as sunopsis API and ODI formats are better handled there.


Moving...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!