Firebird problems

NHibernate Forum

Firebird problems

Postby martyphee on Thu May 18, 2006 3:19 pm

I've tried every template for generatin nHiberate with Firebird and the results are the same.

[Serializable]
public sealed class BatchSour
{

#region Default ( Empty ) Class Constuctor
/// <summary>
/// default constructor
/// </summary>
public BatchSour()
{
}
#endregion // End of Default ( Empty ) Class Constuctor
}

The columns are missing and the class names are truncated or the columns are there, but the data types are Unknown.
martyphee
Lurker
 
Posts: 5
Joined: Thu May 18, 2006 2:59 pm

Postby mike.griffin on Thu May 18, 2006 3:28 pm

Do you have your language and DbTarget settings setup in the Default Settings dialog. We didn't write the NHibernate templates, it might be the authors never tested or targeted Firebird. The best thing to do is register on the template library and post a message in the NHibnerate archive pertaining to the templates you are using.
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN

Postby martyphee on Thu May 18, 2006 3:32 pm

Thanks for the reply. I do now, but still have problems. It's truncating table names to 10 characters.

BATCH_SOUR.cs

should be

BATCH_SOURCE.cs

Any table that is truncated doesn't have the properties (column) generated.
martyphee
Lurker
 
Posts: 5
Joined: Thu May 18, 2006 2:59 pm

Found the problem

Postby martyphee on Thu May 18, 2006 5:12 pm

martyphee
Lurker
 
Posts: 5
Joined: Thu May 18, 2006 2:59 pm

Postby mike.griffin on Thu May 18, 2006 5:20 pm

We''re working on our maintenance release, I will look at this, it's always been next to impossible for me to produce.
User avatar
mike.griffin
Site Admin
 
Posts: 3290
Joined: Sat Apr 03, 2004 6:10 am
Location: Indianapolis, IN

Postby martyphee on Thu May 18, 2006 5:48 pm

Just remove the charset. That's what I did and it works fine now.
martyphee
Lurker
 
Posts: 5
Joined: Thu May 18, 2006 2:59 pm


Return to NHibernate

Who is online

Users browsing this forum: No registered users and 1 guest