Page 1 of 1

User already logged

PostPosted:Mon Apr 12, 2010 12:30 am
by mribeiro
Hi!

in my application I'll need to let users to upload documents. However, users aren't static, they are growing at every moment, so I can't really create all the accounts manually.
So, I have two ideas:
-->Create an account per user (creating it by java code, inserting the user info into the right tables)
-->Have one account exclusive for users, however, it would lead to some problems if two users decided to upload documents at the same time...

Could you help me here please?

Thanks in advance :)

Re: User already logged

PostPosted:Mon Apr 12, 2010 3:59 pm
by pavila
To create an user programatically you should insert user data into the "users" table.

Re: User already logged

PostPosted:Mon Apr 12, 2010 4:12 pm
by mribeiro
Is there any way I can connect to the HSQLDB?

Re: User already logged

PostPosted:Mon Apr 12, 2010 5:48 pm
by jllort
Take a look Browsing_embeded_database in wiki