Search Blog

Search duranek.blogspot.com

Wednesday, October 28, 2009

mysql ortamı hakkında bilgi

mysql shell de \s yaparsak goruruz.

mysql de varolan tablo db charset ini degistirmek

Bu charsetleri toptan degistirme yolu yok. default character set i degistirmek sadece yeni tabloları etkiliyor.

Varolani degistirmek icin kolon kolon baslayip, daha sonra tablo ve daha sonra database i alter leyebiliriz.

jdbc utf8 ibatis connection

jdbc:mysql://localhost:3306/deneme?useUnicode=true&characterEncoding=utf8

mysql Kolonun charset ini dondurmek için

SELECT CHARSET(shortdesc) FROM datas

mysql variable set etmek

set character_set_server=utf8

Mysql Server Character Set

show variables like '%character_set%'

Saturday, October 24, 2009

mysql alter default table charset

ALTER TABLE tbl_name DEFAULT CHARACTER SET charset_name;

Mysql Modify a column to AUTO_INCREMENT

alter table user_seminar add us_id Int NOT NULL AUTO_INCREMENT key

Smartgwt TextItem Title New Line Olmaması için

final TextItem lOBShortDescText = new TextItem();
lOBShortDescText.setTitle("Short Description");

SmartGWT TextItem Yüksekliği

SmartGWT TextItem Yüksekliği 27 pixel.

Thursday, October 22, 2009

Smart GWT Paneli Komple Silip Gostermek

pOBLayout.clear();
pOBLayout.redraw();

Smart GWT KeyDown Enter kontrolü

public void onKeyDown(KeyDownEvent event) {
if (com.smartgwt.client.util.EventHandler.getKey().equalsIgnoreCase("Enter")) {
}
}

IBatis Dinamik Query XML

IBatis $ ve # Varible lar

Literal değerlerin quotation ile çıkmasını istiyorsak #var# kullanmaliyiz, yoksa $var$ kullanmaliyiz.

Monday, October 19, 2009

Mysql Grantlerin çalışması için

5)mysql --user=root mysql ile girilir

GWT 1.6 with IBATIS

Question :

Hello.

GWT 1.6 + Eclipse.

When trying to connect to MySQL, I get "access denied
(java.lang.RuntimePermission modifyThreadGroup)" as an
accesscontrolexception. I tried to find Jetty's policy file, but with
no success.

Is there an example GWT+MySQL for 1.6? Thank you

-------------------

Answer:

Hi clsslk,

I had this problem. If tyour in eclipse try turning off Google App
engine. Go to "Project->Properties->Google->App Engine" and uncheck
the "Use Google App Engine" box.

Now if you actually intend to use app engine then I guess you probably
need this on - but I'm not quite sure how app engine works exactly or
if you can even use a mysql database from app engine.

Cheers,
Troy.