How can af:selectInputDate be sent to database as java.sql.Date???

I want to send seletInpuDate component value throught to DB as java.sql.Date format, selectInputDate value returns java.util.Date.
I'm using also Oracle Toplink, is there any way to accomplish this problem with an expression query???

Use setTimestamp() instead.
This allows you to specify date and / or time

Similar Messages

  • How can I get a list of database names from environment

    Hi,
    How can I get a list of database names from environment.
    I had found a method in JE API Docs named Environment.getDatabaseNames(), and i couldn't found the same method in Berkeley DB.
    I use java interface, is it supported?
    Thanks.

    Hello,
    I don't know if it would work for you, but have you checked the db_archive utility at:
    http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/db_archive.html
    Check the -s option.
    Thanks,
    Sandra

  • How can I send a message from database to a J2EE application?

    How can I send a message from database to a J2EE application?
    If I have a codetable in database that has new or modified values I have to refresh the codetable in my J2EE application.
    Most effective way would be send a message to initiate a table reload from J2EE app, but I don't know how to do this.
    Now I have a background thread that regular reads the table and looks for changes.

    http://www.oracle.com/technology/products/integration/bam/10.1.3/TechNotes/TechNote_BAM_AQ_Configuration.pdf
    This document details how to create triggers on a table that send out JMS messages.
    In this example, the messages are going to Oracle BAM.. your message could go to your J2EE application listening to its own topic/queue.
    an alternative idea.
    you could also just cache your lookup table with something like Oracle Coherence and than try to ensure that all changes to the lookup go through Coherence, so that you won't need to do notification from the db up to the application. the application and the lookup data management tool would be using the data grid for management of the lookup table data, and the data grid (coherence) would persist the lookup data changes back to the db.

  • Apple told me that my iPhone 4 does not have the possibility to store sent e-mails. I can not believe that, but my iPhone has a box for sent mails that is always empty. How can my iPhone store sent e-mails?

    The Apple helpdesk told me that my iPhone 4 does not have the function to keep sent mails stored. I cannot believe that. My iPhone 4 has a Sent box, I have checked the Sent box in Configuratieo--> E-mail, ...Calender..,but the Sent box is always empty after I have sent an E-mail. I know that the E-mails arrive at their destinations. How can I activate the Sent box?

    lol the person you talked to at Apple was not very bright.
    Of course you can have sent items in your mail on the iPhone 4. I have mine there all the time.
    Sounds like you might have issues with the software.
    I recommend trying a reset, send email and see if that goes to the sent items directory
    If not do a restore.
    #1: Reset: http://support.apple.com/kb/HT1430
    #2: Restore: http://support.apple.com/kb/HT1414

  • How can i check messages sent to device through my Verizon account online? i want to open the messages and see the contents.

    How can i check messages sent to device through my Verizon account online? i want to open the messages and see the contents.

        I know it's beneficial to be able to check your message content ArmyQueer. Verizon messages offers a wide variety of convenient options to manage messaging. What make and model device is this? When did you download the application on it? Please be aware you will only be able to see content after the app had been downloaded and installed. Content prior to the app being active will not be available. Here's a link with additional info. http://vz.to/1k3gBxd
    JonathanK_VZW
    VZWSupport
    Follow Us on Twitter@VZWSupport

  • How can i make iphone mobile website,  database in Sql Server 2005 ?

    how can i make iphone mobile website,  database in Sql Server 2005 ?
    Thanks & Regards
    Jamshed Ali
    Email id: [email protected]

    You need to be a little clearer in what you're asking.
    You can't make any web site in SQL Server - it's a database engine, not a website tool.
    What you can do is create web sites that pull data from a back-end SQL Server, but the SQL server doesn't handle the client connection at all (that's handled by a web server such as Apache, IIS, or similar).
    There are many ways to build such a site including .NET, PHP, Perl and more (although I don't know all the options for Windows servers because they're not as common outside of corporate/enterprise networks).
    In either case, given your choice of development language (HTML, plus one of the PHP/Perl/.NET/etc. options), plus your database (SQL Server) plus your web server (IIS, Apache, etc.) you can make any web site you like (or, at least, you're capable of developing).
    If you want to opimize that web site for iPhones then there are many references on how mobile browsing differs from the desktop. I'd recommend this book as a reference (and, yes, I understand the irony of linking to a paperback book for web design guidance ). Googling mobile web design (or iPhone web design) might yield more results.

  • How can I ad a 'sent mail' mailbox to my list of mailboxes?

    How can I add a 'sent mail' mailbox to my mailboxes?

    AppleScript  <--------- CLICKY CLICK
    You can cross post there if you want to do a script for what you want to do w/your Mail.  You will NOT be violating Apple's TOU.  The experts there will provide you w/detailed instructions.

  • How can i recall a sent message

    How can I recall a sent message and opened already from the person who received the message.
    Thank you

    What do you mean by recall?  once you hit send its sent.  If your wanting view the message just go into the message app.

  • How can I view my sent emails? I'm running ios5 but can only see my inbox.

    I would like to resend a previously sent email but my iPad is only showing my inbox. How can I see my sent folder?

    In your email inbox, hit the back arrow in the top left.
    Underneath where it says "Accounts" select the one that you are using.
    In there, you will see the "Sent Mail" folder.

  • Mail 6.3 (1503) How can I have all sent emails automatically sent to my in box?

    Mail 6.3 (1503) How can I have all sent emails automatically sent to my in box?

    Do you mean you want all the emails that are now ending up in the Sent mailbox to end up in the Inbox?
    If that is what you want to do, you can create a Rule. Go to Mail /Preferences / Rules, and select Add Rule.
    You create the rule there, and Mail will follow it.

  • I deleted a pop email account from mail.  How can I recover those sent messages without Time Machine?

    I deleted a pop email account from mail.  How can I recover those sent messages without Time Machine?

    Thomas,
    "Note that you were warned that this would happen and approved it.  When you delete an e-mail account in Mail, you are shown a message like the following:"
    You didn't read my problem - I said I deleted a POP email account.  I always read the messages that pop up and in Mail when you delete a POP account - IT DOESN'T TELL YOU NUTHIN!  It just deletes it - which *** for me.  Fortunately, I had an iPhone and on that device I had about a 1000 messages that I could recover but on all my POP accounts I download them from the server onto my Mac so they were only on Mail (the really old ones that I wanted to keep.)  I had to move them into another directory one by one basically because when I would move 50 some of them would move and some wouldn't and I never did figure out that problem.  Basically the ones that would not move are the ones that were associated with my domain changes with GoDaddy, and there were a lot of those.  Have no idea as to why only those were resistant to moving but I can get all that data from GoDaddy anyway.
    This thread is now moot seeing as how I've recovered everything I can and am going to just move on - and back up more often.  ;-)
    Apple and Mail need to rewrite that program to include a WARNING MESSAGE when deleting an Account in Mail that says ALL YOUR MESSAGES ARE GOING TO DISAPPEAR NEVER TO RETURN IF YOU DELETE THIS ACCOUNT, SO YOU DANG WELL BETTER HAVE A BACK UP IF YOU WANT TO KEEP ANYTHING BEFORE PRESSING THAT MINUS SYMBOL!  ;-)

  • Ipad 3 How can I retrieve old sent messages?

    How can I retrieve old sent messages which disappeared from my sent folder? I only have old sent messages until June 2014 and I need a message I sent in March 2014. I use a pop email client (godaddy). Any suggestions? Greetings, Harry

    Unless you saved the email to a folder on your computer, it is most likely gone for good since it has disappeared from the sent folder in the mail app. Email messages are not stored in the backups so you cannot retrieve them that way either.

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview.

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

  • How can I do for a row of a query be data provider for a variable?

    Hi friends, I have a problem !
    How can I do for a row of a query be data provider for a variable?
    I need that a value of variable be stored when the user select a row in a query. At the BPS we can do this configuring the variable selector in WIB, and in a WAB how I can do this ?
    Best regards,
    Gustavo Liberado

    In this case when I press the key to call other forms I need to wait for the response in the secondary form and then process the result.That is exactly what a "modal JDialog" (or JOptionPane) are used for.
    Try it. Create a short demo program. All you need is a JFrame with a single button to show the modal dialog. All you modal dialog needs is a single button to close the dialog. After you show the modal dialog add a System.out.println(...) statement in your code and you will see that it is not executed until the dialog is closed.
    Then once you understand the basics you add the code to your real program.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

Maybe you are looking for