change table without updating llblgen project

Posts   
 
    
mdissel
User
Posts: 92
Joined: 16-Sep-2003
# Posted on: 05-Jun-2008 14:47:30   

Hello

Will everything work as before when you add a new column in the table in the database without refreshing / rebuilding the llblgen project? even in you add a column in the begin and/or middle of the table?..

Thanks Marco

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 05-Jun-2008 15:17:10   

Yes, I think LLBLGen Pro won't be affected.

mdissel
User
Posts: 92
Joined: 16-Sep-2003
# Posted on: 05-Jun-2008 15:21:29   

Walaa wrote:

Yes, I think LLBLGen Pro won't be affected.

I thinkconfused I was hoping for a yes or no answer ..

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 05-Jun-2008 15:50:29   

Then it's a Yes. simple_smile

LLBLGen Pro uses field names for its database transactions, this would leave you on the safe side.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 05-Jun-2008 18:59:18   

It will work as Walaa said, if I were you I wouldn't make this a habit wink

I.o.w.: it's best to keep things in sync. For example for inserts/updates it's better if the field is known.

Frans Bouma | Lead developer LLBLGen Pro
mdissel
User
Posts: 92
Joined: 16-Sep-2003
# Posted on: 05-Jun-2008 20:11:29   

Otis wrote:

It will work as Walaa said, if I were you I wouldn't make this a habit wink

I.o.w.: it's best to keep things in sync. For example for inserts/updates it's better if the field is known.

Of course, but this is a external database that is out of my control.

arschr
User
Posts: 893
Joined: 14-Dec-2003
# Posted on: 05-Jun-2008 21:29:45   

If the table has a column that is not nullable and does not have a default specified, I think, you will have problems on inserts.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 06-Jun-2008 09:39:31   

If the table has a column that is not nullable and does not have a default specified, I think, you will have problems on inserts.

That's true.