Search Blog
Wednesday, October 28, 2009
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.
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
Saturday, October 24, 2009
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 ");
lOBShortDescText.setTitle("
Thursday, October 22, 2009
Smart GWT KeyDown Enter kontrolü
public void onKeyDown(KeyDownEvent event) {
if (com.smartgwt.client.util.EventHandler.getKey().equalsIgnoreCase("Enter")) {
}
}
if (com.smartgwt.client.util.EventHandler.getKey().equalsIgnoreCase("Enter")) {
}
}
IBatis $ ve # Varible lar
Literal değerlerin quotation ile çıkmasını istiyorsak #var# kullanmaliyiz, yoksa $var$ kullanmaliyiz.
Monday, October 19, 2009
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.
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.
Subscribe to:
Posts (Atom)