Monthly Archives: กันยายน 2014

spring ORM Hibernate depenpency

[cc] 1.6 4.0.3.RELEASE 1.6.10 1.6.6 4.3.5.Final org.hibernate hibernate-core ${hibernate.version} org.hibernate hibernate-entitymanager ${hibernate.version} org.springframework spring-orm ${org.springframework-version} [/cc]

Posted in java | Leave a comment

Spring table is not mapped [ from table ]

Description: Your query is not a SQL query. It’s a HQL query. It thus should not use table names, but entity class names (from Student instead of from student). In above code we using following line. Here “student” is not … Continue reading

Posted in java | Leave a comment

oracle jdbc connection tester

load OracleConnectionTester for tester and run command [cc]java -jar OracleJDBC.jar[/cc] Here is a screenshot of a run done previously.

Posted in java | Leave a comment

spring oracle,mysql bean datasource

[cc] [/cc]

Posted in java | Leave a comment

spring use oracle jdbc driver

1. Get Oracle JDBC Driver Two ways to get the Oracle jdbc driver : Oracle.com Install It To install your Oracle jdbc driver, issue following command : [cc]mvn install:install-file -Dfile={Path/to/your/ojdbc.jar} -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.0 -Dpackaging=jar[/cc] See following full example : D:\>mvn … Continue reading

Posted in java | Leave a comment