Share this post

Link to post

Share on other sites

[quote name='psyko_x' timestamp='1353439556' post='595337120'] use spring JDBC. there are many tutorials out there and it's easy to use here's the official documentation http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/jdbc.html [/quote]

could you give me a simply walk through on install this on linux xD ? I am doing as it says but when i tried to compile it gave me seval thousand errors all to do with the new package?

Share this post

Link to post

Share on other sites

[quote name='SPEhosting' timestamp='1353452173' post='595337650']
could you give me a simply walk through on install this on linux xD ? I am doing as it says but when i tried to compile it gave me seval thousand errors all to do with the new package?
[/quote]
You may want to look into using maven when having to pull in libraries like Spring with multiple dependencies. Here's the dependencies though (in the "This artifact depends on ..." section): http://mvnrepository.com/artifact/org.springframework/spring-jdbc/3.1.2.RELEASE

Even simpler if you don't want to pull in spring to your project is just get the connector/j jar and use Java's built-in JDBC stuff. Spring's straight JDBC stuff doesn't buy you a whole lot except providing some mapping stuff to turn a ResultSet into an object saving you some boilerplate code.