Skip to content

WriteJDBC converted to use reflection

Compare
Choose a tag to compare
@jpaulm jpaulm released this 25 Oct 18:41
· 590 commits to master since this release
8fd366c

WriteJDBC converted to use reflection

ReadJDBC and WriteJDBC have now been converted to load the MySQL jar file, and then use reflection: This has the effect of dramatically reducing the JavaFBP jar file size... from around 11 Mb (includes MySQL and ProtoBuf) to about .5 Mb (without them). As one of the commenters said on StackOverflow - https://stackoverflow.com/questions/64434180/i-want-to-use-mysql-using-reflection-but-have-had-to-hard-code-the-mysql-jar-fi - there are some maintainability concerns with this solution, so I will continue to investigate other possible solutions.