Best use case

15 views
Skip to first unread message

Solido

unread,
Sep 1, 2010, 4:56:54 AM9/1/10
to hawtdb
If i want to store a list of element is it better to store List<E> or
E[] ?
is there a difference in the size in the db for storing several
thousand or more arrays ?

Is this a good idea to store index<Long,Object> ?

Can i store very complexe object like :

Stored
- Date date
- String name
- Data[] datas
- Other Map etc


with Index<Long,Stored> ?

I'm still learning the best ways to use Hawdb,
Thank you ! i love this tool

Hiram Chirino

unread,
Sep 1, 2010, 8:39:46 AM9/1/10
to haw...@googlegroups.com
As long as what your putting in the index implements Serializable it
should work.

--
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://fusesource.com/

Reply all
Reply to author
Forward
0 new messages