2018 May 08 2:10 PM - edited 2024 Feb 04 5:43 AM
Hi,
my questions what would be the best practice to go for retrieving info from a SQL table (using MySQL) trough DH. In my case, I am trying to retrieve data from the table publication retry to further use the data it in my datahub extension.
Thanks, Uldis
Hi Uldis,
As this is a Spring application and the local.properties
has datasource.*.*
properties you could try:
@Autowired private DataSource dataSource;
And then just use it as a standard JDBC DataSource
with Connection
,PreparedStatement
and ResultSet
.
Regards,
Luke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
29 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.