cancel
Showing results for 
Search instead for 
Did you mean: 

Java Dictionary and Text

Former Member
0 Kudos

Hello,

I'm creating an application that requires me to store a large amount of text (around 5000 characters). The first part of the dilema is how I should persist the data in the java dictionary. Should I just create one large field? Or do I need to do something complex and split up each text into smaller lines and have some retrieval method? The next part of the question has to do with searching this text. What is the best way to make this text searchable? Any ideas are much appreciated.

Thanks,

Dustin Gronso

Accepted Solutions (0)

Answers (1)

Answers (1)

Opgenorth
Employee
Employee
0 Kudos

Hi Dustin,

if you want to have the text searchable, you have to split it up. For columns of type 'string' there are two possibilities in the Data Dictonary:

1. varchar: the length is limited to 1000 characters, but you can search with a WHERE condition

2. CLOB allows longer length, but no index or WHERE condition for this column is possible.

Hope this helps,

Juergen