| Author |
Message |
|
2006/06/02 00:12
|
|
|
bentata
Joined: 2006/06/02
Messages: 5
Offline
|
|
|
|
hy
please how can i configure orm code sample for visual studio .net
because i have probleme when i try to execute the project
when i may put hibernate.cfg.xml file
thanks for your help.
|
|
|
|
 |
| |
|
2006/06/02 00:32
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
|
 |
| |
|
2006/06/02 00:34
|
|
|
bentata
Joined: 2006/06/02
Messages: 5
Offline
|
|
|
|
thanks jick
i will lean it and answer you
thanks
|
|
|
|
 |
| |
|
2006/06/02 08:32
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
|
 |
| |
|
2006/06/02 23:53
|
|
|
bentata
Joined: 2006/06/02
Messages: 5
Offline
|
|
|
|
i have
*** at NHibernate.Property.BasicPropertyAccessor.GetSetter(Type type, String propertyName)
at NHibernate.Persister.AbstractEntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory
)
at NHibernate.Persister.EntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory)
at NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ISessionFactoryImplementor
factory)
at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, Settings settings)
at NHibernate.Cfg.Configuration.BuildSessionFactory()
at Orm.Util.ORMSessionFactory..ctor(Configuration cfg)
at Orm.Util.ThreadBaseSessionController..ctor(Configuration cfg)
PersistentException
at Orm.Util.ThreadBaseSessionController..ctor(Configuration cfg)
at Orm.PersistentManager..ctor(DotNetConnectionSetting connectionSetting, SessionType sessionType)
at DAL.produits.ConsoleApplication2PersistentManager..ctor() in E:\Documents and Settings\Omar1\Mes documents\V
isual Studio 2005\Projects\ConsoleApplication2\ConsoleApplication2\DAL\produits\ConsoleApplication2PersistentManag
er.cs:line 29
at DAL.produits.ConsoleApplication2PersistentManager.Instance() in E:\Documents and Settings\Omar1\Mes document
s\Visual Studio 2005\Projects\ConsoleApplication2\ConsoleApplication2\DAL\produits\ConsoleApplication2PersistentMa
nager.cs:line 39
at DAL.produits.Article.Save() in E:\Documents and Settings\Omar1\Mes documents\Visual Studio 2005\Projects\Con
soleApplication2\ConsoleApplication2\DAL\produits\Article.cs:line 30
|
|
|
|
 |
| |
|
2006/06/05 11:44
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Dear bentata,
Could you send me any sample project and code so that I can repeat the problem you have? Thank you.
Best Regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |
|
2006/11/14 08:34
|
|
|
justin
Joined: 2006/11/14
Messages: 1
Offline
|
|
|
|
hey i got 2 question if you keep on putting on the cheat instant titan can
u get 5 of them and how does this work
|
|
|
|
 |
| |
|
2006/11/14 08:40
|
|
|
Jick
Joined: 2005/04/29
Messages: 2880
Offline
|
|
|
|
Hi justin,
Sorry but I do not understand what you are asking. Could you clarify a little bit?
Best regards,
Jick
|
Visual Paradigm International Ltd.
http://www.visual-paradigm.com
Build Quality Applications Faster, Better and Cheaper |
|
|
|
 |
| |
|
2008/06/09 05:45
|
|
|
MisfitEq
Joined: 2008/06/09
Messages: 1
Offline
|
|
|
|
I am having a spot of bother with the sample code to create database schemas.
package ormsamples;
import org.orm.*;
public class CreateBobDatabaseSchema {
public static void main(String[] args) {
try {
ORMDatabaseInitiator.createSchema(com.sb.first.BobPersistentManager.instance());
com.sb.first.BobPersistentManager.instance().disposePersistentManager();
}
catch (Exception e) {
e.printStackTrace();
}
}
}
Errors with :
Exception in thread "main" java.lang.NoSuchMethodError: org.hibernate.dialect.Dialect.supportConstraintName()Z
at org.orm.ertodb.TableDDLGenerator.generateCreateDDL(TableDDLGenerator.java:18
at org.orm.ertodb.DDLGenerator.createSchema(DDLGenerator.java:143)
at org.orm.ORMDatabaseInitiator.createSchema(ORMDatabaseInitiator.java:32)
at ormsamples.CreateBobDatabaseSchema.main(CreateBobDatabaseSchema.java:11)
|
|
|
|
 |
| |
|
2008/06/10 12:05
|
|
|
LilianWong
Joined: 2008/02/22
Messages: 452
Offline
|
|
|
|
Hi MisfitEq,
Thanks for your post. Could you please attach the complete sample code for investigation? Thanks in advance!
Best regards,
Lilian Wong
|
|
|
|
 |
| |