Use the Jira-Link to track it. When finished, someone needs to update
the re-linq assembly in NH.
HTH, Stefan
On 1 Dez., 22:03, Meir meir...@gmail.com wrote:
Is there an update on this? I running into the same problem with the
latest NH 3.0-CR1.
Thanks!
Meir
On Nov 11, 5:39 am, Stefan
Hi Andy - if you want to avoid hitting your Repository and indirectly
your session and database, then it hardly seems fair to ask the
Repository for the Order. ;-)
Why not ask the Aggregate Root for the Order instead?
Since you cannot be sure that an Id is generated for the Order, you
probably
Hello,
Is there any way to make one-many bag association from an entity to a
subclass (with join)?
Just an isolated example:
class name=Person
!-- blah blah --
discriminator column=PersonType /
/class
subclass name=Employee discriminator-value=Employee
!-- blah blah --
join table=Emplooyee
key
السلام علیکم ورحمۃ اللہ وبرکاتہ
اہل حق کا عظیم الشان عالمی سالانہ تبلیغی اجتماع 2 دسمبر جمعرات بعد نماز عصر
سے رائے ونڈ میں شروع ہورہا ہے۔ اجتماع میں ملک اوربیرون ملک سے لاکھوں کی
تعداد میں علماء، عوام الناس، اور ہر شعبہ زندگی سےتعلق رکھنے والے لوگ شرکت
کریں گے اور اپنے قلوب کو نور ایمانی سے منور
sorry for delay this is mapping :
class name=Parent table=[dbo].[Parent] lazy=true
id name=Id column=[Id] type=Int32
joined-subclass name=ChildB2 table=[dbo].[ChildB2] lazy=true
key
column name=[Id] /
/key
property name=Text column=[Text] type=String
And oh, just to point out that I can perfectly call the following query with
no problem:
session.QueryEmployee.Where(x= x.Company == company);
It works fine.
But I cant find a way to associate that with the Company entity. (I.e. for
Company.Employees bag to invoke that same query).
On Thu, Dec
Hello, everyone
I'm learning NHibernate and tried to test model with SQLite in memory.
However, I found problem with many-to-one relation.
For instance, Customer can have many orders and order has one customer
reference.
In my test I create customer and attach order, when loading customer
back I
are you using subclass+join for some special reasons ?
On Thu, Dec 2, 2010 at 6:45 AM, Hendry Luk hendrym...@gmail.com wrote:
Hello,
Is there any way to make one-many bag association from an entity to a
subclass (with join)?
Just an isolated example:
class name=Person
!-- blah blah --
Hi all.
The reference manual is on-line.
http://nhforge.org/doc/nh/en/index.html
--
Fabio Maulo
--
You received this message because you are subscribed to the Google Groups
nhusers group.
To post to this group, send email to nhus...@googlegroups.com.
To unsubscribe from this group, send email
Hello community,
I need to populate entity from DB view (non-insertable) and make all
entity updates to updatable DB table.
1. Mapping entity to table and writing custom load SQL from view is
not an option since in some cases NHibernate still tries to select
from table name (when joining this
Hello
I am playing with NH 3.0 b2
I have entity with string PK Code
Fluent mapping is used
Id(x =
x.Code).Column(CODE).Length(5).Not.Nullable().Unique().GeneratedBy.Assigned();
field code has nchar(5) type in DB
Having such condition it will be next
var lst = (from x in
hi there.
i have 4 tables :
**1 - tbl_cars**
id (PK)
car_name
model
year
**2 - tbl_carOwner**
id (PK)
carId (FK - reference to tbl_cars)
ownerId (FK - reference to tbl_ownerPersnoal or tbl_ownerCompany
or tbl_ownerGov)
ownerType (to make a differentiation about
Hi all,
I have tried something I thought was fixed on this version, it is the
capability to work with TransactionScope and NH transactions with an
Oracle 11G DB.
This is the test I have done:
[TestMethod]
public void TransactionScope_Test()
{
bool
A stack trace without the exception message is more than enough.
Thanks.
On Thu, Dec 2, 2010 at 12:54 PM, rodri_ogri rodri.o...@gmail.com wrote:
Hi all,
I have tried something I thought was fixed on this version, it is the
capability to work with TransactionScope and NH transactions with an
any
On Thu, Dec 2, 2010 at 12:34 PM, a.fattah abfi1...@gmail.com wrote:
hi there.
i have 4 tables :
**1 - tbl_cars**
id (PK)
car_name
model
year
**2 - tbl_carOwner**
id (PK)
carId (FK - reference to tbl_cars)
ownerId (FK - reference to tbl_ownerPersnoal or
a bug, but probably it is in your DB or in your mapping if you are
generating the DB through NH.
On Thu, Dec 2, 2010 at 1:12 PM, Alexander Kot alexander@gmail.comwrote:
Hello
I am playing with NH 3.0 b2
I have entity with string PK Code
Fluent mapping is used
Id(x =
Cool. Thanks for making this available.
On Thu, Dec 2, 2010 at 7:55 AM, Fabio Maulo fabioma...@gmail.com wrote:
Hi all.
The reference manual is on-line.
http://nhforge.org/doc/nh/en/index.html
--
Fabio Maulo
--
You received this message because you are subscribed to the Google Groups
The real scope is to have some review and new issue tickets in our JIRA
where you find something to change/improve.
On Thu, Dec 2, 2010 at 1:36 PM, Aaron Boxer boxe...@gmail.com wrote:
Cool. Thanks for making this available.
On Thu, Dec 2, 2010 at 7:55 AM, Fabio Maulo fabioma...@gmail.com
database schema is primary (I do not generate it)
it is legacy DB
CREATE TABLE BANKS (
BANK_CODEnchar(8) NOT NULL,
CONSTRAINT PK_BANKS
PRIMARY KEY NONCLUSTERED (BANK_CODE ASC)
)
go
I have created
nchar === the cause
the value in your classes XX is different than the value stored XX
On Thu, Dec 2, 2010 at 1:47 PM, Alexander Kot alexander@gmail.comwrote:
database schema is primary (I do not generate it)
it is legacy DB
CREATE TABLE BANKS (
BANK_CODEnchar(8)
nchar === the cause
that cannot be changed (legacy db)
Is there way how to map such PK?
On Dec 2, 7:00 pm, Fabio Maulo fabioma...@gmail.com wrote:
nchar === the cause
the value in your classes XX is different than the value stored XX
On Thu, Dec 2, 2010 at 1:47 PM, Alexander Kot
type=AnsiString
On Thu, Dec 2, 2010 at 2:14 PM, Alexander Kot alexander@gmail.comwrote:
nchar === the cause
that cannot be changed (legacy db)
Is there way how to map such PK?
On Dec 2, 7:00 pm, Fabio Maulo fabioma...@gmail.com wrote:
nchar === the cause
the value in your classes
and/or
http://code.google.com/p/unhaddins/source/browse/uNhAddIns/uNhAddIns/UserTypes/TrimString.cs
On Thu, Dec 2, 2010 at 2:18 PM, Fabio Maulo fabioma...@gmail.com wrote:
type=AnsiString
On Thu, Dec 2, 2010 at 2:14 PM, Alexander Kot alexander@gmail.comwrote:
nchar === the cause
that
Thank you
On Dec 2, 7:20 pm, Fabio Maulo fabioma...@gmail.com wrote:
and/orhttp://code.google.com/p/unhaddins/source/browse/uNhAddIns/uNhAddIns/...
On Thu, Dec 2, 2010 at 2:18 PM, Fabio Maulo fabioma...@gmail.com wrote:
type=AnsiString
On Thu, Dec 2, 2010 at 2:14 PM, Alexander Kot
I put all the info necessary to recreate the issue in the bug report:
http://216.121.112.228/browse/NH-2415
-- Brian
On Nov 29, 2:26 pm, Fabio Maulo fabioma...@gmail.com wrote:
because queries are generated depending on the mappings, would be very
useful if you can attach mappings and
I forgot to paste the message :P,
[NHibernate.TransactionException]{Begin failed with SQL exception}
The connection is already part of a local or distributed transaction
Is it a Oracle related issue?
best regards
On 2 dic, 12:31, Fabio Maulo fabioma...@gmail.com wrote:
A stack trace without
Yes, in this case, because Employee has association to Company, and also
other properties. Is there any other way to achieve that other than
subclassjoin?
On Thu, Dec 2, 2010 at 11:32 PM, Fabio Maulo fabioma...@gmail.com wrote:
are you using subclass+join for some special reasons ?
On Thu,
Wondering if someone can help me. Running the unit test under Gallio
3.2 with NH3.0.0.GA under VS2005. I get the following:
NHibernate.HibernateException: Unable to locate persister:
DataTransfer.Customer
TargetSite: Void OnLoad(NHibernate.Event.LoadEvent,
NHibernate.Event.LoadType)
HelpLink:
Customer.hbn.xml = Customer.hbm.xml ?
Trần Phước Hùng
(đã ký)
2010/12/3 CarbonMan p_hem...@hotmail.com
Wondering if someone can help me. Running the unit test under Gallio
3.2 with NH3.0.0.GA under VS2005. I get the following:
NHibernate.HibernateException: Unable to locate persister:
29 matches
Mail list logo