Questions tagged [freeze-thaw]

7 questions
11
votes
6 answers

Hibernate like layer for C++

Using a DB with C++ is a real mess and it was refreshing when I moved to Java to be able to use a unified system to abstract the whole layer away (aka Hibernate). There are a couple of C++ abstract layers for DB's out there but they are usually…
Martin York
  • 257,169
  • 86
  • 333
  • 562
4
votes
2 answers

freezing haskell STrefs

I would like to implement a Doubly Connected Edge List data structure for use in Haskell. This data structure is used to manage the topology of an arrangement of lines in a plane, and contains structures for faces, edges, and vertices. It seems to…
mdgeorge
  • 350
  • 2
  • 11
3
votes
1 answer

wxPython method Freeze turns widget black

Centos 7.4, Python 3.6.8, wxPython 4.1.0 import wx app = wx.App() myFrame = wx.Frame(None, title="") myPanel = wx.Panel(myFrame) myStaticText = wx.StaticText(myPanel, label="Hello World") mySizer = wx.BoxSizer(wx.VERTICAL) mySizer.Add(myStaticText,…
Kate
  • 31
  • 1
2
votes
1 answer

Perl's thaw() implementation in Java

I have two applications running concurrently: one in Perl, and one in Java. The Perl app relies on using nfreeze to store objects in the database. If my Java app has access to that database, how can I "thaw" that object inside of the Java…
1
vote
1 answer

Call to thaw throwing segmentation fault

I am using the FreezeThaw module to send serialized objects from a client to a server. It is working fine for array references with a limited number of entries, but when I do the same for a bigger array of blessed objects the server is stopping…
1
vote
1 answer

Problem storing a hash in DB using Storable::nfreeze in Perl

I want to insert a hash in the db using Storable::nfreeze but the data is not inserted properly. My code is as follows: %rec=(); $rec{'name'} = 'my name'; $rec{'address'} = 'my address'; my $order1 = new…
Sam
  • 47
  • 7
0
votes
1 answer

Perl Expect with FreezeThaw

I am converting an interactive command line tool to a web application, with the tool as the backend. I take in user commands (using AJAX) and call a perl CGI script that extracts the command. I then use expect to send the command to the process,…
krish7919
  • 892
  • 2
  • 13
  • 30