Questions tagged [habanero]

Habanero is an open-source enterprise application development framework for .NET, released under the GNU LGPL 3.

8 questions
4
votes
2 answers

CrossRef API Tracing DOI Citations

I'm using the habanero library to retrieve citation information given a DOI. I've hit a road block when trying to retrieve information about the works citing a given DOI. For instance, from habanero import counts c = counts.citation_count(doi =…
Castrona
  • 493
  • 1
  • 3
  • 17
2
votes
1 answer

Relationships in Habanero

I have been trying to write some generic code to create an xml package of Habanero business objects. The code can currently handle compostion relationships, but I need to add the Association relationships manually. Is there any way to add…
Andrew
  • 5,215
  • 1
  • 23
  • 42
2
votes
1 answer

How can I enforce a relationship to be compulsory when using SmoothHabanero

I am currently working on a project and have opted to use Habanero as my ORM. I am using SmoothHabanero to set up my business objects. I have a relationship to another class that is required to have at least one object instance to be valid. How…
Andrew
  • 5,215
  • 1
  • 23
  • 42
1
vote
1 answer

Trying to use Habanero Smooth to create two relationships to an XML defined class

I am trying to use Habanero Smooth to map two relationships to a class which is defined in my ClassDefs. Habanero Smooth Class: [AutoMapCompulsory] [AutoMapOneToMany(ReverseRelationshipName = "TestRules")] public virtual Determinand…
Sherwin
  • 13
  • 2
1
vote
1 answer

Loading A single business object via properties on a related business object

I am tring to Load a single Business object based on properties in its related object. In this case there is an ExtendedMaterial which has a single relationship to Material and to Plant. this method is on an AppServer class. When I run the attached…
GloryDev
  • 670
  • 5
  • 8
1
vote
3 answers

In Habanero how would I restrict the number of objects returned from a database

I need to restrict the number of customer bo's returned from the database as I am searching for a partial customer name and at the moment I get over 600 bo's when searching for 'a'. I would like to restrict this to 20. My code at the moment is …
Andrew
  • 5,215
  • 1
  • 23
  • 42
1
vote
1 answer

Getting wrong Unicode from Habenero API in Python

I am calling the Habanero API which is a front end to CrossRef. With this code: import json from habanero import cn x = cn.content_negotiation(ids="10.1051/0004-6361/201628812", format = "text", style =…
Peter Swords
  • 489
  • 6
  • 17
1
vote
1 answer

Enterprise application framework supporting DDD

I spent short time studing Habanero and i found it good approach for making Enterprise Application in a really short period of time. The pattern witch Habanero use is "Active Record" as it's developers say. My questions are: There any similar…
ghazyy
  • 649
  • 2
  • 7
  • 22