I\'m traditionally a .NET developer and am spoiled for choice when it comes to ORMs. My flavor of choice is NHibernate but there are a bunch of choices out there.
I have a scenario that i want to add some standard properties to my entities. Meaning that i will have e.g. 1 int and 2 string properties applied to all relevant entities. I have over 100 mapping file
Has anyone successfully mapped a numeric array in PostgreSQL to a numeric array in Java via Hibernate?
I have following model, @Entity @Table(name = \"user\") @PrimaryKeyJoinColumn(name=\"user_id\") @SecondaryTables({
I have a query that works in plain SQL but is not working on JPA and can\'t figure out why. As you can guess from the title I have a clue but I don\'t know how to \"fix\" it.
We are using Weblogoic9.2.3 & DB is Oracle10.2.0.3. How can we access Hib开发者_JS百科ernate SessionFactory using JNDI?I\'d warmly suggest to read the chapter 3.8. J2EE Application Server integrat
I\'ve inherited a web application which strictly uses stored procedures to do its job. I like the approach of making it impossible for frontend developers to break the database, but I\'ve been tired o
I\'ve got a homemade ORM system that currently only supports auto-incrementing primary keys. This has worked well, but the time has come to support composite primary keys. I\'m aware of the holy war b
I need to use a sequence to get a unique value. The production code uses postgres but I would like to access it via Hibernate so that I can test this with H开发者_如何学JAVASQLDB.
One challenge using hibernate is that manged classes have to have a default constructor. The problem is that there is no explicit point where the class is initialized and invariants can be checked.