Jump to content
We've recently updated our Privacy Statement, available here ×

venubodige

Members
  • Posts

    4
  • Joined

  • Last visited

venubodige's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. there is a real urgent requirement.. please help on this..plz..plz Unable to trace why the query is getting fired.
  2. Hi All, I have the applicationContext.xml on the classpath with the sessionFactory bean. I am using Spring loaded hibernate connection. Now when I test the connection I get a strange error: org.hibernate.hql.ast.QuerySyntaxException: unexpected token: Address near line 1, column 27 [select address as address Address as address] Even when i tried commenting out all the mappings in the XML file,still got same error. I do not have any Address table or mapping defined, its strange that how the above query is getting fired. Please help on this.Thanks in advance
  3. Hi All, I am new to iReports.I have been trying to configure Spring loaded Hibernate connection in ireports. I have setup the classPath with all the required hbm's, binary classes and libraries. And on clicking the test button , getting the error : Cannot open Connection Can any one help in solving this error. Thanks in advance...
  4. Hi , I am new to ireports , i am using Spring Loaded Hibernate Connection. I have set the classpath for applcationContext.xml.And when i give the Spring configuartion and session factory details and clicked on test, it is giving the following error. Error: Error creating with the bean name 'sessionFactory' defined in class path resoorce [applicationContext.xml]: Invocation of init method failed;nested exception is java.io.FileNotFoundException: class path resource [com/alissa/services/hbm/PriceConfigPeriodVlues.hbm.xml] cannot be opened because it does nor exist Please help on this. Code:<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver" /> <property name="url" value="jdbc:mysql://10.254.48.25:3306/btc_20120329?useUnicode=true&characterEncoding=UTF-8" /> <property name="username" value="root" /> <property name="password" value="admin" /> </bean><bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="dataSource"> <ref bean="dataSource" /> </property> <property name="hibernateProperties"> <props> <prop key="hibernate.dialect">org.hibernate.dialect.MySQLDialect</prop> <prop key="hibernate.show_sql">true</prop> </props> </property> <property name="mappingResources"> <list> <value>com/alissa/services/hbm/PriceConfigPeriodValues.hbm.xml </value> <value>com/alissa/services/hbm/Colormaster.hbm.xml</value> <value>com/alissa/services/hbm/Franchise.hbm.xml</value> <value>com/alissa/services/hbm/Model.hbm.xml</value> </list> </property> </bean>
×
×
  • Create New...