Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do we have something similar/equivalent to Jdbctemplate in Python?

I'm looking for Jdbtemplate equivalent in Python. Any one saw something similar somewhere ?

like image 365
sojin Avatar asked Sep 21 '11 04:09

sojin


People also ask

What is the advantage of NamedParameterJdbcTemplate?

NamedParameterJdbcTemplate class is a template class with a basic set of JDBC operations, allowing the use of named parameters rather than traditional '?' placeholders. This class delegates to a wrapped JdbcTemplate once the substitution from named parameters to JDBC style '?' placeholders is done at execution time.

Does JdbcTemplate use hibernate?

In our project, we are using both, JdbcTemplate and Hibernate . What you need to do is share DataSource between hibernate and jdbcTemplate . We can check performance for both according to operations, whichever is better, we use better one.

Which method is used to fetch data using Spring JDBC?

Data Access using JDBC Template Spring framework provides the following approaches for JDBC database access: JdbcTemplate. NamedParameterJdbcTemplate. SimpleJdbcTemplate.

What is JdbcTemplate used for?

JdbcTemplate class is the central class in the JDBC core package. It simplifies the use of JDBC and helps to avoid common errors. It executes core JDBC workflow, leaving the application code to provide SQL and extract results.


1 Answers

Found one, Spring Python DatabaseTemplate

like image 153
sojin Avatar answered Nov 15 '22 10:11

sojin