Please take JAWS support questions to jboss-cmp, jboss-dev is reserved for
development discussions
regards
marc
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Henri Chen
|Sent: Sunday, March 11, 2001 11:04 PM
|To: [EMAIL PROTECTED]
|Subject: [jBoss-Dev] How do I store unicode string into the
|database? [WAS: How can I turn on the jaws debug log and where isthe log?]
|
|
|Hi! Chris and Lennart
|
|Thanks for the answer. I have got the log. However, the log shown did not
|solve my problem.
|
|I have been trying to store unicode string into the database. However, if
|the unicode string with
|characters that are beyond the ascii code range(say, 0x0000 ~ 0x007F), it
|will not store the
|correct unicode. Instead, it will stores '?'(0x3F). And, for ascii code
|range, it will get rid of the
|leading zero. It looks like that the unicode string has been passed through
|some kind of
|CharacterStream filter that will transfer the unicode string into the
|server's Java VM default
|code page(in this case, 437 United English, ASCII code) string.
|
|I thought it was because I did not write my code correctly, yet the log
|shows that the unicode string
|was already "transfered" to ASCII before it was sending into JDBC driver. I
|am using the jbosstest/dbtest
|to do the testing. I modified the primiary key string 'seb' to
|three chinese
|unicode, and I always get
|three question marks ??? stored.
|
|Can someone with such experience give me some advice?
|
|Henri Chen
|
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Kimpton,C (Chris)
|Sent: Friday, March 09, 2001 7:55 PM
|To: 'JBoss-Dev'
|Subject: RE: [jBoss-Dev] How can I turn on the jaws debug log and where
|isthe log?
|
|
|Hi,
|
|>
|> I am trying to "link" the jaws to a new RDB system. However,
|> there is some
|> little problem there. I need to take a look of what the jaws
|> calls to my
|> jdbc driver. Can someone tell me how to turn on the debug log
|> and where will
|> be the log file?
|>
|> I have tried to set the public static boolean debug = true; in
|> JDBCCommand.java but still see no trace at all.
|>
|
|In your dist/log directory, there should be a server.log file - it should
|now be full of jaws entries...
|
|You can get these to the console by adding ,Debug to the logging option in
|jboss.conf.
|
|HTH,
|Chris
|
|===================================================================
|=========
|====================
|This electronic message (email) and any attachments to it are subject to
|copyright and are sent for the personal attention of the
|addressee. Although
|you may be the named recipient, it may become apparent that this email and
|its contents are not intended for you and an addressing error has
|been made.
|This email may include information that is legally privileged and exempt
|from disclosure. If you have received this email in error, please advise us
|immediately and delete this email and any attachments from your computer
|system.Rabobank International is the trading name of Co�peratieve Centrale
|Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands.
|Registered with the Registrar of Companies for England & Wales No. BR002630
|and regulated by the SFA for the conduct of investment business in the UK.
|
|The presence of this footnote also confirms that this email has been
|automatically checked by Rabobank International for the presence
|of computer
|viruses prior to it being sent, however, no guarantee is given or implied
|that this email is virus free upon delivery.
|
|