Subject | unicode problem |
---|---|
Author | Benny Setiawan Tanua |
Post date | 2002-05-31T13:28:51Z |
Dear All,
i've got a problem again.
i can insert and viewing my unicode by direct connection.
but if i use poolman i can't insert unicode well.
i use
Properties properties = new Properties ();
properties.put("lc_ctype", "UNICODE_FSS");
poolManager = SQLManager.getInstance(properties);
or
poolManager = SQLManager.getInstance();
but it's not work.
in direct connection i use
Properties properties = new Properties ();
properties.put("user", "SYSDBA");
properties.put("password", "masterkey");
properties.put("lc_ctype", "UNICODE_FSS");
Class.forName( driver );
con = DriverManager.getConnection( url, properties );
it's work fine.
and i use prepared statement to insert unicode into database.
Does anyone know about my problem and solution ?
i use poolman 1.4
Thanks and Regards,
Benny Setiawan T
i've got a problem again.
i can insert and viewing my unicode by direct connection.
but if i use poolman i can't insert unicode well.
i use
Properties properties = new Properties ();
properties.put("lc_ctype", "UNICODE_FSS");
poolManager = SQLManager.getInstance(properties);
or
poolManager = SQLManager.getInstance();
but it's not work.
in direct connection i use
Properties properties = new Properties ();
properties.put("user", "SYSDBA");
properties.put("password", "masterkey");
properties.put("lc_ctype", "UNICODE_FSS");
Class.forName( driver );
con = DriverManager.getConnection( url, properties );
it's work fine.
and i use prepared statement to insert unicode into database.
Does anyone know about my problem and solution ?
i use poolman 1.4
Thanks and Regards,
Benny Setiawan T