I'm trying to create a database from existing csv files that are about 20,000 columns wide and 700 rows deep. In grails I would like the 20,000 column domain to belongTo another simpler domain (about 200 columns). But upon compilation I get:
java.lang.RuntimeException: Class file too large!
Which is understandable because it's way too much data. My question is, what is the best approach to handle this problem in grails? Should I simply break up the big table into separate domains? Look for a different table format?
I'm specifically worried about:
1) Search time, parsing search methods then delegating to sub domains.
2) Importing the data from the huge csv file into the domains.