Tuesday, February 7, 2012

Jquery Tutorial 2


In this post we are going to see how to eliminate particular tag lies under parent tag.

for example  if you are having below exmaple :

<ul>
    <li>
    <li>
    <li>
    < id='eliminate li>
<ul>




$("#lis").not("#eliminate").css("background-color","blue");

If you run above code, background color will change all li tags other than eliminate id li tag... so this is very useful for creating tabs in any application mouse over offect of menus....





Saturday, February 4, 2012

hibernate operation ERROR schema does not exist

i did one example in spring,hibernate,postgresql. i created one database and 
schema name is "test". this is the first time i am working with different schema name.
i created hbm.xml and java class file for that database tables. i run the application
everything works fine but when i try to save data to a table is shows an error 
"schema does not exist".
 
 
still now i didnt see these type error and i search more about this.i found one
solution for this. you have to check following  steps are done in your application or
not.
 
 
 
1. check hbm.xml file for correspoding table involved in save transaction whether
the schema name is specified in their or not.
 
eg. 
    
    
 
 
2. check whether below two lines added in your hibernate.cfg.xml file
 
test
create    
 
 
maximum this will work surely.... if anyone found any other solution... post ur comments....